Start with a defined CX measure, comparable complete windows and an owner who will investigate its alert. This guide adds an external monitor and verifies its notification and recovery path.
The fictional returns review falls from 80% to 60% resolution across two 20-conversation eligible populations. That is a 20 percentage-point change to investigate, not proof that release r2 caused it.
Before you begin
- Complete resolution tracking or choose another explicitly defined measure.
- Keep project, Environment, intent, channel, timezone and classification rule comparable. Follow native release review for Voiceflow’s release timeline and review controls.
- Have an approved notification destination, incident owner and recovery action. Use a staging monitor for this test.
- The CX worked examples include
summaries.json, with one reviewed aggregate per complete window.
Build an actionable monitor
Choose the condition and evidence threshold
Write the operational decision first: who acts, which conversations they inspect, and whether the response is investigation, a configuration fix or a reviewed rollback.
For the demonstration only, alert when a complete review has resolution below 70%, at least 20 eligible conversations, and outcome coverage of at least 95%. Choose production thresholds from your own workload and acceptable risk; these small fixture counts are not statistical assurance or recommended defaults.
Keep a separate telemetry/coverage check. Missing or unclassified data should not appear as a healthy resolution rate.
Produce one complete-window summary
Have the review/export owner reconcile the source conversation set before supplying the aggregate. The worked after-window snapshot includes:
This is the metric portion, not a complete publishable record. summaries.json includes the required IDs and common context. Validate it with node publish.mjs summaries.json; the developer adds --send only after checking approved data and server-held Datadog settings.
In a recurring implementation, the developer owns scheduling, complete-window selection and reliable delivery. Use an immutable review ID for each window/revision and filter to the intended current snapshot; reusing the same ID with changing values makes retries ambiguous.
Create the signal monitor
Open a submitted summary log in Datadog. Define cx_eligible_count as an integer facet, and cx_outcome_coverage and cx_resolution_rate as numeric measures. Numerical range filters require a numeric field definition. See facet and measure setup.
Then open Monitors → New Monitor → Logs. For the staging signal test, use:
Select the average of cx_resolution_rate and alert below 70; the query is scoped to one immutable snapshot, so identical delivery retries do not change the value. Do not average different review windows to create an overall resolution rate.
Guard coverage and delivery
Create two additional Logs monitors for the same project/summary stream, without the signal’s sample or coverage filters:
Configure missing-data behavior explicitly: Datadog log monitors do not enter NO DATA by default. Only indexed Standard Tier logs participate. Route export/coverage problems separately from a measured outcome regression.
Route an alert someone can investigate
In the notification, name the measure, review/window, project/Environment, threshold and owner. Include the saved query and the conversation investigation workflow. Use a permitted dashboard link, not customer text or credentials.
Separate severe immediate failures from slower quality/outcome reviews. Group by useful low-cardinality dimensions such as Environment or channel; do not create an alert group per customer, conversation or request ID.
Test alert, missing data and recovery
Use the staged 60% review to trigger the demonstration threshold, and verify the notification reaches its owner. Validate alert-cases.json with the publisher, then send its fictional low-coverage and healthy snapshots to the same staging destination. For the coverage test, select review returns-low-coverage: its 75% coverage should trigger the coverage monitor and fail the signal guard. For the missing-export test, use a separate test review with no submitted summary and wait for the configured interval and delay.
For this isolated fixed-review test, change the signal monitor’s review filter from returns-after to returns-healthy to exercise recovery above 70%, then restore it. In a real recurring monitor, verify recovery using a later valid healthy window. Confirm both notifications and record the response procedure before enabling production routing.
Record the alert contract
Retain the metric/rubric version, window definition, minimum sample, coverage guard, missing-data rule, notification owner and runbook. When a release or label definition changes, re-check those inputs before interpreting the trend.
Continue the investigation in the source conversations. Lower cost, fewer hand-offs or a higher score can still hide an unsuccessful customer experience.
Troubleshoot noisy alerts
A quiet channel pages the team
Distinguish low traffic from a broken export.
Set the expected cadence and minimum volume for that channel. Monitor the exporter/queue independently of customer volume. A zero-event period cannot by itself establish that the agent or channel is down.
A release comparison changes after re-scoring
Check criterion version and cohort membership before attributing the movement.
Keep unchanged definitions and comparable complete windows. If judgments or source mappings were corrected, issue a new review revision and update the query intentionally. Preserve the earlier snapshot for audit; do not blend both versions into one result.