

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 5
click for more info
Not enough gems
Cost: 6 gems
1: Alerting
incomplete
2: Actionable Alerts
incomplete
3: Alert Thresholds
incomplete
This lesson's interactive features are locked, please to keep using them
The previous lesson used a noisy 401 alert to prove the alerting pipeline works.
Real alerts should be actionable. If a rule fires, an operator should know there's likely a system issue worth investigating.
For example, in most web apps a spike in 5xx responses (there is likely an issue in our service) is much scarier than a spike in 4xx responses (usually an issue in the client's request).
An alert that fires constantly gets ignored. Avoiding "alert fatigue" by choosing signals that reflect real incidents is a core part of a good alerting system. A practical first cut is:
500 spikessum(rate(http_requests_total{status="500"}[5m])) * 60
If Grafana hasn't updated yet after the 500 requests, wait about 15 seconds and click "Run queries" again.
Run and submit the CLI tests from the root of the Linko repo.