Uptime and performance
The uptime check requests the site’s URL from your server every 60 seconds by default. After two failed requests in a row, the site is Down and an incident opens. A single failed request does not alert.
What counts as up
Section titled “What counts as up”By default, a response is up when it arrives within 30 seconds with a 2xx status
after at most five redirects. You can tighten this in the check settings:
- Status codes: exact codes or patterns, such as
200or30*. - Keyword: text that must appear, or text that must not appear.
- Response headers: a header must equal, not equal, contain or not contain a value.
- Response body: up to ten rules on JSON values, such as a field that must exist or a number that must stay below a limit.
- Final redirect URL: the address the redirects must end at.
- Request: the HTTP method, a payload and request headers, for example an
Authorizationheader for a protected page. Header values are stored as secrets and never shown again.
Monitor a page that represents what the client uses. A home page can stay up while checkout is broken. Add a separate site for a critical path when that matters. Avoid URLs that change data when requested.
Performance
Section titled “Performance”The performance check uses the uptime check’s response times; it sends no requests of its own. It warns when the average response time is above 2000 ms or changes by more than 50 % from the previous period. Both limits can be changed. Performance raises a Warning, never Down.
Investigate a failure
Section titled “Investigate a failure”- Open the incident and read the error and the first failed time.
- Request the URL from your monitoring server, not only from your browser.
- Compare DNS, TLS, status code and the server logs of the site.
- Add a note to the incident with what you found.
Checks measure reachability from one server. For evidence from another network, use a second, independent monitor.
Planned work
Section titled “Planned work”Before planned work, schedule a maintenance window. Alerts wait until it ends. To stop monitoring a site entirely, Pause it.