Re-exports§
pub use prometheus;
Macros§
- Create a
HistogramOpts
. - Create an
Opts
. - Create a
Histogram
and registers to a custom registry. - Create an
IntCounterVec
and registers to a custom registry.
Structs§
- A value which is initialized on the first access.
- An implementation of an
Encoder
that converts aMetricFamily
proto message into text format.
Statics§
Traits§
- An interface for encoding metric families into an underlying wire protocol.
Functions§
Type Aliases§
- A
Metric
represents a single numerical value that can arbitrarily go up and down. - The integer version of
Counter
. Provides better performance if metric values are all positive integers (natural numbers). - The integer version of
CounterVec
. Provides better performance if metric are all positive integers (natural numbers).