Expand description
Decode helper for the Prometheus protobuf scrape format.
We encapsulate this in its own crate since we’ve banned direct use of the protobuf
crate due to it being unmaintained. However, we use it out of convenience since
prometheus::proto::MetricFamily is already generated by protobuf.
Modules§
- proto
- Protocol buffers format of metrics.
Generated file from
proto_model.proto
Functions§
- decode_
length_ delimited - Decodes the wire format produced by
prometheus::ProtobufEncoder(and what callers receive from a Prometheus/metricsendpoint withAccept: application/vnd.google.protobuf).