slo-sli

Automate SLO/SLI definitions and burn-rate alerting with Prometheus recording rules.

34|32|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/opensearch-project/observability-stack --skill slo-sli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slo-sli
Source: https://github.com/opensearch-project/observability-stack/tree/main/claude-code-observability-plugin/skills/slo-sli
Command: npx skills add https://github.com/opensearch-project/observability-stack --skill slo-sli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

SLO/SLI definitions and burn-rate alerting are essential for measuring and maintaining service reliability in modern distributed systems. This skill provides templates, workflows, and queries to implement and automate these practices within Prometheus, OpenTelemetry, and OpenSearch stacks.

Core Features & Use Cases

  • SLI & SLO Templates: Availability and latency SLIs with multi-window recording rules and burn-rate calculations.
  • Error Budget Workflows: Define targets, compute remaining budget, and generate burn-rate alerts across windows (5m to 30d).
  • Prometheus Integration: Ready-to-use Prometheus recording rules and alerting rules that plug into docker-compose setups.
  • SLO Setup & Compliance: End-to-end workflow from defining SLIs to running compliance checks and dashboards.

Quick Start

Define your service SLIs and deploy the included Prometheus rule templates to begin tracking availability, latency, and burn-rate alerts.

Frequently Asked Questions about slo-sli

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

FAQPage Schema
How do I set up multi-window burn-rate alerts in Prometheus?

Multi-window burn-rate alerts in Prometheus are set up using recording rules and alerting templates that evaluate error budgets across 5m, 30m, 1h, 6h, 1d, 3d, and 30d windows to detect service reliability degradation.

What is an SLI and SLO workflow for microservices?

An SLI and SLO workflow for microservices defines availability and latency indicators, sets error budget targets, and runs compliance checks using standardized recording rules to measure and maintain distributed system reliability.

How do I calculate error budgets and burn rate for service reliability?

Error budgets and burn rates are calculated by comparing SLI compliance against SLO targets using multi-window recording rules, generating alerts when consumption rates indicate potential exhaustion of the allocated availability budget.

Can I use OpenTelemetry metrics for SLO compliance checks?

Yes, OpenTelemetry metrics integrate with SLO compliance checks by plugging into standard Prometheus and OpenSearch stacks, applying recording rules to track service availability and latency against defined error budget thresholds.

What is the best way to define latency SLIs in distributed systems?

The best way to define latency SLIs in distributed systems is using templates that generate multi-window recording rules and burn-rate calculations, ensuring consistent measurement of response times across microservice architectures.