You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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
Hello everyone,
I have an issue when executing a query that uses two prometheus metrics in grafana for an azure eventhub resource:
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!
The text was updated successfully, but these errors were encountered: