Module metrics_prometheus::metric
source · Expand description
Machinery around prometheus
metrics for making them usable via
metrics
crate.
Modules
- Definitions of
Bundle
machinery.
Structs
prometheus
metric with an ability to substitute itshelp
description after registration in aprometheus::Registry
.- Fallible
Metric
stored inmetrics::Registry
. - Wrapper allowing implementing
metrics::CounterFn
,metrics::GaugeFn
andmetrics::HistogramFn
forprometheus
metrics.
Traits
- Bundle of a
prometheus::Metric
s family. prometheus
metric beingBundle
d.
Type Aliases
Bundle
ofprometheus::Gauge
metrics.Bundle
ofprometheus::Histogram
metrics.Bundle
ofprometheus::IntCounter
metrics.