Files
mtusi2026lab7/infra/runbooks/slo-burn.md
T
Vladislav Kunetskiy 3d216fbd50 База lab7: контракт 1.7.0 и реализация lab1–lab6
Перенесены cmd/internal/config, compose.yaml, Dockerfile, скрипты, student-tests и evidence из mtusi-messenger (master, lab6). Skeleton lab7 (openapi/infrastructure 1.7.0, trust-matrix.md, security/THREAT_MODEL.md, infra/openbao, tests/security.py) сохранён; make test-security добавлен в Makefile.
2026-11-09 13:03:49 +03:00

892 B
Raw Blame History

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/.