Re-exports§
pub use registry::REGISTRY;pub use prometheus;
Structs§
- Gauge
Guard - Holds an increment on a gauge and releases it when dropped. Use it for gauges that count work
currently in progress so the decrement cannot be lost to an early return, a
?, a cancelled future, or a panic. - REGISTRY
Constants§
Traits§
- Gauge
Guard Ext - Adds RAII increments to every gauge type, including the gauges returned by
GenericGaugeVec::with_label_values.
Type Aliases§
- Float
Gauge Guard - Guard returned by
GaugeandGaugeVec. - IntGauge
Guard - Guard returned by
IntGaugeandIntGaugeVec.