We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1ddc6f6 + 4a14803 commit 5e44626Copy full SHA for 5e44626
alerts/apps_alerts.libsonnet
@@ -33,7 +33,7 @@
33
expr: |||
34
sum by (namespace, pod, %(clusterLabel)s) (
35
max by(namespace, pod, %(clusterLabel)s) (
36
- kube_pod_status_phase{%(prefixedNamespaceSelector)s%(kubeStateMetricsSelector)s, phase=~"Pending|Unknown"}
+ kube_pod_status_phase{%(prefixedNamespaceSelector)s%(kubeStateMetricsSelector)s, phase=~"Pending|Unknown|Failed"}
37
) * on(namespace, pod, %(clusterLabel)s) group_left(owner_kind) topk by(namespace, pod, %(clusterLabel)s) (
38
1, max by(namespace, pod, owner_kind, %(clusterLabel)s) (kube_pod_owner{owner_kind!="Job"})
39
)
0 commit comments