diff --git a/alerts/apps_alerts.libsonnet b/alerts/apps_alerts.libsonnet index 2c900fcf2..4359b1a77 100644 --- a/alerts/apps_alerts.libsonnet +++ b/alerts/apps_alerts.libsonnet @@ -143,7 +143,7 @@ { expr: ||| ( - max by(namespace, statefulset) ( + max by(namespace, statefulset, job, %(clusterLabel)s) ( kube_statefulset_status_current_revision{%(prefixedNamespaceSelector)s%(kubeStateMetricsSelector)s} unless kube_statefulset_status_update_revision{%(prefixedNamespaceSelector)s%(kubeStateMetricsSelector)s}