Diagnostic runbooks and incident evidence
Worked example
This is an offline lesson. Data are fictional and Docker commands are unexecuted. Any optional execution requires an authorized disposable VM, a verified context, synthetic data, restricted access and no external transmission. Do not collect secrets or private output. Before any authorized optional observation, verify the effective daemon endpoint including overrides, exact object ID and observation window. Bound collection time and output bytes; do not generate resource pressure or export private telemetry. Mark unavailable measurements NOT RUN.
Fictional incident, UTC:10:00 release r2 recorded for catalog10:03 API failures 20/1000; latency rises10:04 catalog unhealthy; API still running10:05 catalog logs show dependency_timeout for lab-710:06 resource sample: memory 40/128 MiB, no recorded OOM evidence10:07 planned decision: confirm dependency reachability and release change# Recovery not yet observed.- Confirm the approved context, incident time window, affected service and user impact. 2. Capture bounded, redacted logs, targeted inspect state,
docker stats --no-stream, event history and, if needed,docker top(process arguments may contain secrets; restrict access). Record image identity and recent configuration changes without dumping environment variables. 3. Compare hypotheses: a dependency failure or release regression is plausible, but the memory sample does not exclude an earlier OOM. Check the dependency path and release evidence without touching production unless authorized. 4. Choose an owner-approved correction or rollback to the known good immutable release, checking schema compatibility and data recovery requirements. Avoid blanket restarts, prune, security bypasses and changing multiple variables. 5. Confirm recovery with user-facing success, latency, health, and a sustained window; if not recovered, escalate with the evidence and rollback record. No recovery is claimed in this scenario. Before a response, identify the authorized owner and document the expected impact, stop condition and recovery test. The timeline gives no baseline latency or recovery window; choose justified thresholds before a change rather than inventing measured recovery. Limit log and inspect output and record evidence gaps explicitly.
Common mistake
A restart may remove evidence and briefly hide a symptom. Do not close an incident solely because the process is running again.
Manual practice
Write a five-step runbook for this incident. Include an evidence gap, one safe next investigation, an escalation condition and a recovery criterion. Keep rollback and data compatibility explicit.
Worksheet: lab-fixtures/docker-observability/08-runbooks/scenario.txt.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Diagnostic runbooks and incident evidence — Knowledge check
Interpret synthetic observability evidence and choose safe diagnostic actions.
What is the first useful action for this incident?
Does the memory sample rule out an earlier OOM?
What evidence supports incident closure?