[][src]Function prometheus_exporter::start

pub fn start(binding: SocketAddr) -> Result<Exporter, Error>

Create and start a new exporter which uses the given socket address to export the metrics.

Errors

Will return Error if the http server fails to start for any reason.