rs-metrics-process icon indicating copy to clipboard operation
rs-metrics-process copied to clipboard

Make the collector crate public

Open popadi opened this issue 1 year ago • 1 comments

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.

popadi avatar May 04 '23 14:05 popadi