pub async fn init_prometheus(
    prometheus_addr: SocketAddr,
    registry: Registry
) -> impl Future<Output = Result<(), Error>>
Expand description

Initializes the metrics context, and starts an HTTP server to serve metrics.