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.
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!