Module prometheus_client::encoding
source · Expand description
Exposition format implementations.
Modules
- Open Metrics text format implementation.
Structs
- Encoder for a counter value.
- Encoder for an exemplar value.
- Encoder for a gauge value.
- Encoder for a label.
- Encoder for a label key.
- Encoder for a label set.
- Encoder for a label value.
- Encoder for a metric.
Traits
- An encodable counter value.
- An encodable exemplar value.
- An encodable gauge value.
- An encodable label.
- An encodable label key.
- An encodable label set.
- An encodable label value.
- Trait implemented by each metric type, e.g.
Counter
, to implement its encoding in the OpenMetric text format.
Derive Macros
- Derive
prometheus_client::encoding::EncodeLabelSet
. - Derive
prometheus_client::encoding::EncodeLabelValue
.