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

Different letter case for the same dimension when using prometheus metrics for eventhub #90

Open
BazoMo opened this issue May 16, 2024 · 0 comments

Comments

@BazoMo
Copy link

BazoMo commented May 16, 2024

Hello everyone,

I have an issue when executing a query that uses two prometheus metrics in grafana for an azure eventhub resource:

  • azure_metrics_eventhub_namespace_entityname_outgoingmessages_total_count
  • azure_metrics_eventhub_namespace_entityname_incomingmessages_total_count

The first metric only works with the dimension written in lowercase, while the second only works with uppercase. When combining the two metrics in one query:

azure_metrics_eventhub_namespace_entityname_outgoingmessages_total_count{resourceID=~"...", dimension=" <dimension in lowercase> "} / azure_metrics_eventhub_namespace_entityname_incomingmessages_total_count

then the query doesn't work with either cases. It also doesn't work when specifying different dimension forms for both metrics:

azure_metrics_eventhub_namespace_entityname_outgoingmessages_total_count{resourceID=~"...", dimension=" <dimension in lowercase> "} / azure_metrics_eventhub_namespace_entityname_incomingmessages_total_count{resourceID=~"...", dimension=" <dimension in uppercase> "}

Noticable also that this issue exists only on PRD-EU environment but not on STG environment. On STG the dimension appears only in lowercase for both metrics.

Thank you in advance!

@BazoMo BazoMo changed the title Different letter case for the same dimension when using prometheus metrics for eventhub-ingress Different letter case for the same dimension when using prometheus metrics for eventhub May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant