Skip to content

Commit

Permalink
fix: added prom rule for failed longhorn backups
Browse files Browse the repository at this point in the history
  • Loading branch information
henrywhitaker3 committed Mar 5, 2024
1 parent ccb0605 commit 787f390
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ metadata:
name: misc
spec:
groups:
- name: longhorn
rules:
- alert: BackupFailed
expr: count by (backup, volume) (longhorn_backup_state > 3) > 0
for: 1m
labels:
severity: critical
annotations:
summary: Backup {{ $labels.backup }} failed for {{ $labels.volume }}
- name: vms
rules:
- alert: VMDown
Expand Down

0 comments on commit 787f390

Please sign in to comment.