Grafana Singlestat panel color threshold for 0 and 1 value

浪子不回头ぞ 提交于 2020-04-11 05:55:12

问题


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.


回答1:


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



来源:https://stackoverflow.com/questions/49532018/grafana-singlestat-panel-color-threshold-for-0-and-1-value

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!