Function gossip_server::metrics_handler
source ยท pub(crate) async fn metrics_handler() -> Result<impl Reply, Infallible>
Expand description
Handler for the /metrics route. Used to expose prometheus metrics for the server.
pub(crate) async fn metrics_handler() -> Result<impl Reply, Infallible>
Handler for the /metrics route. Used to expose prometheus metrics for the server.