pub(in server) async fn metrics_handler() -> Result<Response, StatusCode>Expand description
GET /metrics - render counter state. 404 when metrics feature off.
record_build_info() is called on every request so cp_build_info is
always present in the scrape output even when no other events have fired.