Skip to main content

Module health

Module health 

Source
Expand description

Health check route module.

This module provides the liveness endpoint (GET /healthz) for the daemon. The health endpoint is side-effect free and provides a deterministic response indicating daemon liveness only. It does not imply readiness or storage availability.

§Invariant boundaries

The health handler performs no IO, reads no storage, and mutates no runtime state. It is purely a static response intended for watchdogs and orchestration systems that require reliable liveness signals.

Structs§

HealthResponse
Health check response payload.

Functions§

handle
Health check handler.
register_routes
Registers the health route in the router builder.