Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance Azure Monitor input plugin to allow collecting dimension specific metrics #15024

Open
nikitawasthi20 opened this issue Mar 19, 2024 · 4 comments
Labels
area/azure Azure plugins including eventhub_consumer, azure_storage_queue, azure_monitor feature request Requests for new plugin and for new features to existing plugins upstream bug or issues that rely on dependency fixes

Comments

@nikitawasthi20
Copy link

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.

@nikitawasthi20 nikitawasthi20 added the feature request Requests for new plugin and for new features to existing plugins label Mar 19, 2024
@nikitawasthi20 nikitawasthi20 changed the title Enhance Azure Monitor input plugin to take allow collecting dimension specific metrics Enhance Azure Monitor input plugin to allow collecting dimension specific metrics Mar 19, 2024
@powersj powersj added the upstream bug or issues that rely on dependency fixes label Mar 19, 2024
@powersj
Copy link
Contributor

powersj commented Mar 19, 2024

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.

@nikitawasthi20
Copy link
Author

@powersj Thanks for getting back. Do you want me to raise a request with the upstream library?

@powersj
Copy link
Contributor

powersj commented Mar 19, 2024

Please do!

@powersj powersj added the area/azure Azure plugins including eventhub_consumer, azure_storage_queue, azure_monitor label Mar 21, 2024
@smailslimani
Copy link

Will this feature be available soon?"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/azure Azure plugins including eventhub_consumer, azure_storage_queue, azure_monitor feature request Requests for new plugin and for new features to existing plugins upstream bug or issues that rely on dependency fixes
Projects
None yet
Development

No branches or pull requests

3 participants