Skip to main content

Incident triage

advanced17 min readLesson 175 of 180

Localize, correlate, quantify, hypothesize โ€” a method for 3 a.m.

Incident triage is reading a log stream backwards from a symptom:

  1. Localize: find the error events, group by the context fields (requestId, endpoint) โ€” one poisoned request or an entire endpoint?
  2. Correlate: for each affected request, pull its complete event timeline โ€” what happened before the error? Timeout after retry after degradation is a cascade, not an isolated bug.
  3. Quantify: how many requests, which endpoints, since when? One user is support; a pattern is an incident.
  4. Hypothesize: propose the smallest change consistent with ALL evidence โ€” and name the observation that would REFUTE it.

The output of triage is not "the fix" โ€” it's a narrowed search space and a monitoring query you can watch. The checkpoint assembles all four steps as pure functions over a structured event stream: no grep, no guessing, just data in, questions answered.

Now practice

Observability drillsStructure logs, compute percentiles, and carry context across executor hops.2 challenges ยท ยท ~55 min