Skip to content

Operations

This section covers day-to-day operational procedures for running SLOzy in production.

Contents

  • Monitoring — Health checks, Prometheus metrics, cache statistics, real-time SLO metrics
  • Performance — Caching, connection pooling, query optimization, rate limiting, build optimization
  • Backup & Recovery — PostgreSQL backup, migration management, Kubernetes CronJob automation

Key Operational Requirements

RequirementMinimumRecommended
PostgreSQL16+16+ with replication
Redis7+7+ with persistence
Disk1 GB5 GB +
Memory512 MB1 GB
CPU1 core2+ cores

Health Check Endpoints

SLOzy exposes two health check endpoints used by load balancers and orchestrators:

  • GET /health — Liveness probe (basic process health)
  • GET /api/v1/health — Detailed readiness probe with service dependency checks

Both return JSON with status, timestamp, and (for the detailed endpoint) per-service health status.

Monitoring Stack

The recommended monitoring stack includes:

  • Prometheus — Metrics collection and alerting (runs on port 9090)
  • Grafana — Dashboards and visualization (runs on port 3001 by default)
  • Alertmanager — Alert routing and notification (port 9093)

See Monitoring for detailed configuration.