logo
NotesNotesResumeResume
© 2026 Kiet Nguyen
← Projects
2026ToolchainComplete

Observability & Incident Response Platform

On-call lab platform that turns host pressure into a defensible investigation—multi-host metrics with history, alerts fired on deliberate injects, safe snapshots, honest trend ordering, and structured incident reports.

Stack·Python 3 · SQLite · JSONL alerts · HTML dashboard

Signals·metrics history · proven alerts · do-no-harm snapshot · correlate · PIR report

Requirements outline

Scope this page covers. Each row is an acceptance item the automation targets; delivery is what ships in this revision.

IDRequirementDelivery
FR1Metrics collection and storage with historycollect → SQLite samples; prune; multi-host
FR2Investigative dashboards on real dataops-health.html — exhaustion/co-movement questions
FR3Alerts on deliberately caused conditionslab inject + evidence/04-alerts-fired.json
FR4Automated incident snapshotsnapshot CLI; do-no-harm budget; pre-evaporation capture
FR5Trend correlation capabilitycorrelate CLI — order + r + honesty block
FR6Incident report generatorreport → state/incidents/*.md JSON; evidence copy

Evidence

Real alert fires after deliberate mem and load injection
Alerts — mem_high and load_elevated fired
Correlation showing memory crossed before load
Correlate — mem before load (honest limits)
Do-no-harm snapshot and PIR report paths
Snapshot + PIR report artifact
Investigative dashboard questions from real samples
Dashboard — investigative questions

Terminal captures from the lab host. Click an image to expand fullscreen.

Problem

I needed tooling an engineer would actually reach for at 2 AM: not wallpaper graphs, but history, alerts proven on real triggered conditions, a safe freeze of host state, correlation that admits what it cannot prove, and a report fit for a post-incident review.

Approach

Python obs_platform with versioned config/observability.json. Collect low-footprint samples from a real local host plus synthetic agents into SQLite. Alerts require consecutive breaches. Lab injects mem/load on lab-agent-a and records actual fire events. Snapshot runs under a wall-clock do-no-harm budget. Correlate orders threshold crossings with Pearson r and explicit non-causation notes. Report emits Markdown+JSON; dashboard answers exhaustion and co-movement questions from real data.

Outcomes

  • Multi-host metrics retained in SQLite (trend windows, not only latest)
  • mem_high and load_elevated fired on deliberate lab-agent-a inject (evidence)
  • Snapshot completed within budget with no mutations
  • Correlation showed mem_pct before load1_per_cpu matching injection order
  • Generated PIR-ready incident report + investigative HTML dashboard

Status is honest: Study and In progress mean the work is not overclaimed as production-complete.

Back to project index