RobustPerception / azure_metrics_exporter

Azure metrics exporter for Prometheus
Apache License 2.0
133 stars 70 forks source link

Add Support To Provide Dimensions #93

Open neerajmangal opened 4 years ago

neerajmangal commented 4 years ago
gregoryfischer commented 3 years ago

https://github.com/RobustPerception/azure_metrics_exporter/issues/85#issuecomment-760504093

vipinvkmenon commented 3 years ago

Looking forward to seeing this PR merged. The PR is rather important as it seems that unless dimensions are explicitly mentioned, we would just get up a rolled-up aggregate.

brian-brazil commented 3 years ago

Is there a way to get all dimensions automatically without requiring user configuration?

andreibogdan commented 3 years ago

This PR will be merged? I am waiting for dimensions feature to be implemented.

nodunnock commented 3 years ago

I was looking for this. I tried this branch and it worked almost as expected except I only got one dimension value in my output. Despite a filter like so: dimensions: "EntityName eq '*'"

eugenecherepanov commented 2 years ago

Hi all, will we have any chance for merging this PR?

kebagb commented 1 year ago

Hello, Has this been implemented?

I have a need to use dimensions to identify any BackupHealthEvents in RecoveryServiceVaults where the HealthStatus is not Healthy.

We've done something similar on our old monitoring platform using a python script to call the Azure API with the relevant URL and parameters, but now we have a need to do the same thing via Prometheus and would like to do this using AzureMetricsExporter.

Based on the comment above, I assume this would be done using config like : dimensions: "HealthStatus ne 'Healthy'"

I'm not entirely sure where this would fit into the rest of the configuration for that particular metric/resource.

Thanks

Kevin.