Expand description
Re-exports§
pub use label::FixedCardinalityLabel;
pub use metric::group::MetricGroup;
Modules§
- docs
Nowhere - Getting started, in depth guides, and implementation details.
- label
- Traits and types used for representing groups of label-pairs
- metric
- All about metrics
- text
- Prometheus Text based exporter
Traits§
- Label
Group LabelGroup
represents a group of label-pairs
Type Aliases§
- Counter
- A
Metric
that represents a single numerical value that only ever goes up. - Counter
Vec - A collection of multiple
Counter
s, keyed byLabelGroup
s - Float
Gauge - A
Metric
that represents a single numerical value that can go up or down over time. - Float
Gauge Vec - A collection of multiple
FloatGauge
s, keyed byLabelGroup
s - Gauge
- A
Metric
that represents a single numerical value that can go up or down over time. - Gauge
Vec - A collection of multiple
Gauge
s, keyed byLabelGroup
s - Histogram
- A
Metric
that counts individual observations from an event or sample stream in configurable buckets. Similar to a Summary, it also provides a sum of observations and an observation count. - Histogram
Vec - A collection of multiple
Histogram
s, keyed byLabelGroup
s
Derive Macros§
- Fixed
Cardinality Label - Implement
FixedCardinalityLabel
on anenum
- Label
Group - Implement
LabelGroup
on astruct
- Metric
Group - Implement
MetricGroup
on astruct