Hi All,
Could someone please explain this PromQL query?
rate(kube_pod_container_status_restarts_total{job="kube-state-metrics"}[15m])
* 60 * 5 > 0
Cannot get my head around why we multiply * 60 * 5 in this metric.
Would the following query be fine to identify and alert any crash looping containers?
rate(kube_pod_container_status_restarts_total{job="kube-state-metrics"}[15m]) > 0
This is in reference to the following alert
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/ddd22d69-2213-4647-87d8-cadd7f7f7211n%40googlegroups.com.