PagerDuty Integration
Auto-discover PagerDuty services and teams and populate the IDP Catalog for on-call visibility and incident context.
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.
For each entity type, the integration collects the following:
Service
Total incidents, mean time to first acknowledgment, mean time to resolve, on-call responders, and linked PagerDuty teams.
Team
Team-level incident analytics and team identifiers.
Before you begin
The following are needed to get the integration running:
Ensure the feature flag
IDP_INTEGRATIONSis enabled. Contact Harness Support to enable them.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
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.
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 PathOperatorCatalog YAML Pathmetadata.integration_properties.PagerDuty.identifierEquals
metadata.annotations.pagerduty_service_idOptionally, 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 FieldDescriptionanalyticsMeanSecondsToFirstAckMean 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 FieldDescriptionanalyticsMeanSecondsToFirstAckMean 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,3 hours,6 hours,12 hours,1 day,2 days,7 days.Set the Select Duration to define how far back IDP pulls service and team analytics data from PagerDuty. Available options:
1 month,2 months,3 months,4 months,5 months,6 months. Note that for incidents, the duration is always 1 month regardless of this setting.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 (typically used when no matching catalog entity exists) - Creates a new catalog entity populated with the PagerDuty metadata.
Merge (shown as Recommended when a matching catalog entity is found) - Links the discovered entity to an existing catalog entity, enriching it with PagerDuty data. If IDP finds a catalog entity with a matching name, Merge is pre-selected and the suggested entity is shown automatically.
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:
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.
UNLINK AN IMPORTED ENTITY
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.
Events tab
The Events tab logs all sync and lifecycle activity for this integration. Use it to verify that syncs are running, confirm that imports completed successfully, and investigate any failures.
For the full event type reference and detail panel fields, go to Integration Events.
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:
ComponentType:
ServiceScope: The Harness account the integration belongs to
Similarly, each imported PagerDuty team is registered with:
Kind:
GroupType:
TeamScope: The Harness account the integration belongs to
Open any entity to view PagerDuty-sourced data directly on the entity details page. This data is displayed through two dedicated UI components: a card on the Overview tab and an Incidents tab. Both require a one-time layout configuration, described in the next section.
Layout for PagerDuty components
To display PagerDuty data on the entity details page, you need to add the two PagerDuty components to the relevant entity layout. This is a one-time configuration per entity kind and type.
From the left sidebar of IDP, go to Configure → Layout → Catalog Entities.
Edit the existing layout for your entity or create a new one.
Select the Entity Kind (e.g.,
component) and the Entity Type (e.g.,service) that matches your imported PagerDuty entities.In the YAML editor, add the
IntegrationsContentcomponent inside the Overview tab'scontentsblock, and add a new Incidents tab using theIncidentTabContentcomponent.
Figure 10: Entity Layout configuration for PagerDuty components The relevant YAML additions are:
Click Save to apply the layout changes. The PagerDuty components will now appear on all entity detail pages of the selected kind and type that have PagerDuty data.
Cards in overview tab
After the layout is configured, two cards Incidents and On-Call appear in the Overview tab of any entity that has PagerDuty data linked to it. The card displays the key PagerDuty metadata ingested for that entity, sourced from the entity's ingested properties.

If the PagerDuty integration has not been configured for the entity, the card shows a Not configured state with a link to the Integrations page.
Incidents tab
The Incidents tab provides a more complete view of the PagerDuty data for the entity. This tab fetches latest possible data using the integration ID and entity UUID.

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.
Last updated
Was this helpful?