Open nikitawasthi20 opened 6 months ago
Thanks for the feature request. As you pointed out the upstream library may need some work before we are able to full incorporate this in.
@powersj Thanks for getting back. Do you want me to raise a request with the upstream library?
Please do!
Will this feature be available soon?"
Use Case
The current Azure monitor telegraf input plugin supports providing resource_id, metrics and aggregation. Azure also provides the option to filter these metrics based on dimensions . An example use case could be where the resource is a database server and Azure provides visibility into database level metrics through dimensions but we are unable to get the database level granularity due to lack of dimension support.
Expected behavior
Once the feature is implemented, we should be able to specify the dimension name (eg being "DatabaseName") and the value of the database name and only get metrics for that particular database through the input plugin.
Actual behavior
Currently thee is no dimension support so we cannot get dimension level metrics.
Additional info
It looks like we are using https://github.com/logzio/azure-monitor-metrics-receiver/blob/master/azure_monitor_metrics_receiver.go for the metric receiver code and we would need to change that to include dimension as well before we are able to call this from the plugin code.