Crate fedimint_metrics
source ·Re-exports§
pub use prometheus;
Macros§
- Create a
HistogramOpts. - Create an
Opts. - Create a
Histogramand registers to a custom registry. - Create an
IntCounterVecand registers to a custom registry.
Structs§
- An implementation of an
Encoderthat converts aMetricFamilyproto message into text format.
Traits§
- An interface for encoding metric families into an underlying wire protocol.
Functions§
Type Aliases§
- A
Metricrepresents 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).