@@ -40,7 +40,7 @@ function(this)
4040 unit: 'percent' ,
4141 sources: {
4242 azuremonitor: {
43- expr: 'avg by (job, resourceGroup, subscriptionName, resourceName, dimensionClientCountry, dimensionClientRegion, dimension_clientcountry, dimension_clientregion ) (azure_microsoft_cdn_profiles_percentage4xx_average_percent{%(queriesSelector)s}) + avg by (job, resourceGroup, subscriptionName, resourceName, dimensionClientCountry, dimensionClientRegion, dimension_clientcountry, dimension_clientregion ) (azure_microsoft_cdn_profiles_percentage5xx_average_percent{%(queriesSelector)s})' ,
43+ expr: 'avg by (job, resourceGroup, subscriptionName, resourceName, dimensionClientCountry, dimensionClientRegion, dimension_ClientCountry, dimension_ClientRegion ) (azure_microsoft_cdn_profiles_percentage4xx_average_percent{%(queriesSelector)s}) + avg by (job, resourceGroup, subscriptionName, resourceName, dimensionClientCountry, dimensionClientRegion, dimension_ClientCountry, dimension_ClientRegion ) (azure_microsoft_cdn_profiles_percentage5xx_average_percent{%(queriesSelector)s})' ,
4444 legendCustomTemplate: '' ,
4545 exprWrappers: [['topk(5,' , ')' ]],
4646 },
@@ -77,13 +77,13 @@ function(this)
7777 sources: {
7878 azuremonitor: {
7979 expr: 'azure_microsoft_cdn_profiles_requestcount_total_count{dimensionClientCountry!="",%(queriesSelector)s}' ,
80- legendCustomTemplate: '{{dimensionClientCountry}} {{dimension_clientcountry }}' ,
80+ legendCustomTemplate: '{{dimensionClientCountry}} {{dimension_ClientCountry }}' ,
8181 aggKeepLabels: ['dimensionClientCountry' ],
8282 },
8383 azuremonitor_agentless: {
84- expr: 'azure_microsoft_cdn_profiles_requestcount_total_count{dimension_clientcountry !="",%(queriesSelector)s}' ,
85- legendCustomTemplate: '{{dimensionClientCountry}} {{dimension_clientcountry }}' ,
86- aggKeepLabels: ['dimension_clientcountry ' ],
84+ expr: 'azure_microsoft_cdn_profiles_requestcount_total_count{dimension_ClientCountry !="",%(queriesSelector)s}' ,
85+ legendCustomTemplate: '{{dimensionClientCountry}} {{dimension_ClientCountry }}' ,
86+ aggKeepLabels: ['dimension_ClientCountry ' ],
8787 },
8888 },
8989 },
@@ -97,13 +97,13 @@ function(this)
9797 sources: {
9898 azuremonitor: {
9999 expr: 'azure_microsoft_cdn_profiles_requestcount_total_count{dimensionHttpStatusGroup!="",%(queriesSelector)s}' ,
100- legendCustomTemplate: '{{dimensionHttpStatusGroup}} {{dimension_httpstatusgroup }}' ,
100+ legendCustomTemplate: '{{dimensionHttpStatusGroup}} {{dimension_HttpStatusGroup }}' ,
101101 aggKeepLabels: ['dimensionHttpStatusGroup' ],
102102 },
103103 azuremonitor_agentless: {
104- expr: 'azure_microsoft_cdn_profiles_requestcount_total_count{dimension_httpstatusgroup !="",%(queriesSelector)s}' ,
105- legendCustomTemplate: '{{dimensionHttpStatusGroup}} {{dimension_httpstatusgroup }}' ,
106- aggKeepLabels: ['dimension_httpstatusgroup ' ],
104+ expr: 'azure_microsoft_cdn_profiles_requestcount_total_count{dimension_HttpStatusGroup !="",%(queriesSelector)s}' ,
105+ legendCustomTemplate: '{{dimensionHttpStatusGroup}} {{dimension_HttpStatusGroup }}' ,
106+ aggKeepLabels: ['dimension_HttpStatusGroup ' ],
107107 },
108108 },
109109 },
0 commit comments