How to Triage a Production Incident: An Eight-Step Pipeline

By Arkaitz

An incident triage pipeline is a fixed order of evidence-gathering steps run between the alert fired and a human decides, with a stated exit condition after every step. Ours has eight. That is the short answer to how to triage a production incident without handing it to whoever happens to be awake: you write the sequence down once, and the investigation stops changing shape with the person running it.

Before we wrote any of that down, our triage was free-form: whoever was on call, whatever dashboard they remembered. A composite scene, but a faithful one. At 03:14 UTC the page lands, and the timestamp is unhelpful in a precise way — it tells you when the alert fired, not when the incident actually started. So we opened the dashboard we remembered, grepped a few logs, dropped a question in the channel. Twenty minutes in, we were still in the wrong service, while the engineer who joined the call later fixed it from a dashboard nobody had thought to open. Nothing was wrong with either of us. There was simply no shared first move.

Incident management frameworks leave that gap open on purpose. incident.io's triage lifecycle gives you detect → investigate → prioritise → resolve or escalate, and Google's incident-command model gives you an Incident Commander, an Operations Lead, a Communications Lead and a live incident document. Neither one specifies which signal to pull first, in what order, with what check. That interior — the investigation order inside triage — is what this post fixes.

And it arrives mid-pitch: someone is telling you your pager is already automated. If you want to know what LLM agents can actually do for an engineering manager, this is the ground truth under that claim — a pipeline you can read, run and audit, with the agent's authority written down. The architecture half of the same trade is why the split decision created the incident: every boundary you drew is a hole this pipeline has to reach across.

Why does triage take longer than the fix?

Because the expensive phase is finding out, not fixing: roughly 80% of MTTR is spent identifying which change or component caused the outage in the first place — the Visible Ops Handbook number New Relic keeps circulating. You do not have a repair problem. You have an identification problem.

The bill for that is public. New Relic's 2025 forecast puts the median high-impact outage at $2M an hour — about $33,333 a minute — with a median organization losing $76M a year to them. Engineers spend a third of their time firefighting, and 41% of leaders still learn about outages the slow way — customer complaints, incident tickets, or manual checks. The same Uptime Institute figures behind New Relic's MTTR post put most outages at $100,000 or more.

Day to day, what it cost us was re-orientation: re-learning the dashboards, the timezone, the service map, every single time, because every investigation started from scratch.

Recovery is a capability, not a mood. DORA's 2019 data puts elite performers at restoring service in under an hour while low performers take between a week and a month — 2,604x faster. What DORA metrics actually measure is the primer if you want the four numbers behind that gap.

Why is the alert timestamp the wrong place to start?

Because alert evaluation is a pipeline with lag of its own: the timestamp tells you when Prometheus noticed the symptom, not when the symptom appeared. Prometheus holds an alert in pending until its for clause is satisfied, and rules evaluate on an interval rather than continuously. With a 20-second scrape, a one-minute evaluation interval and for: 1m, the alert fires between one minute and three minutes twenty seconds after the symptom shows up — the math Marco Pracucci worked out against the for clause in Prometheus's alerting rules. Real for windows in the wild are far larger.

In our own methodology notes, evaluation lags of 10 to 40 minutes are routine. That is our operational experience, not a published benchmark — and it is exactly why we anchor on the metric inflection instead. Your window is true onset ± a margin, written in UTC, and you confirm that data actually exists in that window before you conclude anything from it. The alert is not the incident.

How to triage a production incident in the first ten minutes?

You run the same eight steps in the same order, and you do not move on until each step's verify condition passes. An agent can execute steps 1 through 7 and hand you the first draft in minutes; the decision at the end stays yours.

Three rules sit above the whole sequence, and we wrote all three down after getting them wrong:

Volume is not diagnosis. Absence is not proof. Alert time is not onset.

1. What's the shape? Scope from metrics before you touch a log

Metrics first, logs second — always. RED (rate, errors, duration) or USE tells you which service actually moved, while raw log lines will happily convince you that a healthy, noisy service is the culprit. Google's troubleshooting chapter puts Triage before Examine for exactly this reason: reading logs before anyone scopes the problem is how we ended up forty minutes deep in the wrong service.

Verify: you can name the service, the window and the affected subset before you open a single log line. And if the dashboards you are scoping from are the part you distrust, that is why your dashboard lies.

2. When did it really start? Anchor true onset, not alert time

Find the metric inflection — the moment the line changed shape — and state that as your onset, in UTC. Do not start your window at the alert timestamp; you would be investigating a period that begins after the damage. Confirm the data exists across the whole window before you trust it; an empty region is a question, not a finding.

Verify: you wrote the window in UTC with the onset evidence attached — the query, the graph, the inflection you are pointing at.

3. Which stream first? Narrow cheapest-filter-first

Start with the widest cheap filter and tighten: stream or label, then level, then content match, then parsed field, then typed field. Drop health-check traffic on the first pass. The order is deliberate — every step should cut the result set by an order of magnitude for pennies, so you never pay for a regex over everything.

This works the same in LogQL, in Lucene through Graylog, or in a jq pipeline over JSON lines; it is a discipline, not a tool feature.

Verify: the result set is small enough to read line by line. If you cannot read it, you have not narrowed enough.

4. Which request? Follow one correlation ID end to end

Take one trace or request ID — from the alert annotation, the error response, or a single sample line — and query every service for it. Read the hits chronologically and hunt for the earliest anomaly that changed the execution path; everything after it is a consequence. Google's own guidance says a unique request identifier propagated across RPCs removes the guesswork of matching upstream log entries to downstream ones, speeding the time to diagnosis and recovery. Dapper, Google's tracing ancestor, was built because even our best and most experienced engineers routinely guess wrong about the root cause — system-wide trace data focuses the investigation so your other tools get applied in the right place.

The join only works if the ID travels: OpenTelemetry enriches logs with trace_id and span_id, and context propagation is what lets one ID represent the whole request path across processes.

Verify: you can point at the earliest anomaly on that request's timeline and say what it changed.

5. What changed? Build the timestamped change timeline

Write one ledger with timestamps: onset, alert fire, deploys, config and flag changes, scaling events — then ask what changed in the 24 hours before onset. Changes are the usual suspect for a reason: an IBM analysis of real incident and change data found changes cause about 80% of client outages, and because successful changes vastly outnumber failed ones, 86% of change-caused incidents trace back to a change that was closed as successful. If you only review the rollbacks and failed deploys, you miss seven in eight.

Google calls its version what touched it last, with deploy-annotated graphs as the canonical visual. Our rule sits on top: the first service to move is likely the source; services that move 30 to 90 seconds later are victims. Coincidence is evidence, not proof — and the loudest service in the timeline is usually a passenger.

Verify: every entry in the ledger carries a timestamp and a source, and you can name the first mover.

6. How bad versus baseline? Quantify, don't collect anecdotes

Compare the window against its own baseline: error rate in the window versus the same window yesterday, grouped by event, reason and version. A fresh deploy breaking one application version on one error code is the diagnosis, stated in one aggregation. Twelve thousand raw ERROR lines of the same stack trace are one incident, not twelve thousand data points.

Verify: a number — a rate, a count or a ratio — that supports your conclusion. It looks worse is not a number.

7. What would disprove it? One falsifiable hypothesis

Write one hypothesis with a mechanism: not the database is slow, but the retry storm from the failed deploy is saturating the connection pool, which predicts a queue-depth climb on the database. Then run the query that discriminates between your hypothesis and the next-best one — and actively hunt for evidence that would disprove it, not just confirm it. Confirm with fresh lines: live-tail the trace ID, turn on DEBUG for one request, watch it happen.

Google frames this as the hypothetico-deductive method: test against confirming and disconfirming evidence, prefer the simpler explanation, and remember that correlation is not causation. Its troubleshooting chapter also makes the point that negative results deserve the same rigor as positive ones.

Verify: you have evidence for the hypothesis and you have looked — really looked — for evidence against it.

8. What did we learn? Close the loop into the runbook

Save the queries that worked as links in the runbook while they are still fresh. After a rollback, confirm recovery on a user-relevant metric held for a sustained window — not the alerts stopped firing. Record the finding with an owner, a date and a verification method, so the next person gets the shortcut instead of redoing your archaeology.

Google's postmortem culture rules apply: blameless, focused on events rather than people, action items tracked to closure. A repeat incident of the same class is an unclosed action, not bad luck.

Verify: the runbook entry exists, and you confirmed recovery on the user-facing metric.

Which incident triage mistakes should you unlearn first?

Two cost you the most minutes: starting in logs before you scope with metrics, and anchoring on the alert timestamp. Everything else on this list is the same sin wearing different clothes:

  • Send me the last 10,000 ERROR lines. Volume is not diagnosis. Aggregate by fingerprint first, then follow one trace.
  • Root cause before mitigation. Google's troubleshooting chapter is blunt — ignore that instinct! Make the system work as well as it can under the circumstances while you preserve the evidence. Fly the airplane.
  • Trusting an empty result. Before no errors in the window, check ingestion, parse failures, dropped streams, retention and clock skew.
  • Anecdotes instead of aggregates. One scary-looking line, no baseline, no rate or ratio — that is a story, not an investigation.
  • Mutating the system from triage. Muting alerts, editing thresholds, restarting services, tweaking dashboards: you destroy the evidence and hide the noise instead of fixing it.
  • Hypotheses that cannot lose. The database is slow predicts nothing. Require a mechanism, a predicted observable and a disconfirming query.
  • Declaring recovery because alerts stopped. Confirm on a user-relevant metric for a sustained window, and watch async backlogs after the HTTP graphs look fine.
  • Letting the agent decide. It drafts; you decide. No autonomous rollback, no silence, ever, from triage.
  • Postmortem theatre. Blame-focused reviews and actions without an owner or a date. The next incident of the same class is your closure check failing.
  • Claiming improvements you didn't measure. Quote only numbers you can cite, and keep your own before-and-after in plain language until you have actually measured it.

What's the first dashboard you open when you get paged? Tell me — I'll tell you mine.

Where does an agent fit, and where does a human decide?

The agent executes steps 1 through 7 and writes the first draft; you decide. The draft separates observations, hypotheses, customer impact and unknowns into their own buckets, and every conclusion carries its metric, time range, query source and confidence level. You then decide rollback, escalation, severity and communications — the calls that change production or tell humans what to do.

The reason an agent can run this at all is that the evidence is machine-shaped: structured lines with stable keys — ts, level, service, service.version, env, event, trace_id — and one correlation key per request, so a machine filters instead of grepping prose. That is also why the claims in this space deserve scrutiny: in NeuBird's survey coverage, 74% of executives say AI is already used for incident management while only 39% of practitioners agree. Ours is the narrow, auditable version — evidence gathering and drafting, not decisions — and it is a concrete instance of LLM skills and agents for engineering managers doing unglamorous, bounded work.

The boundary is explicit and it is read-only. The agent never mutes an alert, never edits a threshold, never restarts a service, never touches a dashboard from triage. Silence this alert while we look into it is a refusal case: the alert is the evidence. Changes go through a separate, explicit workflow where a human signs.

Two trade-offs to keep honest. First, consistency versus expertise flattening: the pipeline gives a junior engineer the senior's first move, but it can anchor them — which is exactly why step 7 forces disconfirming evidence and step 1 forces you to name the shape before reading anything. That seam is real, and why your team needs both senior and junior developers still holds with the pipeline in place. Second, draft speed versus anchoring risk: a fast draft must carry evidence for and against each hypothesis, or you have automated the senior's favorite theory. And the agent never declares resolved off a green graph — that stays a human signature.

What does an incident triage pipeline not fix?

It is downstream of instrumentation. Without correlation IDs propagated at the edge, structured fields and UTC timestamps on every line, step 4 is impossible and every investigation degrades into timestamp-guessing over prose. Google's advice comes from the other side: build observability with white-box metrics and structured logs into each component from the ground up. This is also why engineering metrics fail when you try to pipeline them — the pipeline inherits every hole in your telemetry. Those holes are not bad luck, they are design decisions that were never made — which is the argument for the design decisions that make triage possible before the first page ever fires.

It does not fix absence. Before you write no errors in the window, check ingestion, parse failures, dropped streams, retention and clock skew: an empty result from a broken pipeline is not a negative result. NeuBird's survey found the same lesson at alert level — 78% of teams had at least one incident where no alert fired at all.

It does not fix alert fatigue either. In that same survey, 44% of organizations had an outage tied to an ignored or suppressed alert, and 83% of teams ignore alerts sometimes. The fix is restructuring what you page on — symptoms and SLO burn rate, fewer and actionable alerts — which is a separate change workflow that read-only triage deliberately refuses to perform.

It does not make root cause provable in production. Google's troubleshooting chapter notes that causal proof is often impossible, so you document probable causes and the tests behind them. If your suspect is a change, revert it and watch a user-relevant SLI return to baseline for a sustained window — otherwise you fixed correlation, not cause.

And the pipeline is not incident command. Roles, comms, severity and status updates stay with the human structure around it — Google's incident management guide still owns who coordinates, who communicates and who controls.

How do you start your own incident triage pipeline this week?

Write your order of investigation on one page, with a verify condition after each step. That page is the whole deliverable; everything else is support work:

  1. Write the page. Your eight steps, your verify conditions, in your own words, one page, no tooling.
  2. Fix the two fields that make it machine-runnable. A correlation ID and service.version on every log line. Without them, step 4 and step 6 are fiction.
  3. Turn the page into a skill. A skill or agent instruction that follows the steps in order. Let it draft one real triage — from the last incident, if you want a safe rehearsal.
  4. Keep it read-only. The skill investigates and drafts. It never mutes, edits or restarts.
  5. Close the loop after the next incident. Feed the queries that worked back into the runbook, with owner, date and verification method.

Start on demand, not on a schedule: run the skill when a page lands, and only automate it once it has proved useful on real incidents.

Write the page this week — then let something else run it. Get an email when the next deep-dive on on-call mechanics and agent workflows is published. No spam, just the rest.

Related Reading