查看clickhouse面板:

grafana table颜色适配_haha

is_loca的值为0,grafana显示为local或者reomote功能,如何在自定义的grafna面板实现


grafana 显示,仿造ck dashboard(cluster analysis)的集群概览在自己的dashboard上做pannel
做了value mapinng
相关sql:

is_local会显示颜色,查看右边ovverrides
filed with name 
is local 

value mapping      
0->remote->红色
1-is_local ->蓝色

cell display mode 
->color background

有的列全部显示绿色  

filed with name 
errors count

cell display mode 
->color background

处理了2列,最后效果

grafana table颜色适配_haha_02