Crate measured

Source
Expand description

§Measured. A low-overhead prometheus/metrics crate for measuring your application statistics.

Getting started? See docs

Re-exports§

pub use label::FixedCardinalityLabel;
pub use metric::group::MetricGroup;

Modules§

docsNowhere
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§

LabelGroup
LabelGroup represents a group of label-pairs

Type Aliases§

Counter
A Metric that represents a single numerical value that only ever goes up.
CounterVec
A collection of multiple Counters, keyed by LabelGroups
FloatGauge
A Metric that represents a single numerical value that can go up or down over time.
FloatGaugeVec
A collection of multiple FloatGauges, keyed by LabelGroups
Gauge
A Metric that represents a single numerical value that can go up or down over time.
GaugeVec
A collection of multiple Gauges, keyed by LabelGroups
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.
HistogramVec
A collection of multiple Histograms, keyed by LabelGroups

Derive Macros§

FixedCardinalityLabel
Implement FixedCardinalityLabel on an enum
LabelGroup
Implement LabelGroup on a struct
MetricGroup
Implement MetricGroup on a struct