A threshold alert is the simplest and most common alert type. You define a metric, a comparison, a value and often a duration. When the condition holds, the alert fires, and when it clears, a recovery notice is sent.
Why it matters
Thresholds are easy to understand, explain and audit. They suit conditions with hard limits, like disk usage, certificate expiry or an error rate that is never acceptable. Their weakness is brittleness: values set too low produce noise, and values set too high miss real problems.
Example
alert: HighErrorRate
condition: 5xx responses / all responses > 0.05
for: 5 minutes
severity: critical
The "for" duration prevents a single spike from paging anyone. A second rule at 0.02 over 15 minutes can warn through chat without paging.
Common mistakes
- No duration, so one bad sample triggers the alert.
- Choosing thresholds by guesswork rather than from the baseline data.
- Using the same level for warnings and pages.
- Alerting on causes (CPU 80%) when no user impact exists.
- Forgetting a recovery condition with hysteresis, which causes flapping.
Related
Get notified when this term updates
Plus occasional practical tips on uptime and monitoring, nothing else. Unsubscribe anytime.
यह पेज सामान्य जानकारी है, जिसे हमारी संपादकीय टीम ने लिखा है और दस्तावेज़ीकरण बदलने पर अपडेट किया जाता है। सर्वर और प्रदाता अलग-अलग होते हैं, इसलिए बदलाव पहले सुरक्षित तरीके से जाँचें। देखें: संपादकीय नीति और अस्वीकरण.