From 9d80d9bf7d99cfd815578aa3c800182251876fdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20M=C3=BCller?= Date: Thu, 4 Apr 2024 11:34:11 +0200 Subject: [PATCH] test(loki): loki-alerting-rules.yaml --- .../loki/app/loki-alerting-rules.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/kubernetes/talos-flux/apps/observability/loki/app/loki-alerting-rules.yaml b/kubernetes/talos-flux/apps/observability/loki/app/loki-alerting-rules.yaml index f5b6b19a2..040df39d0 100644 --- a/kubernetes/talos-flux/apps/observability/loki/app/loki-alerting-rules.yaml +++ b/kubernetes/talos-flux/apps/observability/loki/app/loki-alerting-rules.yaml @@ -56,12 +56,12 @@ groups: category: logs annotations: summary: "Node-Red is unable to connect to Home Assistant" - # - alert: NodeRedTest - # expr: | - # sum(count_over_time({app="node-red"} |~ "(?i)debug:office light"[2m])) > 0 - # for: 2m - # labels: - # severity: critical - # category: logs - # annotations: - # summary: "Node-Red is testing" + - alert: NodeRedTest + expr: | + sum(count_over_time({app="node-red"} |~ "(?i)debug:office light"[2m])) > 0 + for: 2m + labels: + severity: critical + category: logs + annotations: + summary: "Node-Red is testing"