Skip to content

Performance

Uptime

Uptime is the share of time a website or service is reachable and answering correctly. It is measured by checking the site from outside at regular intervals and is usually written as a percentage, such as 99.9%.

Also called availability, uptime monitoring, downtime Updated

uptime = successful checks ÷ all checks

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.

How CrispStats shows it

CrispStats checks each monitor from Cloudflare’s network, outside your stack, as often as once a minute, with a GET or HEAD request and a timeout you set. A monitor is marked down after a run of failed checks in a row (2 by default), which keeps one dropped packet from paging anyone. Each monitor shows its uptime for the selected range, 90 days of daily bars and its p95 response time, and a public status page can show the same to your users. Starter includes 5 monitors and Scale 50.

Your traffic, crisp and clear

One script, no cookies, and every feature from the first day. Set up takes about as long as pasting a snippet.