-
Notifications
You must be signed in to change notification settings - Fork 106
Closed
Description
Hello!
I have a more uncommon use case where I'm using Rust in a multi-language setup.
The rest of the system is already serving requests to Prometheus and I'd like to slot in a few metrics for the parts of my application written in Rust.
I like that the client doesn't do HTTP serving and stick to the protocol, so it's 99% of what I need.
What causes me trouble is just a single line of code:
writer.write_str("# EOF\n")?;which prevents me from using this crate in a way that's composable with other output.
Would you consider a variant of the encode function that doesn't write out the # EOF?
Maybe called pub fn encode_metrics?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels