Summary
alertmanager.local (the live, gitignored deploy config on edge-nl-01) already routes every alert to Discord, and has a commented-out generic webhook_configs block labeled "PagerDuty bridge" ready for when PagerDuty is set up. Alertmanager has a first-class, native pagerduty_configs receiver type — use that instead of a generic webhook bridge.
Requirements
- Set up a PagerDuty service (Events API v2 integration) for this project, and add a native
pagerduty_configs receiver to alertmanager.local using its routing key — not the generic webhook_configs bridge currently stubbed in.
- Un-comment and wire the severity-split route already sketched in the file's own comments:
severity: critical → PagerDuty (short group_wait, tighter repeat_interval), everything else stays on Discord.
- Verify
send_resolved behavior end-to-end (PagerDuty auto-resolves when Alertmanager reports the alert cleared) — this is default-on per Alertmanager but worth confirming against the actual PagerDuty integration type chosen (Events API v2 vs. the legacy "Prometheus" v1 integration type use different fields — pick v2 with routing_key, not v1's service_key, since v2 is current).
- Keep the backup:
.gittensory.yml-style timestamped backup of alertmanager.local before editing, matching this box's existing convention for live config edits.
Deliverables
Part of #5007.
Summary
alertmanager.local(the live, gitignored deploy config on edge-nl-01) already routes every alert to Discord, and has a commented-out genericwebhook_configsblock labeled "PagerDuty bridge" ready for when PagerDuty is set up. Alertmanager has a first-class, nativepagerduty_configsreceiver type — use that instead of a generic webhook bridge.Requirements
pagerduty_configsreceiver toalertmanager.localusing its routing key — not the genericwebhook_configsbridge currently stubbed in.severity: critical→ PagerDuty (shortgroup_wait, tighterrepeat_interval), everything else stays on Discord.send_resolvedbehavior end-to-end (PagerDuty auto-resolves when Alertmanager reports the alert cleared) — this is default-on per Alertmanager but worth confirming against the actual PagerDuty integration type chosen (Events API v2 vs. the legacy "Prometheus" v1 integration type use different fields — pick v2 withrouting_key, not v1'sservice_key, since v2 is current)..gittensory.yml-style timestamped backup ofalertmanager.localbefore editing, matching this box's existing convention for live config edits.Deliverables
pagerduty_configsreceiver live and verified (a test alert actually pages).Part of #5007.