Monitor Website Uptime With SLOs
Overview
Maintaining service level agreements with external or internal customers often requires measuring uptime percentage.
This guide shows you how to achieve that using Datadog Synthetic Monitoring and the SLO widget with an example website, http://example.com/
.
Create a Synthetics test
To create a Synthetic API test with http://example.com/
, see Create a single API test.
When you click Test URL, assertions about your website’s health populate. Adjust the assertions to match your SLI.
Create your SLO
Create a new SLO to track your website’s uptime based on your Synthetic test results.
Select Monitor Based and enter your Synthetic test name.
Define the target you want to achieve.
Enter a name, message, and tags to provide additional details for your SLO.
Click Save.
Import your SLO in your Dashboard
Create a new Dashboard to host your SLO widget.
Drag and drop the SLO widget on your board.
Select the SLO that you defined above.
Customize your SLO widget to match your needs.
Enter a descriptive title for your widget and click Done.
Further Reading
Additional helpful documentation, links, and articles: