Skip to content

Commit

Permalink
Add explicit alert for ClusterOperatorDown
Browse files Browse the repository at this point in the history
Signed-off-by: Raul Sevilla <[email protected]>
  • Loading branch information
rsevilla87 committed Nov 27, 2024
1 parent 1ef0b6c commit 3c58616
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmd/config/alerts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@
severity: warning

# Prometheus alerts
- expr: ALERTS{severity="critical", alertstate="firing"} > 0
- expr: ALERTS{severity="critical", alertstate="firing", alertname!="ClusterOperatorDown"} > 0
description: Critical prometheus alert. {{$labels.alertname}}
severity: error

- expr: ALERTS{severity="critical", alertstate="firing", alertname="ClusterOperatorDown"} > 0
description: "{{$labels.alertname}}: {{$labels.name}} -> {{$labels.reason}}"
severity: error

0 comments on commit 3c58616

Please sign in to comment.