forked from mtusi2026/mtusi2026lab7
Контракт, публичные тесты и README задания оставлены от lab7. Co-authored-by: Cursor <cursoragent@cursor.com>
1.1 KiB
1.1 KiB
SLO burn
Two SLOs, each with a 1% error budget over 30 days.
- API availability: business requests that are not 5xx. Fast burn pages when both the 5 minute and 1 hour windows exceed 14.4% errors (14.4x budget). Slow burn warns when both 30 minutes and 6 hours exceed 6% (6x budget).
- Time to ready: jobs whose ready time is at most 30 seconds, read from the
le="30"histogram bucket, not from an average. The same 14.4x and 6x windows apply.
A short spike can trip only the fast pair. A long degradation keeps the slow pair firing after the spike is gone. Both windows must agree, so one noisy minute does not page by itself.
- Read which alert is firing and which SLO label it has.
- For
api-availability, followhigh-error-rate.md. Separate 4xx from 5xx before calling it an incident. - For
time-to-ready, followqueue-lag.md, then open the worker trace and see whether time is ins3.get,image.render,s3.putordb.complete. - Record the first firing timestamp and the first resolved timestamp. That pair is time-to-detect and time-to-recover for the experiment.