mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
AzureMonitor: Explain custom and metric namespace properties (#55048)
This commit is contained in:
parent
5c40b053d0
commit
65bdee3a90
@ -86,7 +86,7 @@ const Advanced = ({ resource, onChange }: ResourcePickerProps<string | AzureMetr
|
|||||||
/>
|
/>
|
||||||
</InlineField>
|
</InlineField>
|
||||||
<InlineField
|
<InlineField
|
||||||
label="Metric Namespace"
|
label="Namespace"
|
||||||
grow
|
grow
|
||||||
transparent
|
transparent
|
||||||
htmlFor="input-advanced-resource-picker-metricNamespace"
|
htmlFor="input-advanced-resource-picker-metricNamespace"
|
||||||
|
@ -45,8 +45,12 @@ export interface AzureMonitorQuery extends DataQuery {
|
|||||||
export interface AzureMetricQuery {
|
export interface AzureMetricQuery {
|
||||||
resourceGroup?: string;
|
resourceGroup?: string;
|
||||||
resourceName?: 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;
|
metricNamespace?: string;
|
||||||
|
/** used as the value for the metricNamespace param when different from the resource namespace */
|
||||||
customNamespace?: string;
|
customNamespace?: string;
|
||||||
metricName?: string;
|
metricName?: string;
|
||||||
timeGrain?: string;
|
timeGrain?: string;
|
||||||
|
Loading…
Reference in New Issue
Block a user