Grafana仪表板不显示窗格名称

时间:2019-10-17 14:05:42

标签: grafana prometheus

我已经在Kubernetes上部署了grafana。我已将Prometheus设置为数据源。除仪表板外,其他一切正常。不会显示Pod名称,而是显示名称pod_name。我希望它可以显示吊舱的实际名称。请参阅附件的屏幕截图。

以下是查询: sum (rate (container_cpu_usage_seconds_total{image!="",name=~"^k8s_.*",kubernetes_io_hostname=~"^$Node$"}[1m])) by (pod_name) enter image description here

0 个答案:

没有答案
相关问题