Summary
There is no health check endpoint for the server, making it impossible for load balancers or uptime monitors to verify that all dependencies are reachable. A GET /health endpoint that probes the database, Redis, and Horizon and returns their status should be added.
Scope
- Add GET /health endpoint that does not require authentication
- Probe the database with a lightweight SELECT 1 query
- Probe Redis with a PING command
- Probe Stellar Horizon by fetching the root endpoint and checking for a 200 response
- Return 200 with a JSON body listing each dependency and its status (ok or degraded)
- Return 503 if any dependency is degraded, with the degraded dependencies listed
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
There is no health check endpoint for the server, making it impossible for load balancers or uptime monitors to verify that all dependencies are reachable. A GET /health endpoint that probes the database, Redis, and Horizon and returns their status should be added.
Scope
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram