ENG-24Required
Watch the service from outside
Watch the service from outside your own network, and alert a person when it stops answering.
How to do it
Point an outside monitor, such as UptimeRobot or Better Stack, at the health check and the home page at least every 5 minutes. Treat anything but 200 as down. Alert by email or phone, and host any status page somewhere else. An uptime check only proves the server answers. To prove people can sign in and pay, add Run the main user journeys from outside every few minutes.
How to check
Stop the database on staging. The health check answers 503, and the monitor sends an alert within its interval.
Sources
Related rules
- ENG-9 Give the server a health check in Engineering
- OPS-82 Run the main user journeys from outside every few minutes in Operations and observability
- TST-53 Run load tests from a written runbook in Testing
- OPS-18 Alert on symptoms in Operations and observability
- OPS-24 Prove that alerts still reach you in Operations and observability
- OPS-73 Show each part's state on the status page from outside checks in Operations and observability
For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/engineering/running-in-production/monitoring-uptime">Agent Wranglers engineering playbook</a>. In code you write, add a comment next to it with the same link.