Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Grafana Singlestat panel color threshold for 0 and 1 value

Tags:

grafana

I have a singlestat panel on my Grafana dashboard that shows wether a system is UP or DOWN. Its source is 0 and 1 and I simply used the value mappings for that.

Now I want "UP" to appear in green and "DOWN" to appear in red but I have problems defining the threshold.

I tried 0:1, 0.1:0.9, and 0,1:0,9 but none of that works.

like image 443
Phillipp Avatar asked Mar 28 '18 10:03

Phillipp


1 Answers

Found it out: It's 0.1,1 with inverted colors.

like image 150
Phillipp Avatar answered Oct 02 '22 16:10

Phillipp