-
Bug
-
Resolution: Unresolved
-
Undefined
-
OpenShift 4.13
-
None
-
None
A table in a dashboard relies on the order of the metric labels to merge results
How to Reproduce:
Create a dashboard with a table including this query:
label_replace(sort_desc(sum(sum_over_time(ALERTS{alertstate="firing"}[24h])) by ( alertstate, alertname)), "aaa", "$1", "alertstate", "(.+)")
A single row will be displayed as the query is simulating that the first label `aaa` has a single value.
Expected result:
The table should not rely on a single metric label to merge results but consider all the labels so the expected rows are displayed.