pub async fn handle(state: State<RouterState>) -> impl IntoResponseExpand description
Stats handler.
This handler responds to GET /api/v1/stats requests with a deterministic,
side-effect-free payload containing aggregate statistics derived from
authoritative state.
ยงInvariant boundaries
This handler performs no IO, writes no WAL entries, and mutates no runtime state. It reflects the projection state from the BootstrapState.