SLOzy Features
SLOzy is a comprehensive SLO (Service Level Objective) management platform with real-time monitoring, multi-channel alerting, and analytics capabilities.
Core Features
- SLO Management — Full CRUD for SLOs with configurable targets, time windows, and metric types. Supports soft-delete and paginated listing.
- Service Catalog — Единая точка обзора всех сервисов с drill-down до конкретных SLO. Агрегированная статистика по статусам, health score, редактируемые описания сервисов.
- SLO Templates — Готовые шаблоны для типовых сервисов (HTTP API, Database, Message Queue, gRPC, Cache). Подставляют целевые показатели, временные окна и PromQL запросы.
- Custom SLI Formulas — Библиотека готовых PromQL выражений для нестандартных метрик: Apdex, Saturation, Queue Depth, Cache Hit Rate, Error Budget Burn и др.
- Bulk Operations — Массовые enable/disable/delete для десятков SLO за один запрос через UI или API.
- Public Status Page — Публичная страница статуса без аутентификации. Embed через iframe + SVG badge для README.
- Real-Time Monitoring — WebSocket-based dashboard with live metric updates. Clients subscribe to SLOs and receive push notifications on status changes, burn rate, and error budget consumption.
- Notifications — Multi-channel alerting via Email, Slack, Telegram, Mattermost, and Webhook. Supports configurable alert rules, priority levels (low/medium/high/critical), deduplication, and exponential backoff retry.
- Caching — Two-tier cache (in-memory + PostgreSQL
query_cachetable) with configurable TTL, LRU eviction, compression, and warmup support. - Analytics — Anomaly detection and SLO recommendations based on historical trends.
- Notification Channels — Setup guides for email SMTP/API, Slack, Telegram Bot, Mattermost webhook, and generic webhook endpoints.
- SLO Versioning — Full audit trail via
slo_versionstable with JSON diff tracking. - PR Validation — CI/CD pipeline for GitOps workflows with automated testing, linting, security scanning, and Docker builds.
Architecture
| Component | Technology | Package |
|---|---|---|
| API | Go + Gin | internal/handlers/ |
| WebSocket | gorilla/websocket | internal/websocket/ |
| Cache | sync.Map + PostgreSQL | internal/cache/ |
| Notifications | Go channels + HTTP | internal/notifications/ |
| SLO Calculation | Prometheus queries | internal/prometheus/ |
| Database | PostgreSQL 16 | migrations/ |