Expand description
Module containing Axum routes and handlers for the observability probe endpoints
Functionsยง
- database_
ready ๐ - Whether the DB connection is established. Logs a warning if it is not.
- live_
handler ๐ - Handler for
GET /status/livez(See https://kubernetes.io/docs/concepts/workloads/pods/probes/#liveness-probe). - nats_
ready ๐ - Whether the NATS connection is established. Logs a warning if it is not.
- probe_
router - Create the observability probe routes. These are meant to be mounted outside the middleware stack, so that they are not traced.
- ready_
handler ๐ - Handler for
GET /status/readyz(See https://kubernetes.io/docs/concepts/workloads/pods/probes/#readiness-probe). - startup_
handler ๐ - Handler for
GET /status/startupz(See https://kubernetes.io/docs/concepts/workloads/pods/probes/#startup-probe).