Health
Twister exposes two health check endpoints for monitoring and orchestration.
GET /healthz
Liveness probe. Returns 200 if the process is responsive.
No dependency checks. Safe to call at any frequency.
GET /readyz
Readiness probe. Checks database reachability.
Checks database reachability.
Usage
Configure your orchestrator to poll these endpoints:
| Endpoint | Purpose | Failure action |
|---|---|---|
/healthz | Liveness | Restart the process |
/readyz | Readiness | Remove from load balancer |