PagerDuty
On this page
PagerDuty alerts open incidents on one PagerDuty service through the Events API v2. An offline outage is one incident, resolved by its recovery.
Set it up
- In PagerDuty, add an Events API v2 integration to the service and copy its integration key: 32 letters and digits.
- In My Alerts → Destinations, press Add destination, pick PagerDuty and paste the Integration key.
- Press Add destination, then Test. The test opens an incident and resolves it at once; check that it appeared on your service. PagerDuty accepts any well-formed key, so the destination then reads Accepted.
What PagerDuty receives
| Field | Value |
|---|---|
event_action | trigger for an alert; resolve for an outage recovery. |
summary | The alert title. |
severity | The alert’s severity: critical, warning or info. |
source | roundbeat |
custom_details | The event type, the details as plain text and the alert’s labels. |
dedup_key | roundbeat-outage-<outage id> for offline alerts, otherwise the alert’s fingerprint. |
links | The validator’s page on RoundBeat, or one link per validator for a grouped alert. |
Because every wave of one outage shares the dedup key, a second wave updates the open incident instead of paging again; a wave more than 2 h later opens a new incident (offline outages). Any other alert that repeats with the same fingerprint while its incident is open updates that incident.