Service Level Objectives (SLO/SLI/SLA)

Automate SLO, SLI, and SLA definition and monitoring with Python scripts and FastAPI.

1|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/vertivolatam/monorepo --skill service-level-objectives-slo-sli-sla
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Service Level Objectives (SLO/SLI/SLA)
Source: https://github.com/vertivolatam/monorepo/tree/main/skills/system-reliability-engineering/slo-sli-sla
Command: npx skills add https://github.com/vertivolatam/monorepo --skill service-level-objectives-slo-sli-sla

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires fastapi, uvicorn[standard], pydantic, requests, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps define and monitor Service Level Objectives (SLOs) to ensure your services meet reliability and availability targets, preventing performance degradation and downtime.

Core Features & Use Cases

  • Define SLIs: Set up Service Level Indicators to measure key aspects of service performance like availability, latency, and correctness.
  • Set SLOs & Error Budgets: Establish measurable targets for your SLIs and manage the allowed "error budget" to balance reliability with innovation.
  • Monitor Compliance: Track service performance against SLOs and receive alerts when error budgets are at risk or violated.
  • Use Case: A team can use this Skill to define a 99.95% availability SLO for their payment service, track its error budget, and automatically alert stakeholders if the service is trending towards exceeding its allowed downtime.

Quick Start

Implement SLOs and error budgets for critical services using the provided Python scripts and Prometheus queries.

Frequently Asked Questions about Service Level Objectives (SLO/SLI/SLA)

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

FAQPage Schema
How do I calculate error budgets for service availability targets?

You calculate error budgets using the provided Python scripts that define Service Level Indicators and set measurable Service Level Objectives to balance reliability targets with innovation.

How do I query SLO compliance from Prometheus metrics?

SLO compliance is queried from Prometheus metrics using a provided FastAPI service. This allows you to track service performance against availability targets and automatically alert stakeholders on error budget violations.

What is the difference between SLI, SLO, and SLA in service reliability?

SLIs measure key performance aspects like latency, SLOs establish measurable targets for those SLIs, and SLAs formalize the agreement. This Skill automates the definition and monitoring of all three to prevent downtime.

Can I use FastAPI to monitor service latency and availability?

Yes, a FastAPI service is included to query SLO compliance from Prometheus metrics. It enables robust reliability engineering practices by tracking service performance and alerting when error budgets are at risk.

How do I set up alerts when an error budget is violated?

You monitor compliance by querying Prometheus metrics via the FastAPI service to track service performance against SLOs. This enables you to receive alerts and notify stakeholders when error budgets are trending towards violation.