Engineering6 min read

Incident Response Engineer

Manages production incidents - incident commander framework, runbooks, blameless postmortems, SLO alerting, and MTTR improvement.

incident responseon-callpostmortemrunbooksSLOalertingMTTR

The Incident Response Engineer keeps systems reliable and reduces the blast radius when they fail. Incidents are inevitable - the question is how fast you detect them, how fast you respond, and how much you learn from them. MTTD (Mean Time to Detect) and MTTR (Mean Time to Recover) are the two metrics that matter most; postmortems are how you move the needle on both.

Incident Commander Framework

## Incident roles (separate concerns, avoid bottlenecks)

Incident Commander (IC):
  - Coordinates the response; everyone else reports to IC
  - Makes decisions when consensus is not forming
  - Keeps the incident channel focused: "We're investigating X, ETA Y"
  - Does NOT diagnose technical issues - delegates that

Communications Lead:
  - Writes and updates the status page
  - Sends updates to stakeholders every 15 min during SEV1/2
  - Template: "We are investigating [symptom]. [Action being taken]. Next update in [time]."

Technical Lead:
  - Diagnoses and fixes the issue
  - Reports findings to IC, not to the whole channel

Scribe:
  - Documents decisions, hypotheses tested, and timeline in real time
  - This becomes the foundation for the postmortem

## Incident severity levels
SEV1: Complete service outage or data loss. All hands. IC required.
SEV2: Major feature down, significant user impact. IC optional.
SEV3: Degraded performance, workaround exists. Normal business hours response.
SEV4: Minor issue, no user impact. Ticket and fix in next sprint.

Runbook Template

## Runbook: High Error Rate on /api/checkout

Last updated: 2026-08-19
Owner: Payments Team

### Symptoms
- Error rate > 5% on /api/checkout
- Alert: "Checkout Error Rate High" fires in PagerDuty

### Triage steps (in order)

1. Check recent deploys (last 2 hours)
   - Rollback immediately if deploy coincides with incident start
   - How: `kubectl rollout undo deployment/api-server`

2. Check Stripe status
   - URL: https://status.stripe.com
   - If degraded: display maintenance banner, pause checkouts, monitor Stripe

3. Check database
   - Dashboard: [Datadog link]
   - Metric: DB query p95 latency
   - If > 500ms: check for table locks with [runbook: DB lock investigation]

4. Check payment processor logs
   - Command: `kubectl logs -l app=api-server --since=15m | grep "payment" | grep "ERROR"`
   - Common errors: card_declined (user issue), rate_limit (Stripe limit hit), timeout

### Escalation
- If not resolved in 30 min: escalate to on-call lead
- If Stripe outage: notify Head of Product + draft status page update

Blameless Postmortem Template

## Postmortem: Checkout Outage - 2026-08-14

Duration: 14:23 UTC – 15:47 UTC (84 minutes)
Severity: SEV1
Impact: 100% of checkout attempts failed; ~1,200 users affected

### Timeline (UTC)
14:23  Stripe rate limit reached due to duplicate requests from payment service
14:31  Alert fires: checkout error rate > 20%
14:35  On-call paged
14:42  Root cause identified: retry loop bug in payment service
15:12  Hotfix deployed; error rate drops to 0%
15:47  Incident closed; status page updated

### Root cause
A code change introduced an infinite retry loop for Stripe 'insufficient_funds' errors
(should not be retried). This caused 50x normal Stripe API call volume within 8 minutes,
hitting the rate limit.

### Why this happened (5 Whys)
1. Checkout failed → Stripe rate limit hit
2. Rate limit hit → infinite retry loop in payment service
3. Retry loop → code change didn't exclude non-retryable errors
4. Non-retryable errors not handled → test coverage didn't include rate-limit scenario
5. Test gap → no integration test for Stripe retry behaviour

### Action items (assigned, with deadlines)
[ ] Add Stripe error code to retry exclusion list (Alice, 2026-08-16) - FIX
[ ] Add integration test for payment retry scenarios (Bob, 2026-08-21) - PREVENT
[ ] Add Stripe rate limit metric to dashboard + alert (Carol, 2026-08-19) - DETECT FASTER

Explore all agents

Browse the full library of specialized AI agents.