What Grafana version and what operating system are you using?
Grafana Version: 8.1.2
What are you trying to achieve?
I am trying to create a singlestat panel using this prometheus query:
up{job="$job", instance=~"$instances"}
I want the singlestat panel to display the label “alias”
The color should be mapped to the result of the query (“Value”), according to the thresholds.
How are you trying to achieve it?
-
Created the query
-
Set the panel to dislpay the alias:
-
Set the tresholds
-
I tried using overrides, but it looks like one label can only affect the color of itself:
Any idea how this could be done?
Thank you for your help