Prompt
Need uptime monitoring for website and API
Latest observation
Oct 20, 2026
OpenAI APIWeb search: off
You’ll want two separate monitors: one for the website and one for the API.
What to monitor
-
Website uptime
- Check the main homepage URL, e.g.
https://example.com - Use an HTTP
GET - Alert on:
- non-200/3xx response
- timeout
- TLS/SSL errors
- slow response time
- Check the main homepage URL, e.g.
-
API uptime
- Check a lightweight endpoint like:
https://api.example.com/health- or
https://api.example.com/status
- Prefer an endpoint that confirms app + dependencies if possible
- Use an HTTP
GETorHEAD - Validate:
- status code
- response body if needed, e.g.
{"status":"ok"}
- Check a lightweight endpoint like:
Recommended setup
- Interval: every 1 minute
- Timeout: 5–10 seconds
- Retries: 1–2 failed checks before alerting
- Notifications: email, Slack, SMS, or PagerDuty
- Regions: monitor from at least 2 locations to reduce false alarms
Good tools
- UptimeRobot – simple, low cost
- Pingdom – strong alerting and reporting
- Better Stack – good uptime + logs
- StatusCake – flexible
- Datadog Synthetic Monitoring – if you already use Datadog
- Prometheus + Blackbox Exporter – self-hosted option
Best practice
Add a dedicated API health endpoint that checks:
- app is running
- database reachable
- critical downstream services available
Example:
{ "status": "ok" }
Example monitor configuration
- Website:
https://example.com - API:
https://api.example.com/health - Check every 60 seconds
- Alert after 2 consecutive failures
If you want, I can help you with:
- a tool comparison
- a self-hosted monitoring setup
- a step-by-step config for your stack
- a sample health check endpoint for your API