What are URL Monitors?
URL monitors track the availability of your HTTP-based services by sending requests to specified URLs and validating avaliability and performance.
- Ensuring your marketing site returns a 200 OK
- Verifying your documentation site loads quickly
- Checking that your SSL certificate is still valid
- Confirming that a public pricing endpoint is reachable for customers
How URL Monitors Work
URL monitors send HTTP requests to specified URLs and validate availability and performance. They can be configured to check for specific status codes and response times while running from multiple global locations.Configure Response Times and Status Codes
Configure the response times and status codes you want to check for.
URL Monitor Results
URL monitor results show details about each request and help you understand if your endpoint was available and performing as expected at the time of the check.
- The HTTP request that was made
- The response time
- The result of any status code assertions configured in the monitor
- For each request, we capture the following timing metrics:
- dns: DNS lookup time
- tcp: time to establish the TCP connection
- firstByte: time until the first byte of the response is received
- download: duration of the HTTP download
Best Practices
Choosing Frequencies
Choosing Frequencies
- Critical services: Every 1-2 minutes
- Important services: Every 5 minutes
- Standard services: Every 10-15 minutes
- Background services: Every 30 minutes to 1 hour
Location Selection
Location Selection
- Choose 2-3 locations covering your user base
- Include at least one location near your infrastructure
- Consider regulatory requirements for data residency
Assertion Strategy
Assertion Strategy
- Always check status codes
- Set appropriate response time thresholds
- Test assertions thoroughly before deployment
Implement as a Construct
Implement as a Construct
For monitoring as code workflows, use the URL Monitor construct to version control your monitoring configuration and deploy alongside your application code. Learn about URL Monitor Construct →
