Monitoring glossary
What is alert flapping?
A flapping alert fires, resolves, fires again and resolves again, often dozens of times. It floods channels and teaches people to ignore alerts.
4 min read9 sectionsUpdated
On this page
| Cause | Example | Fix |
|---|---|---|
| Value near the threshold | CPU between 79% and 81% with an 80% threshold | Sustained window; different trigger and clear levels |
| Single-sample checks | One failed request from one region pages someone | Consecutive failures; multi-region confirmation |
| Flaky dependency | An API that times out 2% of the time | Alert on rate over a window, not single failures |
| Restart loops | A pod that crashes and recovers every minute | Alert on restart count, fix the crash |
Fixes that work
- Sustained conditions: fire only if the condition holds for the whole window, such as 5 minutes.
- Consecutive failures: require 2 or 3 failed checks in a row.
- Multi-region agreement: require several regions to fail before an uptime monitor is down.
- Hysteresis: trigger at 90%, clear only below 80%.
- Cooldown: after resolving, stay quiet for a set time.
- Grouping: fold repeated alerts for the same service into one notification with a count.
In VitalRix
Alert noise reduction includes time windows that require the condition to hold, consecutive-failure rules, multi-region monitors that need several regions to agree, cooldowns, re-notify intervals with caps, grouping by application, service, monitor or rule within a window from 1 minute to 24 hours, and mute schedules for maintenance. Background reading: alert fatigue in uptime monitoring.
A worked example
A memory alert is set to fire at 85% and clear below 85%, evaluated every minute. The service's memory hovers between 84% and 86% after a cache was enlarged. Over one night the alert fires and resolves 47 times, and the on-call engineer mutes the channel at 2 a.m., which is exactly when a real problem would be missed.
Three small changes stop it:
- Sustain: fire only when memory stays above 85% for 10 minutes.
- Hysteresis: clear only when memory drops below 78%.
- Cooldown: after resolving, stay quiet for 30 minutes.
The alert now fires once if memory really stays high, and the team fixes the actual issue, which here was the cache size, instead of learning to ignore the channel.
Measuring alert quality
Track, per alert rule and per month: how many times it fired, how many times someone took action, and the median time it stayed open. Rules that fire often and rarely lead to action are your flapping and noise candidates. Review the top five every month and either fix the threshold, add a window, downgrade the severity or delete the rule.
Is flapping always a monitoring problem?
No. Sometimes the service really is flapping, for example in a restart loop. Fix the noise, but also look for the real instability.
Will a sustained window delay real alerts?
Slightly. A 5-minute window delays an alert by up to 5 minutes. For critical paths, pair a short window on a strong signal with a longer one on a weak signal.
Related reading
- What is log optimization?: Log optimization explained: finding the noisiest log sources, levels and sampling, structured fields, dropping duplicates, retention tiers.
- Get website down alerts in Slack: Send website down alerts to Slack the right way: channel layout, what goes where, keeping noise down and backing Slack up with on-call paging.
- What is an escalation policy?: Escalation policies explained: steps, targets and acknowledgement timeouts, an example three-step policy, repeat rules and how to avoid alerts nobody owns.
- How to monitor DigitalOcean: How to monitor apps on DigitalOcean: droplet CPU, memory and disk, App Platform services, managed databases, load balancers, uptime checks and alerts.
- VitalRix and Opsgenie: Connect VitalRix to Opsgenie with the Alert API: create alerts from uptime, APM and SLO rules, acknowledge and close them on recovery, in the US or EU region.
- VitalRix and Zoho Cliq: Send VitalRix alerts to Zoho Cliq: website down, API errors, SLO burn and recoveries, routed per alert rule and severity to the right channel.
Watch your own site and services with VitalRix
Uptime checks, APM, logs, real-user monitoring, alerts and status pages in one place. Every product has a free tier and no credit card is needed.