Skip to content

Commit

Permalink
Merge pull request #190 from ministryofjustice/velero-backup-failure
Browse files Browse the repository at this point in the history
chore: 🤖 update runbook alert url
  • Loading branch information
jaskaransarkaria authored Nov 20, 2023
2 parents 5d3cde5 + 5e5c168 commit fa09b69
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions resources/prometheusrule-alerts/application-alerts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -309,39 +309,39 @@ spec:
- alert: VeleroBackupPartialFailure-velero-allnamespacebackup
annotations:
message: A Velero backup partial failure in past 3 hours - velero-allnamespacebackup
runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md
runbook_url: https://runbooks.cloud-platform.service.justice.gov.uk/disaster-recovery-scenarios.html#resolving-a-partiallyfailed-backup-alert
expr: sum(increase(velero_backup_partial_failure_total{schedule="velero-allnamespacebackup"}[3h])) > 0
for: 1m
labels:
severity: warning
- alert: VeleroBackupFailure-velero-allnamespacebackup
annotations:
message: A Velero backup failure in past 3 hours - velero-allnamespacebackup
runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md
runbook_url: https://runbooks.cloud-platform.service.justice.gov.uk/disaster-recovery-scenarios.html#resolving-a-partiallyfailed-backup-alert
expr: sum(increase(velero_backup_failure_total{schedule="velero-allnamespacebackup"}[3h])) > 0
for: 1m
labels:
severity: warning
- alert: VeleroBackupNotSuccessfulForOverFourHours-velero-allnamespacebackup
annotations:
message: The Velero backup schedule for AllNamespaceBackup does not have a successful timestamp for over 4 hours
runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md
runbook_url: https://runbooks.cloud-platform.service.justice.gov.uk/disaster-recovery-scenarios.html#resolving-a-partiallyfailed-backup-alert
expr: (time() - velero_backup_last_successful_timestamp{schedule="velero-allnamespacebackup"}) / 60 / 60 > 4
for: 1m
labels:
severity: warning
- alert: VeleroBackupPartialFailure
annotations:
message: A Velero backup partial failure notification
runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md
runbook_url: https://runbooks.cloud-platform.service.justice.gov.uk/disaster-recovery-scenarios.html#resolving-a-partiallyfailed-backup-alert
expr: sum(increase(velero_backup_partial_failure_total[2m])) > 0
for: 1m
labels:
severity: info-warning
- alert: VeleroBackupFailure
annotations:
message: A Velero backup failure notification
runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md
runbook_url: https://runbooks.cloud-platform.service.justice.gov.uk/disaster-recovery-scenarios.html#resolving-a-partiallyfailed-backup-alert
expr: sum(increase(velero_backup_failure_total[2m])) > 0
for: 1m
labels:
Expand Down

0 comments on commit fa09b69

Please sign in to comment.