-
Notifications
You must be signed in to change notification settings - Fork 35
Description
Hello @mblaschke ,
Is there a way to get all the dimensions of the azure metrics?
Let's take the example of load balancer.

https://learn.microsoft.com/en-ca/azure/load-balancer/monitor-load-balancer-reference
My scrape config is given below ;
`- job_name: webdevops-azure-metrics-loadbalancer
scrape_interval: 1m
metrics_path: /probe/metrics/list
params:
name: ["azure_metric_loadbalancers"]
template: ["{name}{metric}{aggregation}_{unit}"]
subscription:
- 'xxxxxxxxxx'
resourceType: ["Microsoft.Network/loadBalancers"]
metric:
- AllocatedSnatPorts
- ByteCount
- DipAvailability
- PacketCount
- SnatConnectionCount
- SYNCount
- UsedSnatPorts
- VipAvailability
interval: ["PT15M"]
timespan: ["PT15M"]
aggregation:
- average
- total
static_configs:
- targets: ["xxxxxxx:8080"]`
Scraped Metric for SnatConnectionCount ;
azure_metric_loadbalancers_snatconnectioncount_average_count{instance="***", interval="PT15M", job="webdevops-azure-metrics-loadbalancer", resourceGroup="****", resourceID="**", resourceName="***", subscriptionID="***", subscriptionName="***", timespan="PT15M"}
In the above metric, you can see that the FrontendIPAddress, BackendIPAddress, and ConnectionState fields are missing !!!
I have tried using the metricFilter parameter in the scrape job, and I got an additional field in the metric->dimension with value as IP address.
metricFilter: ["FrontendIPAddress eq '*'"]
I tried adding all the dimensions in the metricFilter parameter, and I got the same result as above.
This issue is similar to #58
Is there a way to get all the dimensions in the single configuration?
Thanks in advance!!!