awesome-everything RU
↑ Back to the climb

Observability

The debugging funnel: SLO → RED → trace → profile

Crux A fixed funnel order — SLO burn, then RED, then trace, then profile, then git blame — cuts MTTR by 50–80% by eliminating random dashboard navigation.
Your altitude — climbing toward senior
ZeroJuniorMiddleSenior
You are at junior altitude — the surface
◷ 10 min

It is 2 am. The SLO burn alert fires. You open four dashboards at random, ask in Slack who deployed last, then spend 40 minutes hunting. Your colleague who joined the same call follows a five-step checklist and closes the incident in 8 minutes. The difference is not tooling — it is order.

The funnel mental model

The debugging funnel is a fixed narrowing sequence. Each layer’s output is the next layer’s input filter. The funnel has five layers:

  1. SLO burn-rate alert — confirms user-facing impact is happening and names the service. Without a SLO burn the team does not yet know whether the symptom is real or a flaky test.
  2. RED dashboard — Rate, Errors, Duration for the named service. One of the three moved; the shape (spike vs drift vs plateau) hints at the cause class.
  3. Trace view — filtered to the burn window. Finds which service and which span owns the latency or the errors. Narrows from “something is wrong in checkout” to “inventory.lookup is taking 1.3s.”
  4. Profile — filtered to a trace-id from step 3. Flame graph shows which function inside the span consumed the CPU or the IO. Narrows from “inventory.lookup is slow” to “json.Marshal on a new schema.”
  5. git blame — on the function and line from the profile. Names the commit, the author, and the deploy window.

The funnel is fixed. Tools change every two years; the funnel has not changed in fifteen.

LayerToolOutput (narrows to)
1. SLO burn alertAlerting + SLO dashboardWhich service has user-facing impact
2. RED dashboardGrafana / DatadogWhich of Rate / Errors / Duration moved
3. Trace viewJaeger / Tempo / HoneycombWhich service and span owns the time
4. ProfilePyroscope / ParcaWhich function inside the span ate the CPU
5. git blamegitWhich commit, author, deploy window

A concrete walk-through

A startup adopts the full chapter’s stack: RED dashboards, SLOs with multi-window burn-rate alerts, OTel traces, continuous profiling. An on-call engineer gets paged: “checkout SLO burn 14x.”

She does not open every dashboard. She follows the funnel.

  • RED on checkout: p99 jumped from 200 ms to 1.5 s; Rate flat; Errors flat. Duration-only spike — not a crash, not a capacity problem.
  • Trace view filtered to the burn window: one span dominates in every slow trace — inventory.lookup, 1.3 s of the 1.5 s total.
  • Profile for inventory service, filtered to that trace-id: 1.1 s in json.Marshal — a new code path serialising too much.
  • git blame on json.Marshal call site: commit landed 30 minutes ago, author is the inventory team, deploy matches the burn start time.

Total time from page to git blame: 90 seconds. The funnel did the work.

Six months in, the team’s MTTR dropped from 45 minutes to 8. Not faster individual clicks — no random order.

Why tool upgrades alone do not cut MTTR

Tooling typically gives 10–20% MTTR improvement. Funnel discipline gives 50–80% because most of the loss was navigation: opening whichever dashboard the on-call last touched, asking in Slack, switching signals without direction. The funnel eliminates deliberation. Each click is forced by the previous one. Senior engineers who appear 10x faster during incidents are usually not running different queries; they are running the same queries in the right order while junior engineers run them randomly.

Why this works

Think of a hospital triage room. A patient arrives in pain. Step 1: vital signs (RED) — pulse, BP, temperature. Step 2: known constraints (SLO) — stable or critical? Step 3: imaging (traces) — where in the body exactly? Step 4: biopsy (profile) — what is the tissue made of? Each step uses different tools but they all answer one question: where do we cut? Production observability is the same.

Funnel discipline: what the numbers say
MTTR reduction from funnel discipline
50–80%
MTTR reduction from new tooling alone
10–20%
Sample MTTR drop (startup, 6 months)
45 min → 8 min
Typical MTTD with burn-rate alerts
1–5 minutes
Typical MTTR with funnel discipline
3–10 minutes
Quiz

In the funnel for production debugging, which signal is the FIRST one an on-call should look at?

Order the steps

Order the production-debugging funnel from broadest to narrowest:

  1. 1 SLO burn-rate alert fires — user impact is happening, budget is being spent fast
  2. 2 RED dashboard for the affected service — which of Rate / Errors / Duration moved?
  3. 3 Trace view filtered to the burn window — which service and span owns the latency?
  4. 4 Profile filtered to the trace-id — which function inside the span ate the time?
  5. 5 git blame on the hot function — which commit and author introduced it?
Complete the analogy

Fill in the blank: the funnel order is SLO → RED → trace → _______ → code.

Quiz

What does OpenTelemetry's promise of 'one SDK, one wire format' mean for an engineering org?

Recall before you leave
  1. 01
    Why does following a fixed funnel order cut MTTR more than buying better tools?
  2. 02
    In the checkout SLO burn scenario, what did RED show and what did that shape rule out?
  3. 03
    Name the five funnel layers in order and state what each layer's output feeds as input to the next.
Recap

The production debugging funnel is a five-layer narrowing sequence: SLO burn names the service, RED names the signal that moved, trace names the span, profile names the function, git blame names the commit. Each layer’s output filters the next layer’s query, so no deliberation is needed. Tool upgrades account for 10–20% of MTTR improvement; funnel discipline accounts for 50–80% because most incident time is wasted in navigation, not analysis. A startup that adopted the full observability stack with funnel discipline saw MTTR drop from 45 minutes to 8 over six months — not from faster tools, but from removing random order. The funnel is fixed; tools change every two years, the funnel has not changed in fifteen.

Connected lessons
appears again in202
Continue the climb ↑OTel architecture: one SDK, four signals, one wire format
shortcuts expand
search
K
prev piece
k
next piece
j
cycle tier
t
this menu
?
sources3
expand
  1. 01
  2. 02
  3. 03

Trademarks belong to their respective owners. Editorial reference only.