AI Root Cause Analysis for Production Incident Alerts

AI Root Cause Analysis for Production Incidents

Written by: Nimesh Chakravarthi, Co-founder & CTO, Struct | Last updated: September 30, 2026

Key Takeaways

  • AI root cause analysis correlates logs, metrics, traces, and deployment history to group alerts into incidents and map blast radius across service dependencies.
  • Effective AI RCA follows three sequential stages: ingestion and normalization, correlation and grouping, and hypothesis generation with evidence testing. Skipping any stage produces confident-sounding but incorrect answers.
  • Credible AI RCA reports include cited evidence for every claim, eliminated hypotheses with disconfirming data, an explicit unverified line, and a confidence score.
  • AI RCA fails on missing telemetry, novel failure modes, correlated-but-unrelated signals, and ungrounded diagnoses. Production accuracy is significantly lower than benchmark scores across multiple studies.
  • Struct reads every PR to create monitors calibrated to code changes, baselines them after deploy, triages alerts, and delivers cited root causes with a median time-to-root-cause under 4 minutes.

See your channel in shadow mode →

How AI Root Cause Analysis Handles Production Incident Alerts

AI RCA runs three stages: ingesting and normalizing telemetry from multiple signal sources, correlating alerts into incidents and mapping blast radius via service topology, then generating and testing hypotheses against evidence. An LLM agent often drives this investigation loop. Because the stages are sequential, each constrains the next: poor ingestion produces poor hypotheses, no matter how strong the model.

  1. Ingestion and normalization. AI RCA systems commonly ingest telemetry from sources including OpenTelemetry, Prometheus, Grafana, Loki, Jaeger, GitHub deploy history, PagerDuty, and Alertmanager. They normalize signals to a shared resource schema so they can be joined on trace and resource identifiers. For end-to-end correlation to work, trace context must be propagated across every service hop, every log record emitted inside a span must carry trace_id and span_id, and metric measurements taken inside a span must carry the trace_id as an exemplar.
  2. Correlation and grouping. Related alerts collapse into one incident, blast radius is mapped across the service dependency graph, and investigation typically starts from the earliest abnormal signal and works forward. Correlation converts anomaly detection into operational value by grouping anomalies that share a root cause into a single incident and ranking that incident by business impact, working along two axes simultaneously: temporal and topological.
  3. Hypothesis generation and evidence testing. Candidate causes are drafted from the evidence around the alert window, then confirmed or eliminated by targeted follow-up queries. The LLM agent itself drives this investigation loop. An AI SRE agent performs root cause analysis by iterating a query loop against the telemetry store: it drafts candidate causes from evidence around the alert window and runs targeted follow-up queries to confirm or eliminate each hypothesis, then reports ranked hypotheses with supporting evidence for a human to verify.

Removing source-code access reduces RCA accuracy and increases the hallucination rate for every model evaluated on ORCA-bench, which makes code context a load-bearing input rather than a nice-to-have. An investigator without access to what the code was supposed to do can group symptoms, but it cannot judge whether production is working as intended.

What A Credible AI Root Cause Analysis Report Looks Like

A credible AI RCA report shows the alert that fired, the grouped alerts, the blast radius, a cited timeline where claims link to specific log lines, trace spans, or diffs, the hypotheses eliminated and why, a stated root cause with a confidence score, an explicit statement of what remains unverified, and the recommended fix. The unverified line belongs in every report because hiding it turns the output into a confident-sounding guess.

The following is a realistic report block for a single worked incident, structured as a demo transcript:

Alert
checkout.http.server.duration P99 crossed its latency threshold and fired an alert.
Grouped alerts
Downstream alerts across dependent services collapsed into one incident.
Blast radius
The affected checkout service and its downstream dependencies; unrelated services were unaffected.
Cited timeline
In the worked incident example (Incident 2094, checkout-api, 2026-07-12), checkout-api v4.812 was deployed at 21:52 UTC, 5xx errors on /cart/checkout began ~21:58 UTC, and a PagerDuty alert fired at 21:03 UTC for p99 latency > 3 s and 12% error rate.
Hypotheses eliminated
In the worked incident example, the eliminated hypothesis was “Tracking broken” (rejected because GA4 and DB both showed 200/week signups), while “Ad targeting reduced quality” and “Homepage reduced conversion” were confirmed.
Root cause
Connection pool reduced from 50 to 10 in a recent deploy (payment-api incident #12345), with root-cause confidence rated HIGH (the AI solution confidence was 0.67).
Not yet verified
Whether the underlying change was intentional or a config drift.
Recommended fix
In the worked incident example (INC-2041, payments service OOM outage), the recommended fix was to roll back the payments service to v2.7.4.

This artifact is the differentiator. Every claim carries its evidence, eliminated hypotheses are listed with their disconfirming data, and the unverified line is stated rather than hidden. AI conclusions without citations belong in demos, not production. Struct produces this artifact with every claim cited to a log line, trace span, or diff and a confidence score attached.

For a deeper treatment of how trace spans anchor RCA claims, see AI Root Cause Analysis From Traces: Cut MTTR by 80%.

See a cited RCA report on your own incidents →

Where AI Root Cause Analysis Breaks Down

AI RCA fails on missing telemetry, novel failure modes with no historical precedent, correlated-but-unrelated signals, and the risk of a confident-sounding wrong answer. Each failure mode has a distinct cause and a distinct mitigation.

The practical response to these failure modes is a read-only-first autonomy pattern. Investigation comes before action, monitor creation and tuning come next, and auto-fix PRs ship only when confidence is high, with human approval gates throughout. Most production AI SRE deployments keep remediation behind human approval, with autonomous execution limited to well-understood, low-blast-radius runbook actions. Struct implements this pattern explicitly: autonomy is earned per capability, and every action that touches production requires a confidence threshold before it proceeds without human sign-off. That discipline matters because the failure modes above are not equally distributed across tools, and the investigation starting point shapes which failures a system can avoid.

AI Root Cause Analysis Vs. Traditional RCA And Observability-Native AI

Observability-native AI investigates inside its own telemetry after an alert fires, traditional manual RCA depends on an engineer correlating dashboards by hand, and Struct starts at the PR so investigations are anchored to what the code was supposed to do. The table below shows why starting point matters: observability-native AI and manual RCA both begin at the alert, while Struct begins at the PR, which lets it anchor investigations to the code’s intent.

Approach What It Investigates Where It Starts
Observability-native AI (Datadog Bits AI, Dynatrace Davis, Sentry Seer) Telemetry already inside the vendor’s platform The alert, bounded by pre-captured telemetry and platform coverage
Traditional manual RCA Whatever dashboards the engineer opens The alert, with an engineer correlating signals by hand across browser tabs
Struct Logs, metrics, traces, GitHub deploy history, and source code across the full stack The PR, reading the change’s intent before the alert fires

Datadog Bits AI is bound by telemetry already inside Datadog. Dynatrace Davis is bounded by pre-captured telemetry and Smartscape coverage; when the signal confirming the root cause is never collected, it generates plausible explanations but cannot validate what was actually executed within the running service. Sentry Seer is an in-product debugger scoped to Sentry’s own data. Struct sits on top of these tools rather than replacing them. Monitors it creates live in the customer’s own observability account, and it uses Datadog and Sentry as signal sources rather than competing with them.

For a practitioner’s guide to how AI RCA fits into the on-call workflow, see Automated Root Cause Analysis for On-Call Engineers.

The Upstream Problem: Alerts From Monitors Nobody Trusts

Even the best investigation tool inherits the quality of the alerts it receives. RCA quality depends on monitor quality, and most alerts fire from monitors that were never written for the change that broke or that rotted into noise, so the investigation starts from a bad premise. An AI investigator working from rotted monitors is grouping symptoms of symptoms rather than finding root causes.

The scale of the problem is documented across multiple sources:

This is where Struct enters and where it differs from every other tool in the category. Struct reads every PR to create the monitors that change needs. It baselines them after deploy, triages every alert so only real impact reaches the team, and root-causes and fixes what breaks. This loop closes two problems that teams normally trade off against each other: alerting gaps, which widen as coding agents ship faster than anyone instruments, and alert noise, which Struct removes through adaptive triage that dismisses, retunes, or escalates every alert.

The results are measurable. Arcana eliminated roughly 14 hours a week of Sentry triage, runs 2,100+ automated investigations a month, and cut investigation time from 30 minutes to 2 minutes. Orb reclaimed 160+ engineering hours per month that previously went to on-call triage and investigation. A Series D healthtech root-caused 119 investigations in three weeks, deduped about half its alerts automatically, and surfaced four issues nobody was tracking.

“Very impressed with Struct. It’s now my go-to to triage alerts that are complex and stateful. It’s a key piece of our infrastructure at Fermat as shipping velocity increases rapidly with coding agents.” — Shreyas Kumar, CTO, FERMÀT

For a technical guide to trace-based RCA, see How to Use AI for Root Cause Analysis from Traces.

Cut alert noise with PR-based monitors →

What To Do Next

Start by running in shadow mode, where Struct works silently next to the real alert channel with nothing rerouted and no cutover risk. Shadow mode runs Struct next to the real alert channel so the comparison is against the team’s own incidents rather than a vendor demo. That setup lets you measure time-to-root-cause before and after deployment, and it takes about 10 minutes against an existing stack.

Metrics worth tracking from day one:

  • Time-to-root-cause (p50 and p95), before and after
  • Alert volume reaching humans per week
  • Override rate on AI conclusions (the honesty metric for RCA accuracy)
  • Number of issues found by Struct before a customer reported them

Frequently Asked Questions

How To Use AI In Incident Management?

Use AI for the investigation phase first. Let it correlate signals, group alerts, and produce a cited hypothesis while a human validates the conclusion. The evidence standard matters, so every AI conclusion should ship with its supporting log line, trace span, or diff. That way verification becomes a quick scan rather than a re-investigation. Keep remediation behind approval gates until accuracy is measured on the team’s own incidents rather than vendor benchmark data. A staged adoption pattern works well: start with enrichment only, move to summarization, then add scoped automation for specific well-understood failure classes once accuracy is confirmed.

Which AI Is Best For Root Cause Analysis?

The best choice is the one whose claims are verifiable. Evaluate on three criteria: whether every conclusion links to a specific log line, trace span, or diff; whether the vendor discloses production accuracy on real incidents with methodology rather than benchmark scores; and whether the system reaches the underlying root cause, such as the buggy commit or config change, rather than stopping at the service or deploy. Benchmark accuracy and production accuracy diverge significantly. LATS-RCA scored 91.3% on the LO2 benchmark but only 60–70% on 37 real production incidents over six months. Ask vendors for production numbers on incidents that match the team’s own stack.

Can AI Root Cause Analysis Replace On-Call Engineers?

No. As the ITBench result cited earlier shows, autonomous resolution remains rare, and novel failure modes without clear deployment correlation still require human judgment. AI RCA compresses the search space and reduces the context-gathering phase, the roughly 15–30 minutes of dashboard correlation that precedes real diagnosis, though it does not fully eliminate it, and engineers still decide whether the proposed cause explains the full failure path and whether the recommended fix is safe to apply. The practical model is simple: AI investigates, and a human approves consequential actions.

What Telemetry Do I Need For AI RCA To Work?

AI RCA needs logs, metrics, and traces with shared identifiers. Trace context must be propagated across service hops, logs must carry trace_id and span_id, and metric exemplars must link samples to traces. Missing execution-level data is the leading cause of AI SRE failures in production incidents. 44% of AI SRE and APM failures in production are caused by missing execution-level data that was never collected. The practical starting point is confirming that at least 50% of log records inside known traced services carry a trace_id value, and that metric histograms emit exemplars. Struct flags observability gaps at the PR and creates the monitors a change needs, which fills coverage in as the team ships.

What Is The Monitor Quality Problem And Why Does It Matter For RCA?

Monitor quality is the upstream constraint on RCA accuracy. As noted earlier, an investigator working from rotted monitors is grouping symptoms of symptoms rather than finding root causes. The alert that fires is already a lagging indicator of a bad premise because the monitor was not designed to detect this failure mode, so the signal it emits is ambiguous at best. Starting at the PR addresses this directly. Reading the change’s intent before it ships is the only way to create monitors that are calibrated to what the change was supposed to do and to baseline them against real post-deploy behavior rather than stale thresholds.

Conclusion: Start At The PR

Correlating logs after an alert fires has a ceiling, and monitor quality sets that ceiling. An investigator that does not know what the code was supposed to do can group symptoms, but it cannot answer the only question that matters: is production working as intended?

Struct is the only product that starts at the PR. It reads every PR to create the monitors that change needs, baselines them after deploy, triages every alert so only real impact reaches the team, and root-causes and fixes what breaks, with every claim cited to its evidence and a confidence score attached. Monitors it creates live in the customer’s own observability account. Setup takes about 10 minutes. Shadow mode runs it silently next to the existing alert channel, free, with no cutover risk (the evidence cites both a one-week and a two-week duration).

“We investigate every Sentry alert — no exceptions. Struct made that sustainable by eliminating manual triage. Senior engineers got their time back for higher-leverage work, and the broader team adopted it without friction.” — Siva Visakan Sooriyan, CTO, Arcana

Run Struct in shadow mode on your alert channel →

Read Next