Skip to content

Manage SLOs


You can manage all SLO tasks on the Monitoring > SLO page. The list displays their key metrics (such as compliance rate, error budget) in real-time and supports operations like enabling, editing, viewing incidents, or exporting to dashboards.

List Fields

Field
Description
Monitor The number of monitors associated with the SLI, i.e., the metrics measuring service performance.
Target The target percentage for service availability set when creating the SLO task.
Compliance Rate (7 days) The percentage of time the system was free of anomalies within a given assessment period relative to the total duration (Compliance Rate = System anomaly-free time / Assessment Period * 100%):
  • When Minimum Target Percentage =< Percentage < Target Percentage, the SLA is considered Unhealthy, displayed as an orange compliance rate;
  • When Percentage < Minimum Target Percentage, the SLA is considered Non-compliant, displayed as a red compliance rate.
  • Downtime (7 days) The time the monitor was abnormal / used quota.
    Error Budget (7 days) The remaining fault-tolerant time for the current SLO (assuming the target SLO is set to 95%, meaning a 5% fault tolerance rate, with the default period being the last 7 days, i.e., default: Error Budget = 7 days * 5% = 8.4h), displayed as:
  • Green: Remaining fault-tolerant time >= 0;
  • Red: Remaining fault-tolerant time < 0.
  • Operation Instructions

    • Search: Filter by SLO name;
    • Batch: Enable/Disable/Delete multiple selected SLOs;
    • Single SLO task: Enable, Disable, Edit (excluding name/target/frequency), Delete;
    • Delete: Supports deleting existing SLO tasks;
    • View Related Incidents: One-click view all unrecovered incidents triggered by this SLO;
    • Export to Dashboard: Synchronize the SLO view to the dashboard.
    Note
    • Deleting an SLO will simultaneously delete its dashboard view;
    • The time range of the SLO view in the dashboard defaults to match the dashboard, and the list defaults to showing the compliance rate for the last 7 days.

    Retrieve SLO via DQL Expression

    For downtime, refer to the following query:

    df_slo_cost represents deducted minutes. Summing the values gives the downtime. Replace df_slo_id accordingly:

    E::`slo`:(sum(`df_slo_cost`)) { `df_slo_id` = 'monitor_6bad2a76dd9b41d7894f21a76d44ae42' }
    

    To query the SLO value for 7 days, use the following DQL expression:

    eval((10080-A)/10080 *100, A="E::`slo`:(sum(`df_slo_cost`)) { `df_slo_id` = 'monitor_6bad2a76dd9b41d7894f21a76d44ae42'}")
    

    Example:

    In the image below, the SLO value (downtime) for the SLO task over the past 7 days is 80.496%.

    Go to Shortcut > Query Tool, select DQL Query, enter the query statement for the 7-day SLO value. The query result matches the value shown above.

    Note

    When using Query Tool > DQL Query, ensure the time range in the top right corner matches the time range for retrieving the SLO value; slo_id can be viewed in Incident > Incident Details Page:

    Feedback

    Is this page helpful? ×