operations
Liveness, and whether the inbound polling leg is actually working.
Liveness probe
Liveness only. It deliberately does NOT consult the database or the poller: a probe that fails when a dependency is slow turns one degraded dependency into a restart loop, and this service's whole job is to keep a 24-hour clock running.
Readiness probe
Readiness, separate from liveness (`/healthz`, above): reports `ready` until graceful shutdown begins, at which point it flips to `not_ready` as the FIRST step of the shutdown sequence (ADR 0004) -- before the HTTP server stops accepting connections -- so a Kubernetes `readinessProbe` pointed here gets a window to stop routing new traffic before the drain that follows. `/healthz` stays a pure liveness signal and is never flipped by this.
Prometheus metrics
Prometheus text-format exposition, including `circuit_breaker_state` (ADR 0004) -- one time series per outbound dependency guarded by a circuit breaker, labelled `dependency`, with gobreaker's own state numbering verbatim (0=closed, 1=half-open, 2=open).
Is the inbound polling leg alive?
Counters for the poller plus the size of the unanswered working set. This exists because a stalled poller is SILENT: no orders, no errors, a healthy liveness probe, and an acknowledgement window closing regardless.