[Bug]: [Dashboard] USE Method / Node(Windows) wrong queries for multiple choices variable (instance) #980
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
keepalive
Use to prevent automatic closing
What happened?
Queries expect the single value for instance varaible:
For example query from the CPU Utilisation panel:
node:windows_node_cpu_utilisation:avg1m{cluster="$cluster", instance="$instance"}
Grafana automatically constructs the value1|...|valueN regexp for the $instance variable so the query should look like this:
node:windows_node_cpu_utilisation:avg1m{cluster="$cluster", instance=~"$instance"}
=~: Select labels that regex-match the provided string
Please provide any helpful snippets.
No response
What parts of the codebase are affected?
Dashboards
I agree to the following terms:
The text was updated successfully, but these errors were encountered: