Infrastructure: Add health checks and readiness probes #16

Closed
opened 2026-03-10 03:47:20 +00:00 by Mark · 0 comments
Owner

Issue

Services lack proper health check endpoints for container orchestration and monitoring.

Location

  • services/api/app/health.py exists but could be enhanced
  • Docker compose has basic health checks but could be improved
  • Kubernetes readiness/liveness probes need consideration

Current Implementation

Basic health endpoint exists but doesn't check:

  • Database connectivity
  • Docker socket access
  • Redis connection

Proposed Solution

  1. Enhanced health endpoint with dependency checks
  2. Separate readiness (can serve traffic) vs liveness (is alive) endpoints
  3. Health check aggregation for all services

Acceptance Criteria

  • /health/ready - checks all dependencies (DB, Docker, Redis)
  • /health/live - basic liveness
  • Database connectivity check
  • Docker socket accessibility check
  • Redis connectivity check
  • Update docker-compose health checks
  • Add health check documentation

Priority: Medium
Type: Infrastructure

## Issue Services lack proper health check endpoints for container orchestration and monitoring. ## Location - `services/api/app/health.py` exists but could be enhanced - Docker compose has basic health checks but could be improved - Kubernetes readiness/liveness probes need consideration ## Current Implementation Basic health endpoint exists but doesn't check: - Database connectivity - Docker socket access - Redis connection ## Proposed Solution 1. Enhanced health endpoint with dependency checks 2. Separate readiness (can serve traffic) vs liveness (is alive) endpoints 3. Health check aggregation for all services ## Acceptance Criteria - [ ] `/health/ready` - checks all dependencies (DB, Docker, Redis) - [ ] `/health/live` - basic liveness - [ ] Database connectivity check - [ ] Docker socket accessibility check - [ ] Redis connectivity check - [ ] Update docker-compose health checks - [ ] Add health check documentation **Priority:** Medium **Type:** Infrastructure
Mark 2026-05-28 01:04:11 +00:00
  • closed this issue
  • removed the
    quickfix
    label
Sign in to join this conversation.
No description provided.