Why Root Cause Analysis Takes Hours: The 3 AM Correlation Problem
Your phone lights up at 3:11 AM. PagerDuty: [P1] checkout-api p99 latency above 4s for 10m. You're awake, sort of, and the clock on root cause analysis has been running for a while already. Latency started climbing at 2:52, and it took nineteen minutes of breached thresholds before anything decided to wake you.
The page tells you a symptom. The cause is three systems away, behind six browser tabs, a grep session, two wrong hypotheses and one Slack message to the only person who remembers how checkout talks to Redis. Here's that incident minute by minute: where the investigation time goes, and why the tooling you already own can't give it back. The complete guide to root cause analysis covers the method itself.
None of this is a competence problem. It's an architecture problem. Dashboards display state. They don't explain it, and the explanation you need at 3 AM lives in two places no dashboard renders: how your services actually connect, and everything that changed. That gap is what Resolve was built to close.
The anatomy of a slow incident
Follow the checkout latency spike from detection to resolution. The phase ranges below are illustrative, drawn from what on-call engineers describe. Your numbers will vary. The shape rarely does.
01Detection
19 min
Evaluation windows and a raised threshold delay the page.
02Context
24 min
Six tabs, six time axes, correlated by eye.
03Hypotheses
40 min
Three theories, two ruled out, one contradiction.
04Escalation
28 min
Finding and waking the one person who knows the topology.
05Fix
4 min
Roll back the mesh config. The part the incident was about.
Phase 1: Detection lag (5 to 20 minutes before the page)
The incident didn't start when you got paged. It started when the first checkout went from slow to broken. Between those two moments sit several layers of deliberate delay:
- Evaluation windows. The alert requires p99 to breach a threshold for 10 consecutive minutes. That window exists to suppress flapping, and it works, by eating minutes at the start of every real incident.
- Aggregation intervals. Metrics are scraped every 15 to 60 seconds, then rolled up. A regression that starts at 2:52 may not reach the alerting pipeline until 2:54.
- Threshold conservatism. After a week of false alarms, someone raised the threshold from 2s to 4s. Reasonable. It also means the incident has to get twice as bad before anyone hears about it.
By 3:11 the outage is nineteen minutes old, and nothing you do recovers that time. Most retrospectives start the clock at the page, so this phase rarely shows up in them.
Phase 2: Context gathering, or the six tabs (15 to 45 minutes)
You're on your laptop by 3:16. You open, in roughly this order:
- PagerDuty, to acknowledge and read a payload that tells you what you already know: p99 is high.
- The Datadog dashboard for checkout-api. Latency up, errors slightly up, CPU and memory normal.
- Grafana, because the database metrics live there for historical reasons. Postgres connections look elevated, not saturated.
- CloudWatch, because the RDS metrics never made it into Grafana. You wait for the console, then wait again after it logs you out.
- A terminal, to see whether pods are restarting, being evicted or newly deployed.
- Slack, to check
#deploysand#incidentsfor anything that shipped tonight.
Each tab has its own time axis, timezone handling, aggregation granularity and idea of what "checkout" means as a label. You're now doing the core activity of incident investigation, manual cross-tool correlation: two graphs side by side, squinting. Does the latency inflection at 2:52 line up with the connection-count bump at 2:49, or is that just how the rollup buckets fell?
Phase 3: Hypothesis testing (20 to 60 minutes, often the largest chunk)
At 3:40 you have a working theory: something is slow between checkout-api and Postgres. Each hypothesis follows the same loop (form a theory, gather evidence, discard or escalate), and each loop costs 5 to 15 minutes.
Hypothesis 1: a bad deploy. You check what changed:
kubectl rollout history deployment/checkout-api -n prod
The last rollout was 14 hours ago. Nothing shipped tonight. Discard.
Hypothesis 2: the database is the bottleneck. You pull the slowest queries:
SELECT query, calls, mean_exec_time
FROM pg_stat_statements
ORDER BY mean_exec_time DESC
LIMIT 10;
The usual suspects, slightly slower than baseline, nothing dramatic. Postgres looks like a victim, not a cause. Discard, mostly.
Hypothesis 3: something downstream of checkout is timing out. You go to the logs:
kubectl logs deploy/checkout-api -n prod --since=60m \
| grep -iE "timeout|connection refused|5[0-9]{2}" \
| tail -50
There it is, hundreds of times: redis: connection pool timeout against the cart-session Redis. Except the Redis dashboard looks fine. CPU flat, memory flat, no evictions.
It's 4:20. You have a symptom (checkout slow), a proximate cause (Redis pool timeouts) and a contradiction (Redis is healthy). This is where most investigations stall, because the answer isn't in any dashboard. It's in the relationship between systems.
Phase 4: The tribal-knowledge lookup (15 to 40 minutes, plus one ruined night for someone else)
You need the person who knows how cart-session Redis is wired. The service catalog was last updated eleven months ago. The runbook says "escalate to the platform team." A Slack search for "cart-session" turns up a thread from March where Priya explained the failover topology.
At 4:31 you page Priya. She joins at 4:39 and asks one question: "Did anything change on the network path? There's an Envoy sidecar between checkout and that Redis. It's the only service still on the old mesh config."
You had no idea that sidecar existed. It's on no dashboard. Three minutes later you have it: a routine node-pool upgrade, announced weeks ago in a channel you're not in, recycled the node running that Envoy at 2:47. The sidecar came back with a stale endpoint config and has been half-blackholing Redis connections since. Redis was healthy the whole time. The dashboards told the truth. They just didn't tell the story.
The mesh config is rolled back, connection pools drain, and latency recovers by 5:05. Total user impact: a bit over two hours. Time spent on the fix: about four minutes.
Where the minutes actually go
| Phase | Illustrative range | What it looked like tonight |
|---|---|---|
| Detection lag | 5 to 20 min | 19 min (2:52 to 3:11) |
| Context gathering across tools | 15 to 45 min | 24 min, six tabs |
| Hypothesis testing | 20 to 60 min | 40 min, three theories |
| Tribal-knowledge lookup and escalation | 15 to 40 min | 28 min to find and wake Priya |
| Actual remediation | 5 to 15 min | 4 min |
The remediation, the thing the incident was nominally about, took 4 of the 133 minutes between the first slow checkout and recovery. Everything else was finding out what to remediate. That's why a faster deploy pipeline or better rollback scripts barely move mean time to resolution. How to reduce MTTR covers the levers that do, and The Hidden Cost of Incident Time is the version of this math for the people who set budgets.
The table also hides the coordination cost. Priya had to be briefed on everything you'd ruled out. Had she escalated further, the third person would have been briefed again, worse, at 5 AM. Every escalation adds a briefing, and nobody counts those minutes.
Why dashboards show symptoms, not causes
The tempting conclusion is better dashboards: one more Grafana board, one pane of glass, and next time you'll see it immediately. Two structural facts say otherwise.
Metrics are aggregates, and aggregates destroy causality
A dashboard panel is a statistical summary: p99 across all requests, connections across all pods, errors across all endpoints. Aggregation is what makes metrics cheap to store and fast to render, and it's exactly the operation that throws causal information away.
"Redis is healthy" was true as an aggregate. The Redis process served every request that reached it, quickly. The failure lived in one path (checkout pods, through one stale sidecar, to Redis), and that path isn't a dimension on any chart. The aggregate averaged the broken path with the healthy ones and reported "fine".
That's why you can stare at forty green panels while users can't check out. Dashboards answer what is the state of component X. Incidents ask why does the interaction between X, Y and Z misbehave for this subset of traffic. No number of extra panels turns one question into the other.
Causality lives in the dependency path and the change history
Priya solved it in three minutes with two things you didn't have:
- The real dependency path. Not the wiki diagram, but which service talks to which today, through which proxies and pools. She carried it in her head. That's what "tribal knowledge" is: a map of the system stored in a person, with all the availability problems that implies.
- The complete change history. The trigger was a node-pool upgrade, which never entered your investigation because it wasn't a deploy. Your instinct to check
kubectl rollout historywas right. Your change feed was too narrow. Infrastructure maintenance, config pushes, certificate rotations, autoscaler decisions and flag flips mostly live outside the deploy pipeline, in systems that don't share a timeline.
One more command you probably didn't run at 4 AM shows how narrow the deploy view is:
kubectl get events -A --sort-by=.lastTimestamp \
| grep -iE "NodeNotReady|Killing|Scheduled|Pulled" | tail -30
Node replacements show up here, not in rollout history. Most teams look at it only after someone like Priya tells them to.
Almost every production incident sits where those two meet: a change, propagating through a dependency, to a symptom somewhere else. Neither is rendered anywhere, so a person (you, at 3:16, with six tabs) becomes the join engine. People are bad join engines at 3 AM. It isn't a lack of skill. The join is mechanical work across large, fast-changing data, which is exactly the work a sleep-deprived person shouldn't be doing.
The pattern behind every long incident
Strip away the specifics and tonight reduces to four gaps.
01Detection
Late page
The system knew double-digit minutes before you did.
02Correlation
Joined by hand
The evidence existed across tools, and you lined it up by eye.
03Topology
Unrendered path
The cause ran through a sidecar no dashboard showed.
04Changes
Not a deploy
The trigger was maintenance, so it never entered the search.
- A detection gap: the system knew before you did, by nineteen minutes.
- A correlation gap: the evidence existed across tools, and nothing joined it, so you joined it by hand.
- A topology gap: the causal path ran through a component no dashboard rendered and only one person remembered.
- A change-visibility gap: the trigger never entered the investigation because it didn't look like a deploy.
More dashboards close none of these. More dashboards are the correlation gap: every new pane is one more tab in Phase 2. What closes them is the join itself, done by something that reads the full change history and follows the path from the symptom back to the change. Part two of this series shows how far you can get building that yourself with runbooks and native tools.
The way out is the join, not more dashboards
| Dashboards plus an on-call engineer | Resolve | |
|---|---|---|
| Grouping | Three tools, three pages | One cluster, one incident |
| Change feed | Deploys, if you remember to look | Rollouts, node events, config and flags, read for the window |
| Dependency path | In one person's head | Read from the cluster during the investigation, sidecars included |
| Hypotheses | The first plausible story wins | Competing explanations, each checked against what it predicts |
| Escalation | Re-brief every new person | The timeline already holds what was ruled out |
| What 3:11 looks like | A symptom | An incident with the investigation already under way |
The deeper difference is who does the join. Dashboards leave it to a tired person working from memory. Resolve does it as soon as the incident opens, against the change history and the live system, and leaves the person with a decision.
Here's how that plays out on tonight's incident. Pulse, Resolve's detection layer, drops duplicate, rate-limited, snoozed and known-noise alerts and groups the rest, so the latency page, the Redis timeouts and the connection alarms arrive as one incident. CloudThinker then reads what changed in the window across your connections (rollouts, node events, mesh config) and names the explanations that fit, each with what it predicts. It checks them with reads only, and it can start subagents to check several services at once. The verdict comes with an evidence label, Verified, Inferred or Cause unproven, and a causal graph from the first failure to the visible symptom. Tonight that graph would run from the 2:47 node replacement, through the stale sidecar, to the Redis pool timeouts and checkout p99.
Priya's knowledge stops being a single point of failure too. Every investigated incident leaves a recollection in incident memory, which the next investigation reads before it forms a hypothesis.
What Resolve may do about it goes through Auto Mode, so you decide what runs on its own and what waits for approval. Tonight, that's a proposed mesh-config rollback, waiting for a person.
Getting started
Ask in plain language, on an incident you already understand:
"checkout-api p99 has been above 4s for ten minutes. Correlate everything that changed in the last two hours (deploys, node events, config, autoscaling) with the path checkout takes to its dependencies, and tell me the most likely cause. Propose only, change nothing."
"For last week's three longest incidents, show how long each phase took and which change triggered each one."
Connect a source and ask your first question in Resolve.



