Module prometheus_client::encoding
source · Expand description
Exposition format implementations.
Modules§
- protobuf
protobuf
Open Metrics protobuf implementation. - Open Metrics text format implementation.
Structs§
- Encoder for a counter value.
- Encoder for a Metric Descriptor.
- 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
.