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

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