rs-metrics-process
rs-metrics-process copied to clipboard
Make the collector crate public
trafficstars
Any chance to make the collector sub-module public? I'm interested in using the collect method to retrieve an instance of a Metrics struct and then expose it.
Why? My app is using prometheus/client_rust instead of metrics-exporter-prometheus, so the metrics export needs to be a bit different (more info about the Collector trait here, if you are interested). I could benefit from reusing some of the structs and functions defined in that sub-module.
There is no particularly strong reason to do this, so if there is a PR with well-written documentation comments, we will review it 👍