AzureMonitor: Explain custom and metric namespace properties (#55048)

pull/55164/head^2
Adam Simpson 3 years ago committed by GitHub
parent 5c40b053d0
commit 65bdee3a90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      public/app/plugins/datasource/grafana-azure-monitor-datasource/components/ResourcePicker/Advanced.tsx
  2. 6
      public/app/plugins/datasource/grafana-azure-monitor-datasource/types/query.ts

@ -86,7 +86,7 @@ const Advanced = ({ resource, onChange }: ResourcePickerProps<string | AzureMetr
/>
</InlineField>
<InlineField
label="Metric Namespace"
label="Namespace"
grow
transparent
htmlFor="input-advanced-resource-picker-metricNamespace"

@ -45,8 +45,12 @@ export interface AzureMonitorQuery extends DataQuery {
export interface AzureMetricQuery {
resourceGroup?: string;
resourceName?: string;
/** Resource type */
/** metricNamespace is used as the resource type (or resource namespace).
* It's usually equal to the target metric namespace.
* Kept the name of the variable as metricNamespace to avoid backward incompatibility issues.
*/
metricNamespace?: string;
/** used as the value for the metricNamespace param when different from the resource namespace */
customNamespace?: string;
metricName?: string;
timeGrain?: string;

Loading…
Cancel
Save