Open lbyzx123 opened 2 years ago
promQL:sum(rate(kube_pod_container_status_restarts_total{job="kube-state-metrics"}[120m]) OR on() vector(0))by(container) > 2 metrics kube_pod_container_status_restarts_total add label: group="123456"
Please elaborate, I don't understand what you mean.
promQL:sum(rate(kube_pod_container_status_restarts_total{job="kube-state-metrics"}[120m]) OR on() vector(0))by(container) > 2 metrics kube_pod_container_status_restarts_total add label: group="123456"