feat(monitoring): publish alerts to bitborg-alerts and the legacy topic #770
Inga granskare
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
priority
high
priority
low
priority
medium
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-infra!770
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "feat/ntfy-dual-topic"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Step 1 of #581: Alertmanager publishes to
bitborg-alertsand, during the transition, also to the legacy topic.Changes
ntfy_alert_topicis nowbitborg-alerts. Newntfy_alert_legacy_topicholds the legacy topic. Set it to""to stop publishing there.alertmanager.yml.j2renders one ntfy webhook per non-empty topic, from a single loop. Token auth applies to both.bitborg-alerts, plus the transition steps. On a fresh host, set the legacy topic empty before the first apply.scripts/test-alert-rules.pyasserts the topic list with the legacy topic set and empty, and that every hook getscredentials_filewhen a token is set.Operator steps, in order
podman exec -it ntfy ntfy access alertmanager bitborg-alerts write-only. Do this before the apply, or the new webhook gets 403 andAlertmanagerDeliveryFailingfires.bitborg-alerts. Expect duplicates until step 5.ntfy_alert_legacy_topic: "", apply, and send a second test alert.Refs #581