From 0ca58bb14526ac4f94b39efcfe17fc772d2a6813 Mon Sep 17 00:00:00 2001 From: Spyros Synodinos Date: Tue, 11 Jun 2024 18:01:03 +0300 Subject: [PATCH] pipeline label --- .../kaas/bigmac/alerting-rules/teleport.rules.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/helm/prometheus-rules/templates/kaas/bigmac/alerting-rules/teleport.rules.yml b/helm/prometheus-rules/templates/kaas/bigmac/alerting-rules/teleport.rules.yml index c66b0ae1..0950fdc1 100644 --- a/helm/prometheus-rules/templates/kaas/bigmac/alerting-rules/teleport.rules.yml +++ b/helm/prometheus-rules/templates/kaas/bigmac/alerting-rules/teleport.rules.yml @@ -22,10 +22,10 @@ spec: "secret", "(.*)-teleport-join-token" ) - ) by (cluster_id, installation, provider) + ) by (pipeline, cluster_id, installation, provider) != sum ( capi_cluster_status_phase{phase="Provisioned"} - ) by (cluster_id, installation, provider) + ) by (pipeline, cluster_id, installation, provider) for: 60m labels: area: kaas @@ -48,10 +48,10 @@ spec: "configmap", "(.*)-teleport-kube-agent-config" ) - ) by (cluster_id, installation, provider) + ) by (pipeline, cluster_id, installation, provider) != sum ( capi_cluster_status_phase{phase="Provisioned"} - ) by (cluster_id, installation, provider) + ) by (pipeline, cluster_id, installation, provider) for: 60m labels: area: kaas