Skip to main content

Module health

Module health 

Source
Expand description

Built-in health and readiness endpoints.

  • GET /healthz — always returns 200 {"ok": true}
  • GET /readyz — returns 200 if DB is reachable, 503 otherwise

Functions§

healthz
GET /healthz — liveness probe, always 200.
readyz
GET /readyz — readiness probe, checks DB connectivity.