PagerDuty Integration
Set up the PagerDuty integration to ingest incident data into AI DLC Insights and surface Mean Time to Restore.
PagerDuty is a SaaS incident response platform for IT teams. The PagerDuty integration enables AI DLC Insights to ingest incident data from any cloud-based PagerDuty account or plan. AI DLC Insights uses this data to surface Mean Time to Restore (MTTR) on the Efficiency Insights dashboard.
Prerequisites
Before you configure the PagerDuty integration, ensure you have the following:
A cloud-based PagerDuty account
A read-only PagerDuty API key. To create one, go to API access keys in the PagerDuty documentation.
Setup
To configure the PagerDuty integration:
From the left-hand navigation pane, click Integrations.
Navigate to the Available Integrations tab.
Locate the PagerDuty tile and click Add Integration.
On the Integration Details step, enter a name for the integration in the Overview section. Optionally, add tags. Click Continue.
On the Configure Authentication step, enter your PagerDuty account URL and API key:
PagerDuty URL: Enter
https://api.pagerduty.com, unless your use case requires a different URL.API Key: Enter your read-only PagerDuty API key.
Click Validate & Continue.
On the Validate Connection step, confirm that the connection succeeds, then click Create Integration.
Once the integration is configured, Harness AIDI begins ingesting incident data from PagerDuty.
Data ingestion
AI DLC Insights ingests all incident-related data from your PagerDuty account.
Ingestion frequency
PagerDuty data is ingested every 60 minutes by default. Each ingestion run retrieves incidents created or updated since the previous successful run, so MTTR reflects incident activity from the last completed ingestion cycle.
To review ingestion history, go to the Monitoring tab of the integration. Go to Integration monitoring for details.
Field coverage
AI DLC Insights ingests all fields available in PagerDuty, including both standard and custom fields. You do not need to select or map individual fields.
Commonly used fields include the following:
PD Service
The PagerDuty service the incident was triggered against.
Incident Priority
The priority assigned to the incident (for example, P1, P2).
Incident Urgency
The urgency of the incident (high or low).
Alert Severity
The severity of the alert that triggered the incident.
User ID
The PagerDuty user associated with the incident.
Escalation Policy
The escalation policy that routed the incident.
Custom fields
Any custom fields defined in your PagerDuty account.
Every ingested field, standard or custom, is available as a filter in Team Definitions. This lets each team define how it identifies the incidents that belong to it, rather than relying on a single account-wide definition.
Build custom dashboards in Studio
Beyond the out-of-the-box MTTR widget on the Efficiency Insights dashboard, you can use ingested PagerDuty data to build custom dashboards in Studio.
Because AI DLC Insights ingests all PagerDuty fields, you can query standard and custom fields to create views such as incident volume by service, responder load across escalation policies, or recovery time segmented by priority. Studio dashboards support team-scoped filters and query-level variables, so a single PagerDuty dashboard can adapt to each team's incident definition.
Integration monitoring
To monitor the status of the PagerDuty integration, navigate to the Monitoring tab. This page displays ingestion logs that provide visibility into data synchronization.
Click the Filters icon to filter logs by Status (Success, Failed, Pending, or Scheduled).
Each ingestion log includes the following fields:
Scan Range Time
The time window of data retrieved from PagerDuty during the ingestion task.
Data Retrieval Process
The ingestion job responsible for fetching data from PagerDuty.
Task Start Time
The timestamp when the ingestion task began running.
Status
The current state of the ingestion task (for example, Success, Failed, Pending, or Scheduled).
Time to Complete
The total duration required for the ingestion task to complete.
Retries
The number of times the ingestion task was retried after a failure.
Last updated
Was this helpful?