rust-prometheus
rust-prometheus copied to clipboard
Prometheus instrumentation library for Rust applications
Remove unnecessary path prefix
Updates the requirements on [hyper](https://github.com/hyperium/hyper) to permit the latest version. Release notes Sourced from hyper's releases. v1.3.1 Bug Fixes client: revert auto content-length header for some requests (#3633) Changelog Sourced...
Updates the requirements on [protobuf](https://github.com/stepancheg/rust-protobuf) to permit the latest version. Commits 0617bf6 Bump version to 3.4.0 692f0a4 fix: fixes issue #680 7769205 Bump version to 3.3.0 047844e Mute warnings 4620a1e...
Adding optional prefixes and labels to `ProcessCollector` metrics via custom registry initialization
**Is your feature request related to a problem? Please describe.** - being a global static, there is not a way for the process metrics created by enabling the `process` feature...
Hi, I'm parsing some YAML and making it into Counters and Gauges. Sometimes some YAML might redefine a metric (name / help / type), which will then be set with...
I'm trying to create components that report metrics through holding an e.g. `IntCounter` generated from a registered `IntCounterVec`. I would like the set of labels attached to each component to...
It'd be neat to be able to have the option to persist the metric state to disk and be able to restore from it on startup, in the event a...
**Describe the bug** PartialOrd is implemented manually for `prometheus::proto::LabelPair` and it only compares the `name`. However, `PartialEq` is derived, so it checks all fields. This violates `PartialOrd` requirements (`a ==...
**Is your feature request related to a problem? Please describe.** minstant is drop-in replacement for [std::time::Instant](https://doc.rust-lang.org/std/time/struct.Instant.html) that measures time with high performance and high accuracy powered by [TSC](https://en.wikipedia.org/wiki/Time_Stamp_Counter). **Describe the...
This PR exports a type of gauge for `AtomicU64`. This is convenient when dealing with metrics that are of type `u64`.