SLA Definition Block
Define service level objectives with metrics, targets, measurement windows, and current values. Track SLO status and document operational commitments.
The SLA Definition block structures service level objectives (SLOs) for documentation and tracking. Define metrics, targets, measurement windows, and monitor current status against commitments.
When to Use
Block Properties
| Property | Required | Description |
|---|---|---|
| Title | Yes | SLA document title |
| Description | No | Scope and context for the SLOs |
| Objectives | Yes | Array of service level objectives |
Objective Properties
| Property | Required | Description |
|---|---|---|
| Metric | Yes | What is being measured |
| Target | Yes | The commitment level |
| Measurement Window | No | Time period for measurement |
| Current Value | No | Latest measured value |
| Status | No | Meeting, At Risk, or Breached |
Status Values
Example: API Service SLOs
Complete SLOs for a production API.
Example: SLOs with Issues
SLOs showing at-risk and breached status.
Best Practices
| Practice | Description |
|---|---|
| Meaningful Metrics | Define metrics that reflect user experience |
| Achievable Targets | Set targets based on historical data |
| Appropriate Windows | Use measurement windows suited to each metric type |
| Regular Review | Review and update SLOs as systems mature |
| Error Budgets | Document error budgets alongside SLOs |
Editing SLA Definitions
| Action | How To |
|---|---|
| Add Objective | Click Add Objective and fill in the required fields |
| Set Status | Select status from dropdown with colour-coded badges |
| Remove Objective | Click the delete button on individual objectives |
| Preview | View the SLO list with status indicators |