Service Level Objectives, or SLOs, are a key part of the site reliability engineering toolkit. SLOs provide a framework for defining clear targets around application performance, which ultimately help teams provide a consistent customer experience, balance feature development with platform stability, and improve communication with internal and external users.
Use the SLO and uptime widget to track your SLOs (Service Level Objectives) and uptime on screenboards and timeboards. You can use SLO by adding a widget to a dashboard, or by going to Datadog’s Service Level Objectives page to create new SLOs and view all existing ones. Select an existing SLO from the dropdown and display it on any dashboard.
Uptime is defined as the amount of time a monitor was in an up state (OK) compared to down state (non-OK). The status is represented in bars as green (up) and red (down). Example: ’99 % of the time latency is less than 200ms.`
You can also track success rate and event-based SLIs (Service Level Indicators). Example:
99 % of requests are successful.
Once you have monitors set up, on the main Service Level Objectives page, you can view the overall uptime percentage only—or the overall percentage, plus the uptime for each monitor.
To edit an SLO, hover over the SLO on the right, and click the edit pencil icon.
The List Service Level Objectives page lets you run an advanced search of all SLOs so you can view, delete or edit service tags for selected SLOs in bulk. You can also clone or fully edit any individual SLO in the search results.
Advanced search lets you query SLOs by any combination of SLO attributes:
description- text search
time window- *, 7d, 30d, 90d
type- metric, monitor
To run a search, use the checkboxes on the left and the search bar. When you check the boxes, the search bar updates with the equivalent query. Likewise, when you modify the search bar query (or write one from scratch), the checkboxes update to reflect the change. Query results update in real-time as you edit the query; there’s no ‘Search’ button to click.
To edit an individual SLO, hover over it and use the buttons to the far right in its row: Edit, Clone, Delete. To see more detail on a SLO, click its table row to visit its status page.
When you create or edit an SLO, you can add tags for filtering on the list SLOs pages.
The overall uptime result calculated for a time
T_x can be expressed using boolean logic as the logical conjunction (the
AND conjunction) of all of the monitor states at time
If at time
T_x the state of all monitors
[m0, ..., m_n] are all in
OK state, then the overall uptime for time
T_x will be the
OK state. However, if any number of monitors at time
T_x have state
ALERT, then the overall uptime for time
T_x will be the
Consider the following example:
You can view, edit your SLO and its properties and see the status over time and the history of your SLO from the SLO status page.
After creating your SLO, you can use the SLO dashboard widget to visualize the status of your SLOs along with your dashboard metrics, logs and APM data. For more information about SLO Widgets, see the SLO Widgets documentation page.
Documentation, liens et articles supplémentaires utiles: