Website Uptime monitoring with SLO

Website Uptime monitoring with SLO


Maintaining service level agreements with external or internal customers often requires measuring uptime percentage. This guide shows you how to achieve this using Datadog Synthetic Monitoring and the SLO widget. It uses website as an example.

Synthetic test creation

Create a new Synthetic API test upon

  1. Go to the new Synthetic API test page.

  2. Enter in the URL field.

  3. Click Test URL to automatically populate assertions about the health of your website:

  4. Tweak those assertions to match your SLI and define your test retry policy, in this example if at least half of the locations fails, even after one retry, then we consider that the site is down;

  5. Optionally - Define a verbose notification message:

Slo Widget configuration

Create your SLO

  1. Create a new SLO to track your website’s uptime based on your Synthetic test results.

  2. Select Monitor based and enter your Synthetic test name:

  3. Define the target you want to achieve:

  4. Finish your SLO configuration by setting a title and message to give more detail upon your SLO:

  5. Click Save.

Import your SLO in your Dashboard

  1. Create a new Dashboard to host your SLO widget:

  2. Drag and drop the SLO summary widget on your board.

  3. Select the SLO that you defined just above:

  4. Customize you SLO widget to match your needs:

  5. Finish by entering a descriptive title for your widget and click Done and voila:

Further Reading

Additional helpful documentation, links, and articles: