[ templating ] [ Query type ] text : value pairs dismissed with duplicate value #55154
Labels
area/dashboard/templating
prio/awaiting-more-evidence
Lowest priority. Possibly useful, but not yet enough interest in it.
prio/future
Used by the dashboards squad to prioritise their backlog
team/grafana-dashboards
Dashboards squad
type/bug
I am trying to use the Query Type variable with a regex
.*key=\"(?<text>[^\"]+)\"} (?<value>[^\\ ]+).*
The result of the query is unique keys with multiple keys having same value.
However, with regex, only the entries that have unique values is shown, rest all are dismissed.
For example:
Entries without applying regex:
Entries with regex:
Expected behaviour: Show all unique keys no matter what the values are
Actual behaviour: Keys are dropped with same values
This can be reproduced with any query that produces entries with unique key names, but with same values.
Based on this #40414, there was similar issue in Custom type variable, which was fixed in v8.2.2. However it still does not work for Query type.
Grafana v 8.3.4
Datasource : Prometheus
Any help is greatly appreciated !
Thanks
The text was updated successfully, but these errors were encountered: