PagerDuty
Configuring the integration for PagerDuty
Why use the integration for PagerDuty
PagerDuty is an incident response platform for managing alerts, on-call rotations, and escalation policies. The integration for PagerDuty syncs your PagerDuty services, on-call schedules, escalation policies, and incidents into Cortex, connecting each service's operational data to its ownership and metadata in your software catalog.
Instead of switching tools to answer "who is on call for this service?", you can see current on-call information on an entity's details page, view PagerDuty incidents in its event timeline, and trigger incidents without leaving Cortex. When an incident is triggered, the On-call Assistant notifies users via Slack with runbooks, dependencies, and key information about the affected entity. Because PagerDuty data is available in CQL, you can also create Scorecards that enforce on-call standards at scale and track metrics like mean time to resolution (MTTR) in Eng Intelligence.
Integrating PagerDuty with Cortex allows you to:
Pull in PagerDuty services, on-call schedules, and escalation policies. The on-call user or team appears in the On-call block on an entity's metadata sidebar, and on the entity's details page under Connections > On-call.
Trigger incidents in PagerDuty directly from Cortex.
Automatically surface vital information about entity health and metadata when an incident is triggered, using the On-call Assistant.
View incidents from PagerDuty in an entity's event timeline.
View on-call information from PagerDuty on the Engineering homepage.
Use PagerDuty metrics in Eng Intelligence to gain insight into services, incident response, and more.
Create Scorecards that track progress and drive alignment on projects involving your on-call schedules and alerts.
Configuring PagerDuty
Prerequisites
Users with the
Configure Integrationspermission can configure PagerDuty.
Step 1: Creating an API key in PagerDuty
In PagerDuty, go to Integrations > API Access Keys.
When adding the API key, you have the option to set read or write permissions:
Read-only- Enables Cortex to read any and all data from PagerDutyIf you create an API key with
Read-onlypermissions, and you want to use the On-call Assistant in Slack, you also need to configure a webhook to get the Assistant working.
Write- Allows users to trigger incidents from an entity page in Cortex, and enables the On-call Assistant
Copy the API key. Don't skip this step! You'll need the key to complete the setup.
A note about Scoped OAuth apps
If you registered a Scoped OAuth app in PagerDuty, you must also grant the following permissions:
incident.writeto create incidentsescalation_policies.writeto create escalation policiesschedules.writeto create schedulesservices.writeto create servicesteams.writeto create teams
Step 2: Installing the PagerDuty integration in Cortex
From the main sidebar, expand Integrations, then select Configurations.
Locate PagerDuty, then click Install. The PagerDuty side panel opens.
In the PagerDuty side panel, do the following:
From the Category dropdown, select at least one category that applies to the integration (required).
Under API key, paste the API key you generated in PagerDuty (required).
Optionally, toggle on Read-only API key if you created the key with read-only permissions.
Click Test connection. A successful connection means your integration is configured correctly.
Click Save.
Last updated
Was this helpful?