Verify One Incident Opens and Resolves With CloudWatch Omni PagerDuty

Test CloudWatch Omni PagerDuty delivery with one staging checkout alert. Verify that a sustained breach opens one incident and recovery resolves that record.

CloudWatch Omni PagerDuty illustration with Critical and OK event stubs joined by the alert ARN to one test incident record.CloudWatch Omni PagerDuty illustration with Critical and OK event stubs joined by the alert ARN to one test incident record.
Illustrative checkout test. Critical opens the incident and OK resolves that same record when both deliveries reach the same service with the default alert ARN. Based on the AWS CloudWatch User Guide.

Your staging checkout agent crosses its error threshold. The alert turns Critical, a PagerDuty incident opens, and the error rate returns to normal. Is the incident still open? A CloudWatch Omni PagerDuty test needs to answer that question before you use the route for production. In this walkthrough, you’ll configure one alert, drive it through a controlled breach, and watch recovery resolve the exact incident you recorded during the breach.

You’ll need an existing Omni test space, a queryable staging checkout error-rate metric, permission to configure alerts and access profiles, and an approved PagerDuty test service. Use a staging fixture you can hold at a known error rate across multiple evaluations. The worked case supplies the values, timings, routing and expected observations. It assumes the fixture already emits telemetry into your test space. The observations are illustrative, with no live run reported here.

AWS announced the native integration on November 25, 2026. The announcement describes incidents carrying severity, the affected service and a link back to Omni. That link gives the operator an anchor for matching an incident to its origin. AWS announcement

Connect the checkout test service

  1. Open the existing Omni test space and confirm its AWS Region. The worksheet uses us-east-1, which AWS lists as US East (N. Virginia). The PagerDuty service region is a separate setting. For the example, choose US because the approved account uses the US PagerDuty sign-in. AWS directs operators who sign in at a .eu.pagerduty.com address to choose EU. Omni Regions · AWS integration guide
  2. In Omni, open Settings → Integrations and inspect the PagerDuty card. If it already says Connected, compare the account and service region with the approved target. If the approved account has yet to install the Omni app, use Install the app in PagerDuty and have a PagerDuty Admin or Account Owner review the scopes and install it. Then use Enable on the card and approve the connection in PagerDuty. Confirm that the card returns to Connected and record the integration ARN shown there. AWS integration guide
  3. On the connected card, choose Add services. In PagerDuty, select only the approved Checkout Staging Test service for this exercise. Return to Omni when PagerDuty confirms the addition. Check the service identifier with the service owner as well as the display name. The example uses the illustrative ID PABC123. Use the identifier of your approved service when configuring the grant. AWS integration guide
  4. Confirm who the test service’s escalation policy may page and agree on the test window with those responders. Record the open incidents already present on the service before injecting the breach. Have the observer leave this test incident open for automatic recovery. If the policy requires a responder to acknowledge it, record that action and keep watching the same incident. PagerDuty documents that acknowledgment pauses escalation and that the first escalation target can be notified immediately when an incident triggers. PagerDuty escalation policies

Connecting an account and adding a service are separate operations. A Connected card identifies the linked PagerDuty account, while Add services determines which services can appear as alert destinations. If the card points at an unexpected account, pause before choosing a destination and ask the space owner for the approved test space. AWS documents one PagerDuty connection per AWS account within a Region, and the integration applies across the space. Replacing a connection just to get the worksheet service into the dropdown could affect other alerts.

The approved responder matters even if your only acceptance criterion is a change in incident status. Opening the incident starts the test service’s escalation policy. Knowing the policy and the preexisting incident list also helps separate two failure reports that sound similar over chat. “I received no page” concerns responder notification, while “the service has no matching incident” concerns incident creation. Keep the PagerDuty service open during the test so you can answer the second question directly. For a broader view of the operator’s role in monitoring agent workloads, see AgentOps.

AWS What's New page announcing that Amazon CloudWatch Omni integrates with PagerDuty.
AWS What's New announcement for the CloudWatch Omni and PagerDuty integration, dated November 25, 2026. · Original source

Preview the staging query and set the windows

  1. In Explore, run the existing PromQL query for the staging checkout agent. Start with the source and selector your test space already uses. For the worksheet’s illustrative metric, checkout_agent_error_ratio{environment="staging",agent="checkout"} selects a single gauge series that already expresses errors as a fraction of attempts, assuming your fixture exposes those exact metric and label names and one series matches. If the query yields more than one series, tighten the existing selector and rerun it. AWS Alerts guide
  2. Create an alert from the Explore query, or choose Create alert on the Alerts page and run the query in the editor. Select Field value and compare the returned series value with a strict greater-than threshold. Enter 0.05 as the Critical threshold for the fractional gauge. Leave Warning unset for this exercise. AWS documents the value field for PromQL and supplies an alert example using the greater-than comparator. AWS CreateAlert reference
  3. In the alert configuration form, inspect the preview of recent data against the threshold. Confirm that your healthy sample appears as 0.01 and that the threshold sits at 0.05 in the same units. Review a period containing fixture data, and use the query result to confirm that the series belongs to the staging checkout agent. If a recent 0.06 sample is available, verify that it sits above the threshold before proceeding. AWS Alerts guide
  4. Set Evaluation interval to five minutes, Pending duration to ten minutes and Recovery duration to five minutes. Keep missing results as No data by choosing the handling that leaves an empty result in NODATA. The AWS API reference illustrates the same 300-second interval, 600-second pending duration and 300-second recovery duration together and documents NODATA examples. The console guide explains what each timing setting controls. AWS CreateAlert reference · AWS Alerts guide

The completed worksheet below assumes one query result per evaluation. One alert can track several contributing series and reflect the worst contributor, so a second series left above threshold could keep the alert Critical after your intended staging agent recovers. Look at the contributor list if the detail view disagrees with your staging fixture. Leftover series from another checkout deployment would make the test ambiguous. The same discipline of checking the returned series against the intended target appears in the Grafana bounded query guide.

The unit check prevents a convincing false result. A gauge expressed in percentage points would report 1 at baseline and 6 at breach. Against a threshold of 0.05, both readings would count as breaches. For this worksheet, use a query that returns a ratio. If you see percentage points in your environment, either use your existing ratio query or recalculate the threshold in the units the query actually returns. Examine the value alongside the series labels. A correctly scaled reading for the wrong agent is still the wrong input.

The three timing settings make different decisions. The evaluation interval controls when Omni samples the query result. The pending duration requires the breach to persist before the alert fires. The recovery duration requires a clear result to persist before the alert returns to OK. A fixture change can land between evaluations, and the displayed query result may reflect that change only after ingestion. Use the alert’s chart and state timeline to identify when Omni actually sees the new value. Use the wall clock to manage the test window and the timeline to judge the result.

Line chart for the CloudWatch Omni PagerDuty test showing 1%, 6% and 1% in phase order, with only 6% above the 5% threshold.Line chart for the CloudWatch Omni PagerDuty test showing 1%, 6% and 1% in phase order, with only 6% above the 5% threshold.
Illustrative task:omni-pd-01 crosses the 5% threshold only during the breach phase. The worksheet supplies the values and AWS’s Alerts guide supplies the evaluation behavior. Phase spacing does not represent elapsed time.

A no-data interval leaves a hole in the test. When you bring the error rate down, keep the telemetry flowing and look for a fresh 0.01. Stopping the staging traffic or publisher can remove the result you need to establish recovery. A quiet destination could then reflect a missing query result. The example requires a visible, below-threshold value and an actual OK transition before it expects a resolve event.

Scope the profile and save both event states

  1. Use a test access profile such as checkout-staging-alerts. In Settings → Space → Access Profiles, open the profile and confirm that you may assume it. In Manage permissions, check which alerts may assume it and confirm that the new alert will be covered. In a dedicated test space you can use the documented Allow all alerts option for a dedicated test profile. If the profile is limited to specific alerts, coordinate the assumption grant with the profile administrator before relying on the new alert. AWS access profiles
  2. Verify that the profile can read the staging telemetry used by the query. On the alert form, deliberately select the test profile. The preview runs with your own access, while the saved alert evaluates with the profile’s permissions. If the console refuses to create or update the alert, use Manage access profiles to check who can assume the profile and whether it can read the queried data. AWS access profiles
  3. In the alert’s notification configuration, add a PagerDuty rule for Checkout Staging Test and select Critical and OK on that rule. In PagerDuty additional settings, leave the deduplication override unset. If Omni rejects the save and offers Grant permission, open the prefilled grant form and review the permission for the selected alert profile. Use cloudwatch:InvokeIntegration on the connected PagerDuty integration ARN and scope it to the approved service ID. Save the grant and then save the rule again. AWS says a new grant can take a few minutes to take effect. AWS integration guide
  4. Reopen the saved alert and verify the profile, enabled notification status, both selected states and the test service before starting the breach. Review the profile’s existing grants for broader integration access. To enforce the service boundary, use a test profile whose effective PagerDuty invocation permissions are limited to the approved service. Keep the profile and route fixed through the recovery leg. AWS access profiles · AWS integration guide

The filled console worksheet uses illustrative resource names and a sample service ID. The alert ARN is assigned to the alert you save, and the integration ARN comes from the connected card. The integration ARN identifies the resource the profile may invoke. The alert ARN supplies the default deduplication key that ties the two events together.

Case                        task:omni-pd-01
Omni space and Region       checkout-staging-test / us-east-1
Alert name                  checkout-staging-error-rate-test
Language and query          PromQL / checkout_agent_error_ratio{environment="staging",agent="checkout"}
Expected series             One staging checkout series, fractional error ratio
Threshold comparison        Field value / value / greater than 0.05
Warning                     Unset
Empty result                No data (NODATA)
Evaluation interval         5 minutes
Pending duration            10 minutes
Recovery duration           5 minutes
Alert access profile        checkout-staging-alerts
Profile delivery grant      cloudwatch:InvokeIntegration on the connected PagerDuty integration ARN
Grant service scope         PABC123 only (illustrative test service ID)
PagerDuty service region    US
PagerDuty destination       Checkout Staging Test (PABC123)
Notification states         Critical and OK on the same rule
Deduplication override      Unset (default alert ARN)
Scheduled fixture values    Healthy 0.01 / Breach 0.06 / Recovery 0.01
Pass condition              One matching incident opens and the same record resolves automatically
Stop procedure              Disable alert notifications, restore 0.01, resolve any remaining test incident

The trigger and resolve are independent deliveries. AWS says that Critical sends a trigger event with critical severity and OK sends a resolve event with info severity. Both use the alert ARN by default. The ARN pairs the events from the same alert, while the shared destination keeps them on the same service. Selecting both states on a single rule makes those choices visible together when an operator checks the saved configuration. AWS checks the grant when the notification rule is saved and again at delivery. A grant revoked after the first delivery can block the second. AWS integration guide

CloudWatch Omni sends a Critical trigger and later an OK resolve to the same PagerDuty test service after checking the profile grant for each delivery.CloudWatch Omni sends a Critical trigger and later an OK resolve to the same PagerDuty test service after checking the profile grant for each delivery.
Pair the events using the default alert ARN and verify the same PagerDuty incident ID at both ends of the test. Event actions and delivery-time grant checks come from AWS’s integration guide.

Access to create or edit an alert and the permissions used by that alert at evaluation time have different owners in many teams. Keep the profile name in the test notes so the profile administrator can review the same object if the run fails. The read-only observability workflow covers a related identity question for a different integration, where the telemetry reader also needs its own permissions.

Drive the breach and follow one incident ID

  1. Set the fixture to 0.01 and keep metrics arriving. Open the alert detail view and the PagerDuty test service side by side. Record the baseline value, the status and the time in a common time zone. Proceed once the detail view shows a fresh healthy reading and OK. Starting from a known OK state gives you a visible transition when the next phase breaches.
  2. Move the fixture to 0.06. Keep the 6% reading steady until Omni shows Critical. Use the chart to find the first breaching sample Omni actually evaluated, then compare later samples and the state timeline with the configured pending duration. If a single spike drops back to 1% before the pending duration is met, restart from steady baseline and run the sustained breach specified in the worksheet.
  3. Find the new matching incident on Checkout Staging Test. Record its incident ID or permalink, opening time, and the Omni link carried in the alert context. Follow that link and compare the alert and affected service with the test you ran. Use the ID to return to the same PagerDuty record during recovery. If a teammate opens another incident on the same service, match it to its own source before counting it in the test.
  4. Return the fixture to 0.01 with the metric still reporting. Watch for the first fresh clear reading and then an OK transition after the recovery duration. Keep notifications enabled through this phase. Reopen the saved PagerDuty incident and verify that it shows Resolved without a manual resolution. Compare the Omni OK transition time with the PagerDuty resolution time. Record the test as incomplete if either observation is missing. AWS Alerts guide · AWS integration guide
Input Action Expected result
task:omni-pd-01, staging checkout at 0.01 (1%), Critical above 0.05 Hold the fixture steady and open the saved alert detail view. Compare the evaluated value and state with the preview. Illustrative baseline shows one staging series at 0.01 and Omni in OK. No new matching Critical incident opens.
task:omni-pd-01, staging checkout at 0.06 (6%) Hold the value through the ten-minute pending duration as seen by Omni. Open the new matching incident on Checkout Staging Test and save its ID. In the illustrative breach, the alert transitions to Critical and one matching PagerDuty incident opens with the Omni alert link.
task:omni-pd-01, staging checkout back at 0.01 (1%) Keep telemetry and notifications on through the five-minute recovery duration. After the Omni OK transition, reopen the incident ID saved in the breach phase. In the illustrative recovery, the saved PagerDuty incident shows Resolved without manual intervention. Recovery creates no second matching incident.

Use the incident’s own identifier as the comparison point. In an illustrative notes entry, PD-TEST-42 represents the one incident observed open during the 6% phase and revisited after recovery. The two observations are a pair only if they refer to the same record. A cleared list of open incidents provides less information because a filter may have changed or a teammate may have resolved the incident. Save the actual permalink and record any human action separately. The AWS Lambda triage guide picks up a different job after the responder begins diagnosis.

Diagnose the missing transition and stop the test

Observation Next check
The preview has no value or shows multiple series Rerun the query in Explore and inspect the metric, time range and labels. Confirm the fixture is still emitting.
The preview shows 0.01 but the saved alert persistently shows No data Check the selected profile and its telemetry access and assumption grants. Compare against the same test-space query and time range.
The saved alert sees 0.06 but has yet to reach Critical Compare the first evaluated breach and subsequent readings with the pending and evaluation settings. Check for a transient spike or a gap in reporting.
Omni shows Critical but the test service has no matching incident Confirm notifications are enabled, Critical is selected, the destination is the approved service and the profile grant still covers the integration ARN and service ID.
PagerDuty opened the incident, but Omni has yet to return to OK Look for a fresh 0.01, inspect the contributors and check the recovery duration.
Omni shows OK but the saved PagerDuty incident remains open Check the OK selection, destination, deduplication override and current grants. Open the tracked PagerDuty record and verify its link leads back to the test alert.

For a missing incident, start with whether the saved alert ever reached Critical. A working preview can coexist with a saved alert that reports No data because the preview and the alert use different identities. Check the profile’s access to the actual metric if the preview returns the correct series. A Critical transition with no incident on the approved service points you toward notification configuration and delivery. Inspect the integration and destination list to confirm that the intended service was added. A service with a similar display name can send you looking at the wrong PagerDuty timeline. AWS access profiles · AWS integration guide

When recovery fails, check the last known transition first. If Omni stayed Critical, fix the telemetry or evaluation problem before changing the destination. If Omni went OK, inspect the saved rule for its OK state and compare its destination and deduplication settings with those used when the incident opened. If the route was edited during the test, record that change. An incident still open after the alert recovered might also reflect a grant revoked between the two deliveries. AWS documents that state changes, configuration changes and notifications are recorded as space telemetry for 90 days, so you can use that history alongside the alert timeline when the latest state alone is ambiguous. AWS Alerts guide

If event delivery reached the test service but a responder expected a page and received none, inspect the escalation policy’s target and coverage during the recorded window. A coverage gap can send the incident to a later rule with an on-call responder. Keep that investigation tied to the incident that actually opened. For a separate example of matching a configured route to evidence at its receiving component, see the Foundry MCP gateway routing guide. PagerDuty escalation policies

  1. After recording a pass, or as soon as you abort, disable notifications on checkout-staging-error-rate-test from Alerts. Restore steady healthy telemetry if the fixture is still breaching. Verify the alert continues to evaluate and its notifications are disabled. Use the per-alert control to retain the timeline and avoid interrupting other alerts that share the connection. AWS Alerts guide
  2. Reopen the tracked incident in PagerDuty. If it remains open, manually resolve that specific test record with the service owner’s authorization. Record manual cleanup as a separate outcome and keep the automatic recovery check marked incomplete. PagerDuty escalation policies
  3. If you need a retest, correct the identified setting, verify that the staging signal is steady at 0.01 and start a new test window with notifications enabled. Record the next incident’s own ID and preserve the previous result. The handoff from this exercise is the saved alert configuration plus the matching incident record and both state transitions, or a concrete diagnosis of which observation is still missing.

Sources

YOU'RE THROUGH THIS ONE.

Keep connecting the dots.

Back to the library

Many assistants.
One place to remember.

Bring your AI sessions, context, and usage together with Automater.

Meet Automater