Skip to content

Commit

Permalink
fix: added rule to check galera backups succedded
Browse files Browse the repository at this point in the history
  • Loading branch information
henrywhitaker3 committed Mar 9, 2024
1 parent 0feced8 commit 9969e8b
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,14 @@ spec:
severity: critical
annotations:
summary: Galera cluster size is not equal to the number of replicase
- alert: GaleraBackupFailed
expr: |
sum(kube_job_status_failed{namespace="databases", job_name=~"mariabackup.*"}) > 0
for: 5m
labels:
severity: warning
annotations:
summary: Galera backup job failed
- alert: MysqlDown
expr: mysql_up{service!~"srep.*"} == 0
for: 0m
Expand Down

0 comments on commit 9969e8b

Please sign in to comment.