Files
mtusi2026lab6/evidence/lab6/track2/plan.md
T
2026-11-05 02:09:39 +03:00

27 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Track 2 preregistered plan
Hypothesis: the multi-window fast burn (1h + 5m, 14.4×) stays silent for a
2-minute PostgreSQL burst and fires for a sustained 15-minute outage; the
slow-burn pair (6h + 30m, 6×) is validated synthetically because this stand
cannot accumulate six hours of live data in one run.
SLO windows: 7 days (Prometheus retention). API availability target 99.5%
(budget 50.4 min); time-to-ready target 99% ≤30s (budget 100.8 min).
Phases:
1. Calibrate open-loop upload/message rate; use ≤50% of measured capacity.
2. Warmup ≥70 min so the 1h burn window is full; baseline 20 min.
3. Burst: pause PostgreSQL 2 min. Expected: no fast page; a counterfactual
5m-only alert would have fired. Record edge SLI and per-route diagnostics.
4. Sustained: stop worker, stop PostgreSQL 15 min, restore both. Expected fast
page around 4m19s after injection; measure TTD and TTR_service separately
from TTR_alert (the 1h window clears later).
5. False-positive controls: 4xx traffic, 1% 5xx for 10 min, a 60–90s blip,
then normal load; count evaluations and firing events.
6. Runbook held-out check: another person gets only the alert name/time and uses
Grafana/Prometheus/Loki/Tempo; record transcript and time-to-cause.
Evidence files: `*-load.json`, `*-alerts.csv`, `*-phases.json`,
`runbook-check.md`, `summary.md`. `promtool test rules` covers slow-burn with
synthetic 6h series; no live slow-burn claim is made.