-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Current State
- Limited health check endpoints
- No liveness/readiness probes
- Missing dependency health checks
Issues
- Cannot determine if service is healthy
- Orchestrators cannot restart unhealthy services
- No dependency health tracking
- Cannot implement proper load balancing
Required
- Add
/healthendpoint to all services - Implement liveness probes (is process running?)
- Implement readiness probes (can accept requests?)
- Add dependency health checks:
- Database connectivity (SQLite)
- TPM availability
- External API availability (CAMARA)
- Upstream service availability
- Return appropriate HTTP status codes:
- 200: Healthy
- 503: Unhealthy (not ready)
- 500: Fatal error
- Document health check behavior
Location
mobile-sensor-microservice/service.py(needs/healthendpoint)- TPM Plugin Server (has
/healthbut needs enhancement) - All services need health endpoints
Related
From PRODUCTION_READINESS_ANALYSIS.md - Section 6.2