slo-implementation

Define SLIs, SLOs, and error budgets with Prometheus recording rules.

38.6k|4.1k|Updated Jul 24, 2025
One-click install
npx skills add https://github.com/wshobson/agents --skill slo-implementation-wshobson
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slo-implementation
Source: https://github.com/wshobson/agents/tree/main/plugins/observability-monitoring/skills/slo-implementation
Command: npx skills add https://github.com/wshobson/agents --skill slo-implementation-wshobson

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a framework for defining, implementing, and monitoring Service Level Indicators (SLIs) and Service Level Objectives (SLOs) to ensure service reliability and manage development velocity through error budgets.

Core Features & Use Cases

  • SLI/SLO Definition: Guides the creation of measurable reliability targets using common SLI types (availability, latency) and provides examples for setting SLO targets.
  • Error Budget Management: Explains error budget calculation and policy implementation, linking remaining budget to development actions.
  • Implementation Guidance: Offers Prometheus recording rules and SLO alerting rules for practical implementation and monitoring.
  • Use Case: When establishing reliability targets for a new microservice, use this Skill to define its availability SLO, calculate its error budget, and set up alerts to notify the team if the budget is being consumed too quickly.

Quick Start

Use the slo-implementation skill to define an availability SLI for the API with a target of 99.9% over a 28-day window.

Frequently Asked Questions about slo-implementation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I define SLIs and SLOs for a microservice?

Defining SLIs and SLOs for a microservice involves setting measurable reliability targets like 99.9% availability over a 28-day window. This framework guides creating common SLI types and calculating error budgets to balance development velocity with service stability.

How do I calculate and manage an error budget for service reliability?

Calculating an error budget involves measuring service performance against your defined SLO targets. This Skill explains error budget calculation and policy implementation, linking the remaining budget directly to development actions and innovation pace.

How do I set up Prometheus alerts for SLO burn rate?

Setting up Prometheus alerts for SLO burn rate uses provided Prometheus recording rules and SLO alerting configurations. These rules notify your team if the error budget is being consumed too quickly, ensuring comprehensive monitoring and proactive reliability management.

What is the difference between SLI and SLO in SRE practices?

In SRE practices, an SLI is a service level indicator measuring user-perceived reliability, while an SLO is the objective or target threshold for that indicator. This framework helps define both metrics to effectively measure service performance against user expectations.

Can I use this SLO framework for latency targets instead of availability?

Yes, you can use this SLO framework for latency targets instead of availability. It guides the creation of measurable reliability targets using common SLI types including both availability and latency to measure service performance against user-perceived reliability.

What is the best way to implement SLO alerting and dashboard structures?

The best way to implement SLO alerting and dashboard structures is by using Prometheus recording rules and alerting configurations provided here. This approach supports SRE practices by offering comprehensive monitoring structures for service reliability targets.