PagerDuty Integration
The PagerDuty integration automatically discovers services and teams from your PagerDuty account and brings them into the IDP Catalog. Once discovered, entities can be registered as new catalog entries or merged into existing ones, enriching them with PagerDuty-sourced metadata such as on-call schedules, incident analytics, and team ownership.
- The feature flag
IDP_CATALOG_CD_AUTO_DISCOVERYis enabled. Contact Harness Support to enable it. - You have the required RBAC permissions to manage integrations. All integration operations require the
IDP_INTEGRATION_EDITpermission on theIDP_INTEGRATIONresource type. - A PagerDuty connector is configured in Harness with the credentials needed to access your PagerDuty account. You can also add the connector during the setup of PagerDuty Integration.
Enable the PagerDuty Integration
The PagerDuty integration is currently available at the Account level only. Navigate to the Account scope of the Internal Developer Portal to add or manage PagerDuty integrations.
1. Navigate to the Integrations Page
-
In Harness, open the Internal Developer Portal.
-
From the left sidebar, click Configure.
-
In the left navigation menu, click Integrations.
Figure 1: Navigation Path of PagerDuty Integration -
On the Integrations page, click + New Integration at the top.
-
Select PagerDuty from the integration type picker. You will be taken to the Auto Discover PagerDuty Integration page.
2. Configure Setup & Connectivity
This section connects Harness IDP to your PagerDuty account.
-
Enter a name in the Integration Name field. This name appears on the integration card on the Integrations page (e.g.,
PagerDuty Production). -
Click the Choose PagerDuty connector dropdown and select the PagerDuty connector you want to use to pull data into the IDP.
Don't have a PagerDuty connector yet?If no connectors appear in the dropdown, you need to first create a PagerDuty connector in Harness. Navigate to Account Settings → Connectors and create a new PagerDuty connector by providing your PagerDuty API key. Once saved, it will appear in the dropdown here.
3. Configure Mapping & Correlation
This section defines how PagerDuty entities are mapped to IDP catalog entities and how they are correlated with existing records.
The integration supports two entity types: Service Entity and Team Entity, each with its own toggle, registration behavior, and field configuration.
Service Entity
The Service Entity mapping imports PagerDuty services as catalog components.
-
Ensure the Service Entity toggle is turned on.
-
Under Entity Registration Behavior, choose how services are brought into the catalog:
-
Register & Merge (Default) - Registers new entities and updates existing ones when a match is found. This is the recommended option for most setups.
-
Register - Creates new catalog entities from PagerDuty. Does not merge with existing entities.
-
Merge - Links discovered services to existing catalog entities. Matching entities are recommended automatically, but you can choose a different one.
Figure 3: Enable Service Entity
-
-
The default Kind is
Componentand Type isService. These are pre-configured and apply to all PagerDuty service imports. -
Under Correlation Mapping, set the Ingested Data Path (from PagerDuty) and the corresponding Catalog YAML Path (from your IDP entity) to define how records are matched. The operator defaults to
Equals. Check the example shown below:Ingested Data Path Operator Catalog YAML Path metadata.integration_properties.PagerDuty.identifierEquals metadata.annotations.pagerduty_service_id -
Optionally, click Configure next to Configure fields to customize which PagerDuty fields are synced to the catalog. By default, all available fields are selected.
Figure 4: Service Entity Configuration The available PagerDuty service fields include:
PagerDuty Field Description analyticsMeanSecondsToFirstAckMean time to first acknowledgment (in seconds). analyticsMeanSecondsToResolveMean time to resolve an incident (in seconds). analyticsTotalIncidentsTotal number of incidents for the service. onCallNameThe name of the on-call responder currently assigned to the service. pagerdutyStatusThe current status of the PagerDuty service. teamsThe PagerDuty teams associated with the service, including team URLs and metadata. ownedByMaps to the catalog ownedByfield, linking the service to its owning team entity.
Team Entity
The Team Entity mapping imports PagerDuty teams as catalog group entities.
-
Ensure the Team Entity toggle is turned on.
-
Under Entity Registration Behavior, choose the registration behavior as described above for Service Entity.
Figure 5: Enable Team Entity -
The default Kind is
Groupand Type isTeam. -
Configure the Correlation Mapping fields as needed.
-
Optionally, click Configure next to Configure fields (optional) to customize the field mapping.
Figure 6: Team Entity Configuration The available PagerDuty fields include:
PagerDuty Field Description analyticsMeanSecondsToFirstAckMean time to first acknowledgment (in seconds). analyticsMeanSecondsToResolveMean time to resolve an incident (in seconds). analyticsTotalIncidentsTotal number of incidents for the team. defaultRoleThe default role assigned to team members. nameMaps to the catalog namefield, setting the team entity's display name.
4. Configure Advanced Settings
The Advanced Settings section controls how frequently IDP syncs with PagerDuty and how far back historical data is pulled.
-
Select an Update Frequency from the dropdown to control how often IDP polls PagerDuty for new data.
Available options:
10 min,30 min,1 hour,1 day. -
Set the Select start date to define the earliest date from which IDP will pull PagerDuty data. Any data before this date will be excluded. By default, this is set to one year prior to today.
Start Date Update LimitsThe start date may be updated after the integration is configured, but only to an earlier date than the one originally selected. It cannot be moved forward.
-
Once all sections are configured, click Confirm & Enable. A confirmation dialog will appear before the changes are applied.
The integration is now enabled and IDP begins syncing data from PagerDuty. Discovered services and teams appear in the Discovered tab.
Discover and Import PagerDuty Entities
This section covers how to view the PagerDuty entities discovered by the integration and import them into your IDP Catalog.
Discovered tab
After the integration runs, all PagerDuty services and teams detected appear in the Discovered tab. Use the Service and Team sub-tabs to switch between entity types. If entities do not appear, use the Sync button at the top right to manually refresh.
For each discovered entity, you can see its name, the recommended catalog action, kind, type, and the date it was detected. You can choose how to bring entities into the catalog using one of the following actions:
- Register (shown as Recommended when no matching catalog entity exists) - Creates a new catalog entity populated with the PagerDuty metadata.
- Merge - Links the discovered entity to an existing catalog entity, enriching it with PagerDuty data. If IDP finds a catalog entity with a matching name, the Merge option is pre-selected and the suggested entity is shown automatically.
- Bulk Import - Select multiple entities using the checkboxes and click Import selected entities at the bottom of the page to import them all at once. The selection widget shows a count of selected entities.
- Auto Import - Toggle Auto-import future discovered services in the top right of the Discovered tab to automatically import all future entities without manual review. You can change this preference at any time.
Imported tab
The Imported tab displays all PagerDuty entities that have been brought into the catalog. Use the Service and Team sub-tabs to view each entity type separately.
It displays the following data:
| Column | Description |
|---|---|
| PagerDuty Entity | The name of the entity from PagerDuty, along with its import status (for example, Registered). |
| Entity | The linked IDP catalog entity and its ID. |
| Kind | The catalog entity kind (e.g., component for services, group for teams). |
| Type | The catalog entity type (e.g., service for services, team for teams). |
| Scope | The Harness account scope the entity belongs to. |
| Imported At | The timestamp when the entity was imported. |
To stop syncing a specific entity without deleting the catalog entity, use the three-dot menu on any row and select Unlink. This stops sync updates while keeping the IDP entity and its existing data intact.
View PagerDuty Entities in the Catalog
Once imported, PagerDuty entities are available in the Catalog section of IDP as standard catalog entities.
Each imported PagerDuty service is registered with:
- Kind:
Component - Type:
Service - Scope: The Harness account the integration belongs to
Similarly, each imported PagerDuty team is registered with:
- Kind:
Group - Type:
Team - Scope: The Harness account the integration belongs to
Open any entity to view its Overview, Relationships, Scorecards, and any other tabs configured for your entity layout. The Relationships section reflects ownership links between teams and services as discovered from PagerDuty.
Ingested Properties
To inspect the raw data ingested from PagerDuty, open the entity and click View YAML → Ingested Properties in the Entity Inspector.
Ingested properties are stored in two sections of the entity YAML:
metadata.integration- Tracks which integrations are linked to this entity, including the entity action (e.g.,REGISTER) and the linked entity UUID for each integration instance.integration_properties.PagerDuty- Contains the PagerDuty-specific data for the entity. For service entities, this includes fields likeanalyticsMeanSecondsToFirstAck,analyticsMeanSecondsToResolve,analyticsTotalIncidents,identifier,name,onCallName, andteams(with PagerDuty team URLs and metadata). For team entities, this includes analytics fields and the team identifier.
Manage the PagerDuty Integration
Edit the integration
To update the integration name, switch the PagerDuty connector, or change the mapping and correlation settings, navigate to Integrations page, find your PagerDuty integration card, and click View. From there, click Configuration to open the edit screen.
Suspend Auto-Discovery
If auto-discovery is suspended, new entities will not appear in the Discovered tab. Existing imported entities remain unchanged in the catalog and the sync between PagerDuty and their corresponding IDP entities will stop.
To suspend auto-discovery:
- Go to Integrations and open your PagerDuty integration using the View button.
- Click Configuration at the top.
- In the Danger Zone section, click Suspend.
- Confirm the action.
You may re-enable it at any time by following the same steps.