1. Select the PagerDuty integration

pagerduty integration pagerduty form

2. Set the API key

You can generate an integration key for Honeybadger by logging in to PagerDuty then clicking on "Add New Service" and choosing "Honeybadger" as the service type. Here's a walkthrough.

3. Save

That's it! You can test the integration by clicking "Test". Otherwise, just save it and you're ready to go.

Event Rules in PagerDuty

You can use PagerDuty's event rules feature to suppress an event or change its severity based on data sent from Honeybadger. For instance, when an exception is sent to PagerDuty, you could set the severity to "critical" for a specific environment when fault.environment equals "production".

The custom data payloads sent from Honeybadger are the same as our WebHook event payloads.

Upgrading a Legacy PagerDuty Integration

If your integration is marked "legacy", then you should upgrade by deleting your existing integration and then creating a new integration following the instructions above. If you use Event Rules in PagerDuty, see the next paragraph.

The custom data payload sent to PagerDuty has changed to match our WebHook event payloads. If you use Event Rules in PagerDuty based on the old payload, you will need to update your rules.