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:

EndpointPurposeFailure action
/healthzLivenessRestart the process
/readyzReadinessRemove from load balancer