Files
mtusi2026lab7/infra/runbooks/slo-burn.md
T
Vladislav Kunetskiy 1b6e96ccc0
Application / Go invariants and static checks (pull_request) Canceled after 0s
Application / Lab7 verified TLS and retained features (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s
lab7: безопасность, mTLS, OpenBao и PKI lifecycle
2026-11-10 14:39:57 +03:00

16 lines
892 B
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.
# SLO burn-rate
1. Open Grafana → Lab6 → API overview and Jobs and queue.
2. Check `slo:api_error_ratio:1h` + `5m` for fast burn, `6h` + `30m`
for slow burn; TTR uses `slo:job_ttr_bad_ratio:*`.
3. Fast page means the current hour is consuming the 7-day error budget at
≥14.4×. Confirm edge traffic in HAProxy (`proxy="api_backend"`), then inspect
API traces for 5xx and DB spans (`SELECT`/`INSERT`/`UPDATE`/`BEGIN`/`COMMIT`)
or missing worker `job.process` spans.
4. Slow ticket means a sustained 6-hour burn. It can fire with a low current
rate; do not suppress it until the 30m window is below 3% (API) or 6% (TTR).
5. Resolve only after the SLO ratio stays below the fast/slow thresholds and
the underlying dependency (worker, PostgreSQL, broker) is healthy.
6. Record injection/restore UTC and the first firing/resolved timestamps in
`evidence/lab6/track2/`.