Conversation
Signed-off-by: Vlad Vasiliu <vladvasiliun@yahoo.fr>
Signed-off-by: Vlad Vasiliu <vladvasiliun@yahoo.fr>
Signed-off-by: Vlad Vasiliu <vladvasiliun@yahoo.fr>
|
I am sorry for the late reply. This is a neat solution. I did not think about abstracting a Unfortunately a user can not use the I have to give this more thought. Have you had the chance to play with this approach instead? |
I'd have to get back to looking at this. Right now, it's not clear to me why that wouldn't work. The collector delegates the actual encoding to the client_rust/src/encoding/text.rs Line 714 in 8b7ab5b I'd have to check to make sure it doesn't somehow sidestep the issue.
That was actually my inspiration for this. The overall idea was to allow |
|
Cross referencing alternative proposal: #82 |
|
Implemented through #82. Let me know what you think. Closing here. |
This is an implementation of a
Collectortrait for collecting all the Metric Families from one or more Registries to encode them all at once.For example, this allows exporting metrics by combining a "long-running"
Registrywith a per-scrapeRegistry.This is in response to #29, #49 and #73.
Implementation is rather crude, but the out-facing interface is basically unchaged.