BM: Baca dalam Bahasa Melayu
World O3: Alarms & Screens
Alert on symptoms, not causes
You will learn: to page people for what customers feel, not for every busy machine.
Checked with Prometheus 3 on 1 Nov 2026
The problem
3 a.m. The pager rings: CPU at 95%. You get up and check. Every order works fine. Was it worth waking you?
Pick one answer.
Watch
Drag a card into a box. Or tap the card, then tap the box.
A symptom: What the customer feels: failed orders, slow pages. Alert on symptoms; look at causes (CPU, disk) on the screens. is what the customer feels. A cause is one reason it might happen.
Try it
The CPU is busy from 5m to 13m. Orders fail from 18m. Pick the rule that wakes someone only for the second.
Build an alert rule from the blocks. The timeline shows when it would wait and when it would fire.
groups: - name: kedai rules: - alert: KedaiPain expr: kedai:cpu_busy:ratio > 0.9 labels: severity: page annotations: summary: "{{ $value | humanizePercentage }} of orders fail"
Graph as a table
| Time | kedai:cpu_busy:ratio{instance="kedai-1"} |
|---|---|
| 0s | 0.3 |
| 1m | 0.3 |
| 2m | 0.3 |
| 3m | 0.3 |
| 4m | 0.3 |
| 5m | 0.95 |
| 6m | 0.95 |
| 7m | 0.95 |
| 8m | 0.95 |
| 9m | 0.95 |
| 10m | 0.95 |
| 11m | 0.95 |
| 12m | 0.95 |
| 13m | 0.95 |
| 14m | 0.35 |
| 15m | 0.35 |
| 16m | 0.35 |
| 17m | 0.35 |
| 18m | 0.35 |
| 19m | 0.35 |
| 20m | 0.35 |
| 21m | 0.35 |
| 22m | 0.35 |
| 23m | 0.35 |
| 24m | 0.35 |
| 25m | 0.35 |
| 26m | 0.35 |
| 27m | 0.35 |
| 28m | 0.35 |
| 29m | 0.35 |
| 30m | 0.35 |
What the alert does over time
Grey: quiet. Amber: pending (true, but waiting). Red: firing.
{instance="kedai-1", severity="page"}π firing 5m to 13m
At 25m:
Nothing is pending or firing.
Timeline as a table
| Time | {instance="kedai-1", severity="page"} |
|---|---|
| 0s | quiet |
| 1m | quiet |
| 2m | quiet |
| 3m | quiet |
| 4m | quiet |
| 5m | π firing |
| 6m | π firing |
| 7m | π firing |
| 8m | π firing |
| 9m | π firing |
| 10m | π firing |
| 11m | π firing |
| 12m | π firing |
| 13m | π firing |
| 14m | quiet |
| 15m | quiet |
| 16m | quiet |
| 17m | quiet |
| 18m | quiet |
| 19m | quiet |
| 20m | quiet |
| 21m | quiet |
| 22m | quiet |
| 23m | quiet |
| 24m | quiet |
| 25m | quiet |
| 26m | quiet |
| 27m | quiet |
| 28m | quiet |
| 29m | quiet |
| 30m | quiet |
Hint
The busy CPU never broke an order. The failing orders did hurt.Predict
The disk will be full in 4 hours. Customers feel nothing yet. What fits best?
Pick one answer.
Check
Swipe right if it should page someone. Swipe left if not.
Swipe right for good, left for needs work. Or use the buttons.
More than 5% of checkouts fail for 2 minutes
You did it!
You can now page people for customer pain, not for busy machines.
Go deeper (optional)
Causes still matter. Put CPU, memory and disk on the screens, and in the runbook. Then on-call can find the reason fast. Prometheusβs own advice: few alerts, each tied to pain a user feels.
Bahasa Melayu
Pukul 3 pagi. Pager berbunyi: CPU 95%. Anda bangun dan semak. Setiap pesanan berjalan elok. Berbaloikah anda dikejutkan?
Simptom ialah apa yang pelanggan rasa. Punca ialah satu sebab ia mungkin berlaku.
CPU sibuk dari minit 5 hingga 13. Pesanan gagal dari minit 18. Pilih rule yang kejutkan orang hanya untuk yang kedua.
Cakera akan penuh dalam 4 jam. Pelanggan belum rasa apa-apa. Apa paling sesuai?
Leret ke kanan jika ia patut panggil orang. Leret ke kiri jika tidak.
Kini anda boleh panggil orang untuk kesakitan pelanggan, bukan untuk mesin sibuk.
You finished this before. Practice is always welcome!
Official docs: Alerting (practices) Β· Alerting rules
You've learned for 25 minutes. A short break helps your brain.
Sprint done! Great focus. Stretch for a minute?