Interview Prep/Monitoring & Observability/On-Call Integration & Alert Fatigue

How do you integrate Alertmanager with PagerDuty correctly?

BeginnerProductionOn-Call Integration & Alert Fatigue
Answer

Use the Events API v2 integration key (routing key) per PagerDuty service:

receivers:
  - name: pagerduty-payments
    pagerduty_configs:
      - routing_key_file: /etc/alertmanager/secrets/pd-payments
        severity: '{{ if eq .CommonLabels.severity "page" }}critical{{ else }}warning{{ end }}'
        description: '{{ .CommonAnnotations.summary }}'
        links:
          - href: '{{ .CommonAnnotations.runbook_url }}'
            text: Runbook

Alertmanager sends resolve events automatically, so incidents close when the alert clears. One PagerDuty service per owning team keeps escalation policies clean.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on On-Call Integration & Alert Fatigue