coulomb-social/deploy/backup/alertmanager-config.pending.json
tegwick 267d502d93
Some checks failed
Use-case regression gate / usecase-regressions (push) Failing after 6m16s
Implement durable recurring backup alert delivery candidate
Assistant: codex
Assistant-Model: gpt-6-astra
Assistant-Session: 01a18e2d-f513-7742-b8e7-12af0b744ff3
2026-10-31 10:19:16 +01:00

43 lines
1.5 KiB
JSON

{
"global": {
"resolve_timeout": "5m"
},
"route": {
"receiver": "pending-operator-channel",
"group_by": ["namespace", "alertname"],
"group_wait": "30s",
"group_interval": "5m",
"repeat_interval": "4h",
"routes": [
{
"matchers": [
"application=\"coulomb-social\"",
"owner=\"platform-root\"",
"alertname=\"CoulombBackupProblem\"",
"condition=~\"backup_failed|pending_backup|backup_stale\""
],
"group_by": ["alertname", "event_id"],
"receiver": "coulomb-backup-platform-root-email"
}
]
},
"receivers": [
{"name": "pending-operator-channel"},
{
"name": "coulomb-backup-platform-root-email",
"email_configs": [
{
"to": "bernd.worsch@gmail.com",
"from": "platform@coulomb.social",
"smarthost": "smtp.ionos.de:587",
"auth_username": "platform@coulomb.social",
"auth_password_file": "/etc/alertmanager/secrets/telemetry-alert-smtp/password",
"require_tls": true,
"send_resolved": true,
"headers": {"Subject": "[{{ .Status }}] Coulomb backup alert for platform-root"},
"text": "{{ range .Alerts }}Condition: {{ .Labels.condition }}\nVerification test: {{ .Labels.verification }}\nEvent: {{ .Labels.event_id }}\n{{ .Annotations.description }}\n\nA resolved notification indicates the producer lease ended or an explicit clear was submitted; verify the backup receipts before treating it as recovery.\n{{ end }}"
}
]
}
]
}