slok/sloth
🦥 Easy and simple Prometheus SLO (service level objectives) generator observed · 2026-08-28
Health v2 · maintenance only
78/100
- Activity 88
- Release rhythm 54
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 94.0
- age_days: 1975
- days_rel: 151
- days_push: 75
- n_releases_24m: 5
Adoption not part of the score
2541 stars · 225 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Sloth is a Go CLI and Kubernetes operator that generates Prometheus SLO recording rules and multi-window multi-burn alert rules from a simple SLO spec (YAML, OpenSLO, or Kubernetes CRDs). It also provides Grafana dashboards, a built-in web UI, and a Go library for integration.
Use cases
- generate prometheus SLO recording rules from a simple spec
- set up multi window multi burn alerts for error budgets
- manage SLOs as Kubernetes CRDs with prometheus-operator
- validate SLO definitions in CI and GitOps pipelines
- auto-generate Grafana dashboards for SLO status
- standardize SLO definitions across teams
- convert OpenSLO specs into prometheus rules
When to choose
- you use Prometheus and want reliable, uniform SLO metrics and burn-rate alerts without hand-writing rules
- you run Kubernetes with prometheus-operator and want SLOs managed via CRDs
- you want GitOps-friendly SLO spec validation and standardized conventions across services
When to avoid
- you don't use Prometheus as your metrics backend
- you need a full SLO management platform with error-budget reporting and business dashboards rather than rule generation
- you want SLO tracking without defining PromQL SLI queries yourself
Facets
cli-tool · maturity active
monitoring alerting cli configuration-management developer-tools monitoring self-hosted windows cli go prometheus slo sli error-budget openslo prometheus-operator grafana-dashboards kubernetes-operator gitops devops sre linux macos kubernetes docker
8 sources
- readme: https://github.com/slok/sloth · fetched 2026-08-28 · e13415b39e7b
- homepage: https://sloth.dev · fetched 2026-08-29 · 50d2d78fae5d
- site_page: https://sloth.dev/examples/default/getting-started · fetched 2026-08-29 · 0c2e0447e065
- site_page: https://sloth.dev/introduction/features · fetched 2026-08-29 · 35ad9805bd05
- site_page: https://sloth.dev/introduction/install · fetched 2026-08-29 · 181a1202e9e7
- site_page: https://sloth.dev/examples/kubernetes/getting-started · fetched 2026-08-29 · 4a63f2da546c
- site_page: https://sloth.dev/examples/openslo/getting-started · fetched 2026-08-29 · a1777d077e20
- site_page: https://sloth.dev/faq · fetched 2026-08-29 · 8c796630b6de
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| slok/sloth | main | 78 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem