在 Grafana 中制作模板:
Name - Instance
Query - label_values(instance)
for recive all instance.
And have reqest example:
sum(machine_cpu_cores) by (instance)
如果 sum(machine_cpu_cores) by (instance=~"$Instance") 我有错误。怎么做对?谢谢。
在 Grafana 中制作模板:
Name - Instance
Query - label_values(instance)
for recive all instance.
And have reqest example:
sum(machine_cpu_cores) by (instance)
如果 sum(machine_cpu_cores) by (instance=~"$Instance") 我有错误。怎么做对?谢谢。