It’s 2am. The after hours alert call sounds. A yawning engineer logs on to investigate, only to find themselves staring at a top level dashboard that insists everything is completely fine. Meanwhile, customers are seeing errors and can’t make purchases.
Working at New Relic, I often hear this story from new and prospective customers. For incident responders, finding a needle in the haystack while the clock ticks, is incredibly frustrating. But for Nik at Domino’s, he’s completely flipped the script. By combining granular monitoring with strictly guardrailed AI runbooks, the 2am triage has become automated and the execution, proactive. Here Nik explains exactly how Domino’s got there.
From silent failures to total visibility
At Domino’s the catalyst for our automation was an incident when a specific failure was masked by overarching error rates that appeared normal. While APM service levels looked healthy, the specific transaction responsible was actually failing at an error rate. High traffic drowned out the errors from one single market. To fix this, we created key transaction entities for all critical key transactions, and Pathpoint flows for each critical step of the ordering journey, gaining immediate visibility into transaction health.
By integrating the VS Code Copilot Agent (using Claude’s Sonnet models) with the New Relic MCP server, we transformed our troubleshooting process:
Data-driven error thresholds: A bulk analysis of average error rates across 81 APM services provided concrete data to set accurate alerting thresholds, including custom limits for naturally noisy services that experienced higher error rates due to uncontrollable external factors.
Uncovering hidden insights: Observing the AI agent's NRQL queries revealed previously unknown backend tables and data sources, proving that AI could efficiently navigate complex data and identify likely causes, even without historical context.
Automating runbooks: By merging AI's NRQL queries with our manual processes, the AI was able to autonomously run through 10 troubleshooting sub-categories more quickly than a human could complete the first few steps.
Visualised order journeys: Pathpoints now map each key transaction entity directly within the customer ordering flow, while bulk analysis data has helped establish accurate SLOs for critical APM services.
By using New Relic and AI to complete a bulk analysis of service error rates, our team ensured that only legitimate or critical issues triggered alerts. This shift to proactive observability has improved our overall system reliability, finally allowing the team to understand short-lived incidents after the fact.
Taming the AI: Building guardrail runbooks for the 2am triage
Automating the initial triage phase saved significant incident response time, but we needed to mitigate AI risks and make the models more deterministic. We implemented strict instruction files as guardrails, telling the AI agent in plain English what rules to follow in the copilot-instructions.md file. By providing structured formats, specific context, naming conventions, timestamp formats, and explicit exit conditions, we prevented unproductive AI loops. As a result, manual "needle in a haystack" investigations have been replaced with efficient, automated models that allow responders to quickly understand the situation.
Guardrails included in copilot-instructions.md file
Guardrails for troubleshooting key transaction alerts
The next iteration: Shifting from reactive fixes to automated execution
By removing manual work and automating root cause identification, our team can finally step back to focus on big-picture tasks and proactive alerts. While we haven’t fully implemented SRE agents for these workflows just yet, we have begun testing them and anticipate the biggest value-add will be having an AI generated analysis completed and accessible in New Relic regarding incidents, meaning that our on-call engineers won’t need to setup instruction files locally, and can go through the AI prompt and triage themselves. To date, our foundation has already delivered massive value by:
Drastically reducing the time taken to identify the root cause of an issue impacting sales from 30-45 minutes down to 10 minutes, thanks to AI runbooks.
Proactively catching errors before customers or stores report them. For example, a menu-loading issue previously not caught by previous monitoring cost us at least an hour of impacted trade time. Now, we spot these immediately.
Uncovering hidden bugs that once slipped through the cracks through proactively raising bug tickets with dev teams to resolve friction points that are negatively impacting the customer ordering experience.
This shift to automated, efficient systems means we’re now evaluating New Relic Autopilot capabilities for future automated incident response. Through these iterative investments, we’ve created a strong baseline for achieving high-quality results. Our team now shares a clear vision for the future of incident response: a workflow where AI instantly identifies the root cause of an alert - like a regional outage - without needing any manual investigation.
Las opiniones expresadas en este blog son las del autor y no reflejan necesariamente las opiniones de New Relic. Todas las soluciones ofrecidas por el autor son específicas del entorno y no forman parte de las soluciones comerciales o el soporte ofrecido por New Relic. Únase a nosotros exclusivamente en Explorers Hub ( support.newrelic.com ) para preguntas y asistencia relacionada con esta publicación de blog. Este blog puede contener enlaces a contenido de sitios de terceros. Al proporcionar dichos enlaces, New Relic no adopta, garantiza, aprueba ni respalda la información, las vistas o los productos disponibles en dichos sitios.