How is it calculated?
A monitor requests a URL on a schedule and records whether it answered in time with an acceptable status. Uptime is successful checks divided by all checks, or equivalently the time up divided by total time.
The percentages are less forgiving than they look: 99.9% over a 30-day month still allows about 43 minutes of downtime, and 99% allows more than seven hours.
Example
- 43,200 checks
- 65 fail
- 99.85% uptime for the month
A monitor checks a site every minute, which is 43,200 checks in 30 days. 65 of them fail during one incident. Uptime for the month is 43,135 ÷ 43,200 = 99.85%, with about 65 minutes of downtime.
Common mistakes
- Monitoring from the same infrastructure the site runs on. When it goes down, so does the monitor.
- Checking only the home page. The checkout or the API can fail while the home page is cached and fine.
- Relying on analytics to notice outages. A drop in visitors is a late and ambiguous signal.