Commit a11c6655 authored by godog's avatar godog

prometheus: alert on backup failure

parent 04089bab
Pipeline #5092 failed with stage
in 6 minutes and 5 seconds
groups:
- name: roles/prometheus/files/rules/alerts_backup.conf
rules:
- alert: BackupFailed
expr: backup_ok != 1
for: 15m
labels:
severity: warn
annotations:
summary: '{{ $labels.dataset }} backup failure on {{ $labels.host }}'
description: 'Dataset {{ $labels.dataset }} has failed its backups on {{ $labels.host }}.'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment