AlexanderThaller / prometheus_exporter

Helper libary to export prometheus metrics using tiny_http and rust-prometheus.
MIT License
28 stars 10 forks source link

Allow starting Exporter with a preexisting TcpListener #36

Closed AlexanderThaller closed 1 year ago

AlexanderThaller commented 1 year ago

Instead of creating a new TcpListener when starting the metrics exporter allow passing a preexisting TcpListener.

Created to make testing easier.