Module metric

Module metric 

Source
Expand description

Machinery around prometheus metrics for making them usable via metrics crate.

Modules§

bundle
Definitions of Bundle machinery.

Structs§

Describable
prometheus metric with an ability to substitute its help description after registration in a prometheus::Registry.
Fallible
Fallible Metric stored in metrics::Registry.
Metric
Wrapper allowing implementing metrics::CounterFn, metrics::GaugeFn and metrics::HistogramFn for prometheus metrics.

Traits§

Bundle
Bundle of a prometheus::Metrics family.
Bundled
prometheus metric being Bundled.

Type Aliases§

PrometheusGauge
Bundle of prometheus::Gauge metrics.
PrometheusHistogram
Bundle of prometheus::Histogram metrics.
PrometheusIntCounter
Bundle of prometheus::IntCounter metrics.