How Uptime Monitoring Works: HTTP Probes, Multi-Region Quorum, and False-Positive Control
EngineeringNovember 24, 202611 min read

How Uptime Monitoring Works: HTTP Probes, Multi-Region Quorum, and False-Positive Control

How uptime monitoring works: HTTP probes, quorum voting, and retry logic that catch real outages without flooding you with false alerts.

How Uptime Monitoring Works

At the most basic level, uptime monitoring is a cron job that makes HTTP requests to your endpoints and tracks whether they respond. That's it. Every 30-60 seconds, a server somewhere pings your URL and records the result.

The complexity comes from three questions:

  1. What kind of check? (HTTP, TCP, keyword, etc.)
  2. From where? (single region vs. multi-region)
  3. How do you decide "down" vs "flaky"? (retry logic and quorum voting)

Get these wrong and you'll either miss real outages or drown in false alerts. Neither is good. People stop checking their phones because they assume every alert is noise. Classic monitoring fatigue.

Here's each piece in turn.

Probe Types: HTTP vs TCP vs Keyword

TCP Checks

TCP checks are the simplest. The monitor opens a socket connection to your host:port and considers the check "passing" if the connection completes. No HTTP semantics, no request/response — just "is something listening?"

This catches infrastructure-level failures:

  • Server is powered off
  • Firewall blocking the port
  • Process crashed and isn't listening
  • Network partition between probe and server

But TCP checks miss application failures. Your web server might accept the connection and then return a 500 error, a blank page, or a redirect to an error screen. TCP will report "up" because the socket opened successfully.

Use TCP checks for:

  • Database port accessibility (Postgres 5432, MySQL 3306)
  • Redis or Memcached connections
  • Message queue ports (RabbitMQ, Kafka)
  • Internal services where you control the health endpoint

Don't use TCP for user-facing endpoints. You'll miss the failures that matter.

HTTP Checks

HTTP checks complete the full request cycle: open connection, send request, receive response, validate result. Most monitors let you configure expected status code (200, or 301/302 for redirects), request timeout (10-30 seconds typical), headers for auth, and request method.

HTTP checks catch what TCP misses:

  • Application returning 500/502/503 errors
  • Infinite redirect loops
  • Slow responses that timeout
  • HTTPS certificate issues

The tradeoff is higher overhead. Each HTTP check requires a full request cycle — DNS lookup, TCP handshake, TLS negotiation, HTTP request/response. That's 200-500ms per check depending on latency. At 60-second intervals it's negligible, but if you're checking 500 endpoints every 15 seconds, the probe infrastructure adds up.

Keyword (Body) Checks

Keyword checks extend HTTP checks by validating something in the response body. The monitor looks for a specific string — "status: healthy", your company name — and fails if it's missing.

This catches edge cases HTTP status codes miss:

  • App returning 200 but displaying "Error: database connection failed"
  • CDN serving stale cached content after origin died
  • Load balancer returning its default page instead of your app
  • Partial page renders where critical content is missing

The gotcha is dynamic content. If your homepage includes a timestamp or random quote, don't use that as your keyword. Pick something stable — your logo alt text, a footer copyright notice, a dedicated health string you embed in the response.

Teams often trigger alerts on every deploy because the keyword is a version number that changes on every build. Obvious in retrospect. Not obvious at 3am when you're half-asleep and convinced production is on fire.

Multi-Region Monitoring and Quorum Voting

Single-region monitoring is the source of most false positives. One probe, one location, one point of failure. If your probe is in Frankfurt and Frankfurt's upstream provider has issues, your site looks "down" even though 99% of your users are fine.

Multi-region monitoring runs probes from geographically distributed locations — typically 3-5 regions covering major user populations. US East, US West, Europe, Asia, sometimes Australia or South America depending on your traffic distribution.

But running multiple probes creates a new problem: what if they disagree?

The Quorum Model

Quorum voting solves disagreement by requiring consensus before alerting. Instead of alerting when any single probe fails, you require N of M probes to fail at the same time.

Common configurations:

  • 2 of 3 — tolerates one region having issues
  • 3 of 5 — tolerates two regions having issues
  • All must fail — most conservative, lowest false positives, but might delay detection

The math is intuitive. Single probe with 1% false-positive chance per check? With 2-of-3 quorum, that drops to 0.03%. Real probes aren't perfectly independent — a DNS issue affecting your authoritative nameserver hits all probes equally — but quorum still cuts noise from regional network blips significantly. Not perfectly. Significantly.

How JustAnalytics Handles This

JustAnalytics includes uptime monitoring alongside analytics, errors, APM and replay, so the checks live next to the data you'd use to investigate them. Check the monitor settings in your dashboard to see which region and quorum options your plan offers, since those are the knobs that matter here. Whatever tool you use, the principle holds: one region's failure alone shouldn't page anyone.

A US-only SaaS might run US East + US West and alert only when both fail. An EU-first company might run Frankfurt + London + Paris requiring 2-of-3. You get the idea. Match your probes to your users, not to some default that made sense for someone else's traffic.

Retry Logic: Don't Alert on First Failure

Even with quorum voting, transient failures happen. A single packet loss, a momentary DNS timeout, a 502 during a rolling deploy that resolves in 5 seconds. You don't want to page someone for a blip that self-healed before they could even log in.

Retry logic adds a confirmation step before alerting. When a check fails:

  1. Wait a short interval (15-30 seconds)
  2. Re-check the endpoint
  3. If still failing, wait again and check a third time
  4. Only alert if the failure persists across retries

This adds 60-120 seconds to detection but cuts false positives dramatically. For a payment API where every second of downtime costs money, you might accept more false positives for faster detection. For a marketing site? The delay is fine. Most monitors let you configure retry count and interval per endpoint.

An unpopular take: most teams over-tune their detection speed and under-tune their false-positive filtering. Fast alerts feel productive. Accurate alerts actually are productive.

SSL Certificate Monitoring

Certificate expiration is one of the most preventable causes of outages, and it still happens constantly. Let's Encrypt auto-renewal usually works. When it doesn't — misconfigured DNS, rate limiting, non-root cron permissions, certbot version mismatch — it fails silently until suddenly your site shows "Your connection is not private" in every browser.

SSL monitoring checks:

  • Days until expiration. Alert at 30, 14, 7, and 1 day before.
  • Certificate chain validity. Intermediate certs installed correctly?
  • Hostname match. Certificate covers the domain you're checking?
  • Protocol/cipher strength. TLS 1.2+ required, deprecated ciphers flagged?

JustAnalytics lists SSL checks as part of its uptime monitoring, so you don't need a separate certificate monitor. Once a cert expires you get the expiry problem and the normal "site down" problem together, because browsers refuse to load the page.

(If you're still running certbot manually without monitoring, fix that before anything else.)

What This Won't Fix

Being honest here: uptime monitoring catches "is the site responding?" but misses plenty of failure modes.

Degraded performance — If your site loads but takes 8 seconds instead of 800ms, most uptime checks pass. Frustrating, but true. You need separate performance monitoring (APM, RUM, synthetic monitoring with latency thresholds) to catch slowdowns. JustAnalytics bundles APM alongside uptime — we've written about correlating errors with funnel drop-off for that use case.

Partial outages — If /checkout is down but /homepage works, and you're only monitoring /homepage, you won't know. Monitor your critical paths individually.

Internal service failures — If your site loads but the database behind it is returning stale data or failing writes, HTTP checks won't catch it. You need application-level health endpoints that actually verify dependencies.

Geographic outages — If Cloudflare's LA PoP is down but your probes are in Virginia and Frankfurt, you might miss regional issues affecting only US West Coast users. Match probe regions to user geography.

Uptime monitoring is one layer of observability. Necessary but not sufficient. The stack most teams actually need is uptime + error tracking + APM + session replay + analytics — which is why JustAnalytics bundles all five in one script.

Putting It Together

Here's the practical setup most teams should start with:

  1. HTTP checks on critical endpoints — homepage, login, checkout, API health endpoint. Not every route, just the ones where failure = revenue loss.

  2. Multi-region probes — minimum 3 regions matching your user geography. If you serve US traffic only, US East + US West + one fallback is fine. Global traffic? 5 regions minimum.

  3. 2-of-3 quorum — conservative enough to cut false positives, aggressive enough to catch real outages within 2-3 minutes.

  4. Retry logic — 2-3 retries with 30-second intervals. Trades detection speed for accuracy.

  5. SSL monitoring — 30-day warning threshold minimum. More aggressive (14, 7, 3) if you've had cert expirations before.

  6. Alerting routing — Critical paths to PagerDuty or your on-call rotation. Non-critical paths to Slack or email. Don't page someone at 2am for a docs site flap. Seriously.

The goal isn't zero alerts. It's signal-to-noise ratio high enough that every alert gets attention. When your team trusts the monitoring, they respond faster. When they don't trust it, they ignore it. And then the real outage happens and nobody notices for 45 minutes because everyone assumed it was another false positive.

That's worse than no monitoring at all.

Frequently Asked Questions

Why do uptime monitors sometimes report false positives?

Single-region probes are the usual culprit. If your monitor runs from one datacenter and that datacenter has a network hiccup — congestion, routing issues, transient DNS failure — it'll report your site as down even though users elsewhere see it fine. Multi-region quorum voting fixes this by requiring 2 of 3 (or 3 of 5) geographically distributed probes to agree before firing an alert. The math is simple: one probe lying is common, several probes lying at the same moment is rare.

What's the difference between HTTP and TCP uptime checks?

TCP checks verify the port is open and accepting connections. HTTP checks go further — they complete the full request/response cycle and can validate status codes, response bodies, and headers. TCP is faster and lighter, but it'll report "up" even if your app is returning 500 errors. HTTP catches application-layer failures that TCP misses. Most teams should use HTTP for their primary monitors and reserve TCP for infrastructure checks like database ports or Redis connections.

How often should uptime checks run?

60-second intervals are the industry default and work for most use cases. Going below 30 seconds rarely improves detection meaningfully but increases costs and can trigger rate limiting on some endpoints. If you're running a checkout or payment flow where every second of downtime costs money, 15-second checks might be worth it — but only for those critical paths, not your entire site. A 60-second check means worst-case detection time is 60 seconds plus your retry logic, which typically adds another 60-120 seconds before an alert fires.

Do uptime monitors check SSL certificate expiration?

Good ones do. SSL monitoring should alert you at 30, 14, and 7 days before expiration so you have time to renew. JustAnalytics includes SSL checks with its uptime monitoring. This catches the "forgot to renew the cert" outage that's embarrassingly common — Let's Encrypt auto-renewal helps, but it fails silently more often than you'd think, especially on non-standard setups.


Try JustAnalytics

All-in-one observability in one under-5KB script: cookieless analytics + error tracking + APM + session replay + uptime + structured logs. Replaces GA4 + Sentry + Datadog + Pingdom + LogRocket. Free tier (100K events/mo); uptime monitoring is part of Pro at $49/month, or $39/month billed annually.

Start free → · AI Command Center MCP

JP
JustAnalytics Platform TeamContributor

Author at JustAnalytics.

Related posts