BM: Baca dalam Bahasa Melayu
World O3: Alarms & Screens
SLO burn-rate alerts
You will learn: to page only when the error budget burns fast, and stop soon after the fix.
Checked with Prometheus 3 on 1 Nov 2026
The problem
Your SLO: 99.9% of orders work this month. At 20m, 5% of orders fail for 4 minutes. Then it heals. Should someone wake up?
Pick one answer.
Watch
Divide the error ratio by the budget (0.001). That is the burn rate.
Type a PromQL query and press Run. The table shows the answer at the eval time. The graph shows it over time.
burn rate: How fast you spend the error budget. 1 means it lasts exactly the SLO window; 14.4 means a month's budget is gone in about two days. 1 means the budget lasts exactly the month. Bigger burns faster.
Predict
The burn rate stays at 14.4 for one hour. How much of the monthβs budget is gone?
Pick one answer.
Try it
Page for the big burn from 61m. Stay quiet for the 4-minute spike. Stop soon after the fix at 91m.
Build an alert rule from the blocks. The timeline shows when it would wait and when it would fire.
groups: - name: kedai rules: - alert: FastBurn expr: job:shop_error_ratio:rate5m > 0.001 for: 2m labels: severity: page
Graph as a table
| Time | job:shop_error_ratio:rate5m{job="shop"} |
|---|---|
| 0s | β |
| 1m | 0.0005 |
| 2m | 0.0005 |
| 3m | 0.0005 |
| 4m | 0.0005 |
| 5m | 0.0005 |
| 6m | 0.0005 |
| 7m | 0.0005 |
| 8m | 0.0005 |
| 9m | 0.0005 |
| 10m | 0.0005 |
| 11m | 0.0005 |
| 12m | 0.0005 |
| 13m | 0.0005 |
| 14m | 0.0005 |
| 15m | 0.0005 |
| 16m | 0.0005 |
| 17m | 0.0005 |
| 18m | 0.0005 |
| 19m | 0.0005 |
| 20m | 0.011899999999999999 |
| 21m | 0.0219 |
| 22m | 0.0319 |
| 23m | 0.0419 |
| 24m | 0.037625 |
| 25m | 0.025249999999999998 |
| 26m | 0.012874999999999998 |
| 27m | 0.0005 |
| 28m | 0.0005 |
| 29m | 0.0005 |
| 30m | 0.0005 |
| 31m | 0.0005 |
| 32m | 0.0005 |
| 33m | 0.0005 |
| 34m | 0.0005 |
| 35m | 0.0005 |
| 36m | 0.0005 |
| 37m | 0.0005 |
| 38m | 0.0005 |
| 39m | 0.0005 |
| 40m | 0.0005 |
| 41m | 0.0005 |
| 42m | 0.0005 |
| 43m | 0.0005 |
| 44m | 0.0005 |
| 45m | 0.0005 |
| 46m | 0.0005 |
| 47m | 0.0005 |
| 48m | 0.0005 |
| 49m | 0.0005 |
| 50m | 0.0005 |
| 51m | 0.0005 |
| 52m | 0.0005 |
| 53m | 0.0005 |
| 54m | 0.0005 |
| 55m | 0.0005 |
| 56m | 0.0005 |
| 57m | 0.0005 |
| 58m | 0.0005 |
| 59m | 0.0005 |
| 1h | 0.0005 |
| 1h1m | 0.012874999999999998 |
| 1h2m | 0.025249999999999998 |
| 1h3m | 0.037625 |
| 1h4m | 0.049999999999999996 |
| 1h5m | 0.049999999999999996 |
| 1h6m | 0.049999999999999996 |
| 1h7m | 0.049999999999999996 |
| 1h8m | 0.049999999999999996 |
| 1h9m | 0.049999999999999996 |
| 1h10m | 0.049999999999999996 |
| 1h11m | 0.049999999999999996 |
| 1h12m | 0.049999999999999996 |
| 1h13m | 0.049999999999999996 |
| 1h14m | 0.049999999999999996 |
| 1h15m | 0.049999999999999996 |
| 1h16m | 0.049999999999999996 |
| 1h17m | 0.049999999999999996 |
| 1h18m | 0.049999999999999996 |
| 1h19m | 0.049999999999999996 |
| 1h20m | 0.049999999999999996 |
| 1h21m | 0.049999999999999996 |
| 1h22m | 0.049999999999999996 |
| 1h23m | 0.049999999999999996 |
| 1h24m | 0.049999999999999996 |
| 1h25m | 0.049999999999999996 |
| 1h26m | 0.049999999999999996 |
| 1h27m | 0.049999999999999996 |
| 1h28m | 0.049999999999999996 |
| 1h29m | 0.049999999999999996 |
| 1h30m | 0.049999999999999996 |
| 1h31m | 0.037625 |
| 1h32m | 0.025249999999999998 |
| 1h33m | 0.012874999999999998 |
| 1h34m | 0.0005 |
| 1h35m | 0.0005 |
| 1h36m | 0.0005 |
| 1h37m | 0.0005 |
| 1h38m | 0.0005 |
| 1h39m | 0.0005 |
| 1h40m | 0.0005 |
| 1h41m | 0.0005 |
| 1h42m | 0.0005 |
| 1h43m | 0.0005 |
| 1h44m | 0.0005 |
| 1h45m | 0.0005 |
| 1h46m | 0.0005 |
| 1h47m | 0.0005 |
| 1h48m | 0.0005 |
| 1h49m | 0.0005 |
| 1h50m | 0.0005 |
| 1h51m | 0.0005 |
| 1h52m | 0.0005 |
| 1h53m | 0.0005 |
| 1h54m | 0.0005 |
| 1h55m | 0.0005 |
| 1h56m | 0.0005 |
| 1h57m | 0.0005 |
| 1h58m | 0.0005 |
| 1h59m | 0.0005 |
| 2h | 0.0005 |
What the alert does over time
Grey: quiet. Amber: pending (true, but waiting). Red: firing.
{job="shop", severity="page"}β³ pending 20m to 21m Β· π firing 22m to 26m Β· β³ pending 1h1m to 1h2m Β· π firing 1h3m to 1h33m
At 1h20m:
- FIRING
FastBurnjob="shop", severity="page"
Timeline as a table
| Time | {job="shop", severity="page"} |
|---|---|
| 0s | quiet |
| 1m | quiet |
| 2m | quiet |
| 3m | quiet |
| 4m | quiet |
| 5m | quiet |
| 6m | quiet |
| 7m | quiet |
| 8m | quiet |
| 9m | quiet |
| 10m | quiet |
| 11m | quiet |
| 12m | quiet |
| 13m | quiet |
| 14m | quiet |
| 15m | quiet |
| 16m | quiet |
| 17m | quiet |
| 18m | quiet |
| 19m | quiet |
| 20m | β³ pending |
| 21m | β³ pending |
| 22m | π firing |
| 23m | π firing |
| 24m | π firing |
| 25m | π firing |
| 26m | π firing |
| 27m | quiet |
| 28m | quiet |
| 29m | quiet |
| 30m | quiet |
| 31m | quiet |
| 32m | quiet |
| 33m | quiet |
| 34m | quiet |
| 35m | quiet |
| 36m | quiet |
| 37m | quiet |
| 38m | quiet |
| 39m | quiet |
| 40m | quiet |
| 41m | quiet |
| 42m | quiet |
| 43m | quiet |
| 44m | quiet |
| 45m | quiet |
| 46m | quiet |
| 47m | quiet |
| 48m | quiet |
| 49m | quiet |
| 50m | quiet |
| 51m | quiet |
| 52m | quiet |
| 53m | quiet |
| 54m | quiet |
| 55m | quiet |
| 56m | quiet |
| 57m | quiet |
| 58m | quiet |
| 59m | quiet |
| 1h | quiet |
| 1h1m | β³ pending |
| 1h2m | β³ pending |
| 1h3m | π firing |
| 1h4m | π firing |
| 1h5m | π firing |
| 1h6m | π firing |
| 1h7m | π firing |
| 1h8m | π firing |
| 1h9m | π firing |
| 1h10m | π firing |
| 1h11m | π firing |
| 1h12m | π firing |
| 1h13m | π firing |
| 1h14m | π firing |
| 1h15m | π firing |
| 1h16m | π firing |
| 1h17m | π firing |
| 1h18m | π firing |
| 1h19m | π firing |
| 1h20m | π firing |
| 1h21m | π firing |
| 1h22m | π firing |
| 1h23m | π firing |
| 1h24m | π firing |
| 1h25m | π firing |
| 1h26m | π firing |
| 1h27m | π firing |
| 1h28m | π firing |
| 1h29m | π firing |
| 1h30m | π firing |
| 1h31m | π firing |
| 1h32m | π firing |
| 1h33m | π firing |
| 1h34m | quiet |
| 1h35m | quiet |
| 1h36m | quiet |
| 1h37m | quiet |
| 1h38m | quiet |
| 1h39m | quiet |
| 1h40m | quiet |
| 1h41m | quiet |
| 1h42m | quiet |
| 1h43m | quiet |
| 1h44m | quiet |
| 1h45m | quiet |
| 1h46m | quiet |
| 1h47m | quiet |
| 1h48m | quiet |
| 1h49m | quiet |
| 1h50m | quiet |
| 1h51m | quiet |
| 1h52m | quiet |
| 1h53m | quiet |
| 1h54m | quiet |
| 1h55m | quiet |
| 1h56m | quiet |
| 1h57m | quiet |
| 1h58m | quiet |
| 1h59m | quiet |
| 2h | quiet |
Hint
Look at 25m and 100m on the timeline. Which rule is quiet at both?Check
Drag a card into a box. Or tap the card, then tap the box.
Fast burns wake someone. Slow burns wait for the morning.
You did it!
You can now write burn-rate alerts with a long and a short window.
Go deeper (optional)
These numbers come from Googleβs SRE workbook, for a 99.9% SLO over 30 days. Save each windowβs error ratio with a recording rule, like job:shop_error_ratio:rate1h. Then the alert stays short and fast.
Real mission
docker run --rm --entrypoint promtool -v "$PWD:/w" -w /w quay.io/prometheus/prometheus:v3.13.5 check rules rules.yml
0 of 2 steps done Β· Your ticks are saved.
Bahasa Melayu
SLO anda: 99.9% pesanan berjaya bulan ini. Pada minit 20, 5% pesanan gagal selama 4 minit. Kemudian ia pulih. Perlukah seseorang bangun?
Bahagikan nisbah ralat dengan bajet (0.001). Itulah burn rate.
Burn rate 1 bermaksud bajet cukup tepat sebulan. Lebih besar, lebih laju terbakar.
Burn rate kekal 14.4 selama sejam. Berapa banyak bajet sebulan dah habis?
Panggil orang untuk pembakaran besar dari minit 61. Senyap untuk lonjakan 4 minit. Berhenti sejurus selepas dibaiki pada minit 91.
Pembakaran laju kejutkan seseorang. Yang perlahan tunggu esok pagi.
Kini anda boleh tulis amaran burn rate dengan tetingkap panjang dan pendek.
You finished this before. Practice is always welcome!
Official docs: Alerting on SLOs (Google SRE workbook) Β· Recording rules Β· Grafana SLO
You've learned for 25 minutes. A short break helps your brain.
Sprint done! Great focus. Stretch for a minute?