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 .
pub async fn start_metrics_server(
addr: SocketAddr,
registry: impl MetricsSource + Clone,
) -> Result<()>service only.Start a HTTP server to expose metrics .