Skip to content

Commit

Permalink
test(loki): loki-alerting-rules.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
tyriis authored Apr 4, 2024
1 parent 1bb33a2 commit 9d80d9b
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 9d80d9b

Please sign in to comment.