# Minimal

> SLO/SLI Definition (Minimal)

- Skill: `snoodleboot-io/minimal-20` (Agent Skill)
- Install (CLI): `npx get-skill add snoodleboot-io/minimal-20`
- Raw SKILL.md: https://api.skillmd.com/api/skills/snoodleboot-io/minimal-20/raw
- Safety review: pending (external: skill-scanner PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: snoodleboot-io (https://skillmd.com/u/snoodleboot-io)
- Updated: 2026-11-15
- Page: https://skillmd.com/skills/snoodleboot-io/minimal-20

---

# SLO/SLI Definition (Minimal)

## Key Terms

**SLO (Service Level Objective):** Target (99.9% availability)  
**SLI (Service Level Indicator):** Measurement (actual 99.95%)  
**Error Budget:** (1 - SLO) × time (0.1% × month = 43 minutes)

## Defining SLOs

```
API Service SLO:
- Availability: 99.9% (43 min/month downtime)
- Latency: p95 < 200ms
- Error rate: < 0.1%
```

## Measuring SLIs

```promql
# Availability SLI
sum(rate(http_requests_total{status="200"}[30d])) /
sum(rate(http_requests_total[30d]))

# Latency SLI
histogram_quantile(0.95, 
  rate(http_request_duration_seconds_bucket[30d])
)
```

## Error Budget Tracking

```
Monthly budget: 43 minutes downtime
Consumed so far: 8 minutes (19%)
Remaining: 35 minutes (81%)
Safe to deploy: YES
```

## Common SLOs by Industry

| Type | SLO | Budget/Month |
|------|-----|--------------|
| Internal tool | 99.0% | 7.2 hours |
| SaaS | 99.9% | 43 minutes |
| Financial | 99.99% | 4 minutes |
| Infrastructure | 99.999% | 26 seconds |

