16 lines
892 B
Markdown
16 lines
892 B
Markdown
# 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/`.
|