Integrating Datadog with PagerDuty - Paging and Severity

The integration that pages on-call responders from Datadog monitors while keeping PagerDuty is built in two steps: create a service in PagerDuty to get an integration key, then register it on the Datadog integration page. Severity is determined by the monitor's status, and including the handle in the recovery notification also resolves the PagerDuty incident.

Paging is set up by going back and forth between the PagerDuty and Datadog screens

The mechanism for paging PagerDuty on-call responders from Datadog monitors comes down to a single recipient string. The recipient takes the form @pagerduty-[serviceName], and when the monitor triggers, an incident is sent to the service with that name. Before you can use the handle, however, you need to go back and forth between two screens. On the PagerDuty side, prepare a service and issue an integration key, then paste that key into the integration page on the Datadog side (as of October 2026; source: PagerDuty).

  • PagerDuty: create a service and note the integration key on the Integrations tab
  • Datadog: register the service name and integration key on the integration page
  • Datadog: write @pagerduty-[serviceName] in the monitor's notification message
  • PagerDuty: a notification of a threshold breach opens an incident and pages the on-call responder
  • Datadog: when the monitor recovers, the recovery notification resolves the PagerDuty incident
Created based on PagerDuty / Datadog Integration Guide

The last step of the flow is easy to miss when it is missing. If only triggers arrive and resolutions do not, finished outages pile up as open incidents on the PagerDuty screen, and the on-call responder bears the work of reopening the Datadog screen to check whether each one is really over. Only when both paging and resolution make the round trip can you trust the PagerDuty incident list as the current state of outages. On-call schedules and escalation levels are built on the PagerDuty side; what you decide on the Datadog side is the paging route and how to write notification messages.

What you prepare on the PagerDuty side is a service and an integration key

In Datadog's official documentation, the PagerDuty-side procedure is a single line: "create a service and note the integration key that is generated." The details are in PagerDuty's official guide, which states that authorizing the integration requires the PagerDuty Admin base role. People without that permission will need to ask their organization's Admin or Account Owner to configure it (as of October 2026; source: Datadog Integration Guide).

Two places to get the key on the PagerDuty side (as of October 2026)
MethodScreen where you get the keySuitable when
Connect directly to a serviceOn the service's Integrations tab in Service Directory, choose Datadog as the Integration Type and add itYou deliver notifications from Datadog to a fixed service without routing by content
Connect via Event OrchestrationThe Integrations tab of Event Orchestration in AIOpsYou route to the destination service on the PagerDuty side based on notification content
Source: Datadog Integration Guide

Which to choose is a decision about whether routing rules live in Datadog or in PagerDuty. If you connect directly to a service, the destination is determined by the handle written in the monitor, so reading the Datadog monitor tells you who gets paged. With Event Orchestration, the monitor just sends to the same key, and routing moves to PagerDuty's rules. One way to proceed is for organizations where teams and services are close to one-to-one to connect directly to services and keep things so that the handle tells you the destination, which lets you understand the paging route from the Datadog side alone.

The service name you register in Datadog becomes the handle as is

Next, find PagerDuty on the Integrations page in Datadog and register the PagerDuty services you want to use one at a time. You enter two things: the service name and the integration key you noted in PagerDuty. Once saved, the registered service name becomes the handle for notification recipients as is. For example, if you name the service payment-api, you can write @pagerduty-payment-api (as of October 2026; source: PagerDuty). Choosing names that read well as recipients at naming time makes things easier later. When you start typing in the Configure notifications & automations field of a monitor, registered services are suggested as completions, so the list of names becomes the list of recipients.

Points to watch in registration and handles (as of October 2026)
ItemWhat the official documentation saysEffect on operations
Omitting the service name@pagerduty alone can lead to unintended behavior, such as delivery to the first registered serviceAlways include the service name in the handle
Datadog for Government siteDoes not support integration with Service Catalog or automatic resolution from Incident Management / Workflow AutomationOrganizations on the government site should build procedures assuming incidents will not close automatically
Source: PagerDuty

In case you want to reorganize service names later, monitor handles can be replaced in bulk. The official documentation gives an example of replacing @pagerduty-sre with another handle across multiple monitors (source: Notifications). If you want to keep the integration configuration as code rather than doing it by hand, the related links on Datadog's PagerDuty integration page list a Terraform resource, which you can consider together with setting up the Terraform provider.

Severity is determined by the monitor's status and cannot be changed on the Datadog side

The severity of an incident that arrives in PagerDuty is determined automatically from the monitor's status, not from the notification message. The mapping is a fixed four-row table, and the official documentation explicitly states that this mapping cannot be changed (as of October 2026; source: PagerDuty).

Mapping between monitor status and PagerDuty severity (as of October 2026)
Monitor statusPagerDuty severityWhat it tells you
ALERTerrorA genuine trigger where the threshold was exceeded
NODATAerrorArrives with the same weight as ALERT even when data has merely stopped
WARNINGwarningSent only by monitors with a warning threshold
OK and othersinfoNotices such as recovery
Source: PagerDuty

What stands out in the table is the NODATA row. Even when values simply stop arriving because the Agent stopped or the network went down, PagerDuty sees it as error, the same as a real outage. If you do not want gaps in data to page the on-call responder, separate them in the notification message. This is because a handle placed outside any condition is also included in NO DATA notifications. To stop it, wrap the handle in {{^is_no_data}}, or place it inside both {{#is_alert}} and {{#is_recovery}} as in the table in the next section (source: Variables). How to think about handling gaps in data is summarized in the No Data glossary entry. On the PagerDuty side, you can use the severity sent from Datadog as a cue to create high-urgency and low-urgency incidents separately. Service-level event rules can also adjust severity and suppress notifications that need no action (source: Datadog Integration Guide). The term severity itself is covered in the Severity glossary entry.

Without the handle in the recovery notification, the PagerDuty incident stays open

When a monitor recovers, the PagerDuty incident is resolved automatically only if the recovery notification includes the handle. The official documentation notes that writing the handle only inside {{#is_alert}} prevents automatic resolution from working (as of October 2026; source: PagerDuty). This is where the writer's intuition and the specification diverge. If you think "page only on trigger" and put the handle inside the trigger condition, the page arrives but the resolution does not, and the incident stays open.

Where the handle is placed and whether it is included in the recovery notification (as of October 2026)
Where the handle is placedRecovery notificationPagerDuty incident
Outside any condition (such as at the end of the message)IncludedCloses on recovery
Inside both {{#is_alert}} and {{#is_recovery}}IncludedCloses on recovery
Only inside {{#is_alert}}Not includedStays open
Created based on PagerDuty / Variables

If you want different wording for trigger and recovery, write the same handle inside both conditions.

{{#is_alert}}
5xx errors from the payment API are increasing. Open the runbook link.
@pagerduty-payment-api
{{/is_alert}}
{{#is_recovery}}
5xx errors from the payment API have subsided.
@pagerduty-payment-api
{{/is_recovery}}

{{#is_recovery}} is a condition that is displayed when the monitor returns from any of ALERT / WARNING / UNKNOWN / NO DATA (source: Variables). Writing different wording and recipients per monitor status uses the mechanism called notification variables, and how to compose the message body is left to the Alert glossary entry.

Paging on-call responders from the incident screen

The PagerDuty integration can be used not only from monitor notifications but also from within Datadog Incident Management. This route helps when a person notices something wrong before a monitor fires, or when you want to page an additional team in the middle of a response. Listing what the official documentation says by route gives the following table (as of October 2026; source: PagerDuty).

Routes for sending pages from incidents to PagerDuty (as of October 2026)
RouteWhere to configureHow it works
Page directly from an incidentThe screen of each incidentChoose a user or team to page, and sent pages are listed on the Pages tab
Notification rulesNotifications under Settings in Incident ManagementWhen conditions such as declaration or attribute updates are met, pages are sent automatically to a PagerDuty service
AutomationsAutomations in Incident ManagementPages a PagerDuty service as part of a larger automated response
Slack actionsSet the paging provider to PagerDuty in Incident SettingsButtons in the incident channel page through PagerDuty instead of Datadog On-Call
Source: PagerDuty

When paging from Slack, the official documentation says that paging through PagerDuty with the /datadog page or /dd page commands is no longer supported. If old runbooks still contain those commands, rewrite them to use the action buttons. The flow from declaring an incident to the postmortem is in the Incident Management explanation, and monitor-side notification rules that add recipients afterward by tag are in the Notification Rules glossary entry. Despite sharing a name, incident notification rules and monitor notification rules are configured on different screens.

Watch a PagerDuty incident open and close with a test monitor

Once setup is done, before touching production monitors, create one test monitor and run it from paging through resolution. Selecting a state transition from Test Notifications at the bottom right of the monitor screen and sending it delivers a notification with [TEST] in the title, which is recorded as an event (as of October 2026; source: Notifications). Send both the trigger transition and the recovery transition, and watch the incident open and then close in PagerDuty. If the incident does not close on the test recovery, confirm it by actually letting the test monitor recover. Records of the PagerDuty incident opening and being resolved also appear as PagerDuty events in Datadog's Events Explorer (source: PagerDuty).

  • Write the handle for both trigger and recovery in the test monitor's notification message
  • Send a trigger transition with Test Notifications and see whether an incident opens in PagerDuty
  • Send a recovery transition from the same screen and see whether the PagerDuty incident closes (if it does not, check with an actual recovery)
  • Check in Events Explorer that both the PagerDuty trigger and resolution records are present
Created based on Notifications / PagerDuty

Once the round trip works, open the notification messages of your existing monitors and find any where the handle is only inside {{#is_alert}}. Whether to keep using PagerDuty or move to Datadog On-Call is a separate decision, and the comparison of On-Call and PagerDuty and the On-Call explanation provide material for it.

References

Share