Prometheus Pods 在grafana中重启
Prometheus Pods restart in grafana
我想在 Grafana 中有一个普罗米修斯图来显示(作为柱形图)pods
的重启次数
如何实现?
谢谢
您可以部署发布重启指标的 kube-state-metrics 容器 pods:https://github.com/kubernetes/kube-state-metrics
The metrics are exported through the Prometheus golang client on the
HTTP endpoint /metrics on the listening port (default 80).
指标名称是:kube_pod_container_status_restarts_total
查看所有广告连播指标 here
我想在 Grafana 中有一个普罗米修斯图来显示(作为柱形图)pods
的重启次数如何实现?
谢谢
您可以部署发布重启指标的 kube-state-metrics 容器 pods:https://github.com/kubernetes/kube-state-metrics
The metrics are exported through the Prometheus golang client on the HTTP endpoint /metrics on the listening port (default 80).
指标名称是:kube_pod_container_status_restarts_total
查看所有广告连播指标 here