RUNNING INCIDENTS
    14 min read

    Hypothesis-Driven Troubleshooting

    Structured approaches to investigation when everything is on fire. How to avoid the trap of random debugging and converge on root cause systematically.

    "In complex systems, there is never a single root cause. There are always multiple contributing factors. Your job is to find the most proximate cause that you can address right now, while documenting the contributing factors for the postmortem."

    - Jeremy Martinez, Incident Commander | Principal Site Reliability Engineer

    The Problem: Unstructured Investigation

    Picture this: A SEV-1 incident. Five engineers on a bridge call. Each one has a different idea about what's wrong. They're all investigating simultaneously, but no one is coordinating. Two engineers are checking the same service. Another is deep in logs from three hours ago. Someone restarts a pod "just to see if it helps."

    An hour later, they find the issue-but it takes an hour because:

    • They re-investigated things that were already ruled out
    • They didn't share what they learned
    • They followed low-probability paths before high-probability ones
    • Random actions masked or changed symptoms

    This is the default mode of incident investigation. It feels productive because everyone is busy. But it's wildly inefficient. Hypothesis-driven troubleshooting replaces this chaos with structure.

    Core Principles of Hypothesis-Driven Investigation

    1Generate Hypotheses Before Investigating

    Before anyone starts checking dashboards or reading logs, take 2 minutes to brainstorm possible causes. Write them down. This prevents the "first thing we look at becomes our focus" trap.

    "Before we dive in, let's list possible causes:

    1. Recent deploy (3pm, service-auth)

    2. Database connection issues

    3. Third-party auth provider outage

    4. Certificate expiration

    5. DNS issues

    Now let's prioritize these."

    2Prioritize by Probability and Testability

    Not all hypotheses are equal. Some are more likely. Some are easier to test. Start with hypotheses that are both high-probability and quick to verify or eliminate.

    HypothesisProbabilityTime to TestPriority
    Recent deployHigh (80%)2 min1st
    Database issuesMedium (40%)5 min2nd
    Third-party outageMedium (30%)1 min1st
    DNS issuesLow (10%)15 min4th

    3Assign Hypotheses to Individuals

    Each hypothesis gets one owner. No one should be investigating the same thing as someone else. This prevents duplicate work and ensures coverage.

    "Assignment:

    @alex - Recent deploy (check diff, deployment logs)

    @jordan - Third-party status (check Okta status page)

    @casey - Database (connection pool metrics, query latency)

    Report back in 5 minutes."

    4Timebox and Report

    Every hypothesis assignment must follow the time-box formula: "[Name], [task], report back in [X] minutes regardless of outcome." Default time-boxes: quick checks (5 min), hypothesis investigation (10–15 min), deep analysis (15–20 min).

    When the time-box expires, the IC calls on the person by name and decides:extend (more time needed, progress is real), reassign(pivot to a different track), or kill (dead end, stand by).

    Reports should be structured: Hypothesis → Evidence → Conclusion

    "Time check - 5-minute time-box is up. Status round."

    @alex: "Deploy hypothesis - UNLIKELY. No changes to auth service in last 48h. Moving on."

    @jordan: "Okta status - ALL GREEN. Not them. Ruled out."

    @casey: "Database - POSSIBLE. Connection pool at 95%, seeing timeout errors."

    IC: "Alex, Jordan - ruled out. Help Casey with database. Casey, you have another 10 minutes."

    5Eliminate and Converge

    After each round, update the hypothesis list. Cross off what's eliminated. Double down on what's promising. Generate new hypotheses if needed.

    The goal is convergence: start with 5 hypotheses, rule out 3, focus on 2, then find the answer in 1.

    The Hypothesis Board

    Maintain a visible list of hypotheses and their status. This can be a shared doc, a pinned message in Slack, or a whiteboard in a physical war room.

    Example Hypothesis Board

    Recent deploy caused regression

    Ruled out: No deploys to affected service in 48h (@alex, 14:32)

    Third-party auth provider outage

    Ruled out: Okta status page green, tested auth flow manually (@jordan, 14:35)

    Database connection pool exhaustion

    Investigating: Pool at 95%, timeout errors present (@casey, active)

    Network partition between services

    Not yet investigated (queued, @alex next)

    ✓ Connection leak in v3.4.2

    Confirmed: Memory profiler shows unbounded connection growth. Root cause identified. (@casey, 14:52)

    The Change Correlation Shortcut

    Before any other investigation, always check: What changed?

    80% of incidents correlate to a recent change. This isn't a hypothesis-it's the first thing you check, every time, before generating other hypotheses.

    Change Correlation Checklist

    Code deployments (last 24 hours)
    Configuration changes (feature flags, env vars)
    Infrastructure changes (scaling, migrations)
    Dependency updates or third-party changes
    Traffic pattern changes (new customer, marketing campaign)
    Certificate or credential rotations

    Common Investigation Traps

    Confirmation Bias

    Seeing evidence that supports your hypothesis while ignoring evidence that contradicts it.

    Example: 'The database is slow' becomes the focus, ignoring that only some queries are slow.

    Fix: Actively look for disconfirming evidence. Ask: 'What would prove this hypothesis wrong?'

    Anchoring

    The first hypothesis suggested becomes everyone's focus, regardless of probability.

    Example: Senior engineer says 'probably the database' and everyone investigates the database.

    Fix: Generate multiple hypotheses before investigating any. Prioritize by evidence, not seniority.

    The Rabbit Hole

    Going deep on one hypothesis without checking others, even when it's not panning out.

    Example: Spending 45 minutes analyzing query plans while ignoring a deploy that happened 20 minutes before the incident.

    Fix: Timebox investigation. If no progress in 10 minutes, report back and consider pivoting.

    Correlation vs. Causation

    Assuming that because two things happened at the same time, one caused the other.

    Example: 'Traffic increased at 2pm and errors started at 2pm, so traffic caused the errors.'

    Fix: Look for mechanism, not just timing. How would increased traffic cause this specific error?

    The Fix-First Fallacy

    Implementing a fix before understanding the problem, then not knowing if it worked.

    Example: Restarting pods, scaling up, and changing configs all at once. Something worked, but what?

    Fix: One action at a time. Observe the result. Then take the next action.

    The IC's Role in Hypothesis Management

    The IC doesn't generate hypotheses or investigate them-that's the Tech Lead's job. The IC's role is meta-level:

    • Ensure hypotheses are being tracked - "Tech Lead, what are our current hypotheses?"
    • Prevent duplication - "Alex, Jordan is already looking at the database. Can you take network?"
    • Enforce timeboxes - "It's been 10 minutes. Everyone report status."
    • Push for convergence - "We've ruled out three hypotheses. What's our leading theory now?"
    • Make decisions when evidence is sufficient - "The evidence points to the deploy. Let's roll back."

    When Hypotheses Don't Converge

    Sometimes you rule out all hypotheses and you're left with nothing. This is frustrating but informative-it means you need to generate new hypotheses or revisit assumptions.

    When You're Stuck: The Reset Protocol

    1. Verify the symptoms are still present

    Sometimes the problem resolves while you're investigating something else.

    2. Question your ruled-out hypotheses

    Did you actually rule them out, or did you just not find evidence?

    3. Bring in fresh eyes

    Someone who wasn't in the first round might see something obvious.

    4. Broaden the scope

    Maybe the issue is outside the system you've been investigating.

    5. Consider compound causes

    Multiple factors might be combining to cause the issue.

    Continue Learning

    Related Tools