pub fn encode_to_vec(registry: &Registry) -> Result<Vec<u8>, EncodeError>Available on crate feature
prometheus_protobuf only.Expand description
Encode the metrics registered with the provided Registry into a
length-delimited Prometheus protobuf payload.