iroh_metrics::service

Function start_metrics_server

Source
pub async fn start_metrics_server(
    addr: SocketAddr,
    registry: impl MetricsSource + Clone,
) -> Result<()>
Available on crate feature service only.
Expand description

Start a HTTP server to expose metrics .