-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Description
Hi,
Thanks for creating an official Rust crate for Prometheus. :)
I'm wondering how we should handle Const Metrics with this crate. Are these supported at the moment? If they are, it's a little non-obvious.
My use case is for exporting counters from the operating system. The OS itself guarantees that these are always increasing (unless the counter wraps, etc), but they're difficult to export with only the inc and inc_by methods as additional variables must be maintained to work out the difference between the old OS counter and the current OS counter, so we can finally inc_by.
If Const Metrics are not currently supported, please consider this a feature request.
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels