Skip to content

Commit

Permalink
fix: added alert for longhorn volume usage
Browse files Browse the repository at this point in the history
  • Loading branch information
henrywhitaker3 committed Mar 5, 2024
1 parent 88f2765 commit 5b0ecc9
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ spec:
severity: critical
annotations:
summary: Backup {{ $labels.backup }} failed for {{ $labels.volume }}
- alert: VolumeFillingUp
expr: ((avg by (pvc) (longhorn_volume_actual_size_bytes))/ (avg by (pvc) (longhorn_volume_capacity_bytes))) * 100 > 90
for: 5m
labels:
severity: warning
annotations:
summary: Volume {{ $labels.pvc }} is using > 90% of capactiy
- name: vms
rules:
- alert: VMDown
Expand Down

0 comments on commit 5b0ecc9

Please sign in to comment.