Observer
Observer

PagerDuty

Trigger, update, and resolve a PagerDuty incident from Observer.

Observer integrates with PagerDuty through the Events API V2. One Observer incident maps to one PagerDuty incident across its whole lifecycle.

Set up

  1. Create an Events API V2 integration

    In PagerDuty, open the service that should receive alerts, go to Integrations, and add an Events API V2 integration. Copy the Integration Key (also called the routing key).

  2. Add the integration in Observer

    In the console, open Alerts, choose Add alert, pick PagerDuty, and paste the Integration Key. Choose org-wide or a single page, then save.

  3. Test it

    Use Test on the row. A test trigger should open an incident on the PagerDuty service. Resolve it in PagerDuty when you are done.

Lifecycle mapping

Observer eventPagerDuty action
Incident publishedtrigger
Incident update postedtrigger (updates the open incident)
Incident resolvedresolve

Every action carries a dedup key derived from the Observer incident id (observer-incident-<id>). PagerDuty uses that key to attach updates to the existing incident and to resolve the right one, so a published, updated, and resolved sequence produces one PagerDuty incident, not three.

Troubleshooting

  • No incident appears: confirm the Integration Key is from an Events API V2 integration (not a different integration type), and that the integration is enabled in Observer.
  • A bad key: PagerDuty returns a 4xx, which Observer treats as a configuration error and does not retry. Fix the key and test again.
Was this page helpful?