hecate_om_health_handler (hecate_om v0.3.1)
View SourceCowboy handler — GET /health.
Returns 200 + JSON when the service is ok; 503 + JSON for {degraded, _} or {down, _}. Podman's HEALTHCHECK and Kubernetes-style liveness probes consume this.
Cowboy handler — GET /health.
Returns 200 + JSON when the service is ok; 503 + JSON for {degraded, _} or {down, _}. Podman's HEALTHCHECK and Kubernetes-style liveness probes consume this.