View all connectors
PagerDuty
By integrating PagerDuty with DX, you can analyze incident data and metrics such as MTTR and Change Fail Rate, as well as incorporate incident data into DX scorecards. Please refer to the API documentation below and our schema explorer to see what data DX imports.
Prerequisites
To connect PagerDuty to DX, you need:
- a PagerDuty API token
Setup instructions
Follow the steps below to connect PagerDuty to DX.
Step 1
Log in to your PagerDuty account and navigate to Integrations > API Access Keys.
Step 2
Click Create a New API Key and generate a new read-only key. This creates a general access REST API key with read-only access.
Step 3
- Navigate to the connections page in DX and select “+ Connection” in the top right.
- Enter the credentials you have generated in the previous steps—refer to the information below for errors and troubleshooting.
API reference
The table below lists the specific API endpoints that are used by DX.
| Endpoint | Documentation |
|---|---|
| /incidents | PagerDuty API: List Incidents |
| /analytics/raw/incidents | PagerDuty API: Get Raw Data for Multiple Incidents |
| /services | PagerDuty API: List Services |
| /users | PagerDuty API: List Users |
| /teams | PagerDuty API: List Teams |
| /incidents/{incidentId}/log_entries | PagerDuty API: List Log Entries for an Incident |
Errors
The table below lists potential error codes when adding a connection in DX.
| Error | Description |
|---|---|
invalid_credentials |
Your API credentials entered are not valid. |
invalid_permissions |
Your API token does not have the permissions required by DX. |