Skip to content
Halcyon

Blog · Monitoring · 4 min read

What to monitor first, if you are starting from nothing

Ten checks that cover most of what customers notice, in the order we would add them, with the interval and threshold for each. About forty minutes of work.

The most common question we get from new teams is not how to monitor something, but what. There are a hundred things you could watch and a free plan with ten monitors. Here is the list we would start with, in order, for a typical web product with a marketing site, an app, an API and some background jobs.

The principle behind the order is simple: watch what customers do, from where customers are, before you watch how your servers feel. CPU graphs are useful when you are debugging. They are rarely how you find out that checkout is broken.

The first five: what customers touch

  1. Sign-in. An HTTP check on the login page and, if you can, a keyword check that the form renders. Every 30 seconds, from three regions. If people cannot get in, nothing else matters.
  2. The action that makes money. Checkout, the booking flow, the upload. A dedicated health endpoint that exercises the real path is better than the homepage. Every 30 seconds.
  3. Your public API, if you have one. A cheap authenticated GET that touches the database. Customers’ integrations break silently and their own customers notice first.
  4. The app shell. The URL people bookmark, checked for a 200 and a keyword that only appears when the app has actually loaded, not the error page.
  5. The marketing site. Every 3 minutes is fine. It is rarely the thing that breaks, but when it does, everyone sees.

The next three: what breaks quietly

  1. Certificates. One SSL check per domain, alerting 21 days before expiry. Automated renewal fails more often than anyone admits, usually on the forgotten subdomain.
  2. Domain expiry. One check per registered domain, alerting 30 days ahead. Rare, catastrophic and entirely preventable.
  3. Your most important cron job. A heartbeat check: the job pings a Halcyon URL when it finishes, and Halcyon alerts if the ping does not arrive on schedule. Start with the one that sends invoices or backs up the database.
# At the end of your nightly backup script
curl -fsS --retry 3 https://hb.halcyon.example/p/7f3k2q9x > /dev/null
A heartbeat is one line. If the job fails before it gets here, the ping never arrives, and that is the alert.

The last two: what you depend on

  1. DNS. A DNS check that your main domain resolves to the address you expect, from three regions. A wrong record looks like an outage to customers and like nothing at all to your servers.
  2. The third party you cannot live without. Your payment provider’s API, your auth provider, your email sender. Check a cheap public endpoint, route the alert to a channel rather than a pager, and link it to the matching component on your status page.

Intervals and thresholds

CheckIntervalAlert whenWho is paged
Sign-in30 sDown from 2 of 3 regionsPrimary, immediately
Checkout / core action30 sDown, or p95 > 2 s for 5 minPrimary, immediately
Public API30 sDown from 2 of 3 regionsPrimary, immediately
App shell1 minDown, keyword missingPrimary
Marketing site3 minDown for 2 checksChannel only
CertificatesDaily21 days before expiryForecast email
DomainsDaily30 days before expiryForecast email
Cron heartbeatPer scheduleLate by 15 minPrimary, working hours
DNS5 minWrong answer from 2 regionsPrimary
Third party1 minDown for 3 checksChannel only

These are starting points, not rules. After two weeks, look at the 90-day bar of each check and the response-time sparkline next to it. If a threshold has never come close to firing, it is probably too loose; if it fires every few days and nobody acts, it is too tight. Adjust one check at a time and write down why, so the next person on call knows what the number means.

What to leave for later

Resource metrics, internal service checks, and synthetic journeys through five pages are all worth having eventually. Leave them until the ten above have been running quietly for a month. If those ten are noisy, adding more will only make it harder to tell which alerts matter.

One more habit before you close the tab: give each check a name a sleepy person can read. “checkout · fra iad sin” tells the person paged at 03:12 exactly what broke and from where. “http-check-7” tells them to open a laptop and go looking, and every minute spent looking is a minute the outage runs on.

And put the first five on a status page the same afternoon. Customers do not need to see your cron jobs, but they do want to know whether sign-in and checkout are working, and a page that says so is the cheapest support you will ever build.

Aiko Brandt is reliability lead at Halcyon. Replies to this post go to a real inbox: write to us.

All posts

Fewer pages. Faster answers.

Halcyon confirms every failure from three regions before it wakes anyone. Free for 10 monitors.

No card · first check in about 20 seconds