Manage SLOs¶
All created SLO tasks can be viewed under Monitors > SLOs. The list displays real-time metrics such as associated monitors, targets, downtime, compliance rate, error budget, etc. It also supports enabling, disabling, editing, viewing events, and exporting to dashboards.
List Fields¶
Field |
Description |
|---|---|
| Monitor | The number of monitors associated with the SLI, which measures service performance. |
| Target | The target percentage of service availability set when creating the SLO task. |
| Compliance Rate (7 days) | The percentage of time the system was free of anomalies within the given assessment period (Compliance Rate = System Anomaly-Free Time / Assessment Period * 100%): |
| Downtime (7 days) | The time the monitor was in an abnormal state / used quota. |
| Error Budget (7 days) | The remaining fault-tolerant time for the current SLO (assuming the target SLO is set to 95%, meaning there is a 5% fault tolerance rate, defaulting to the last 7 days as the cycle, i.e., default: Error Budget = 7 days * 5% = 8.4h), displayed as: |
Operation Instructions¶
- Search: Filter by SLO name;
- Batch: Enable/disable/delete multiple SLOs;
- Single SLO task: Enable, disable, edit (except name/target/frequency), delete;
- Delete: Supports deleting existing SLO tasks;
- View related events: One-click view all unresolved events triggered by this SLO;
- Export to dashboard: Synchronize the SLO view to the dashboard.
Note
- Deleting an SLO will also delete its dashboard view;
- The time range of the SLO view in the dashboard defaults to be consistent with the dashboard, and the list defaults to show the compliance rate for the last 7 days.
Retrieve SLO via DQL Expression¶
Reference the following query for anomaly time:
df_slo_cost represents deducted minutes, and summing the values gives the anomaly time. Replace df_slo_id accordingly:
To query the SLO value for 7 days, the DQL expression is as follows:
eval((10080-A)/10080 *100, A="E::`slo`:(sum(`df_slo_cost`)) { `df_slo_id` = 'monitor_6bad2a76dd9b41d7894f21a76d44ae42'}")
Example:
In the image below, the anomaly time SLO value for the SLO task over the past 7 days is 80.496%.
Go to Shortcut > Query Tool, select DQL Query, and enter the query statement for the 7-day SLO value. The query result matches the value in the image above.


