Function prometheus_client::encoding::protobuf::encode

source ยท
pub fn encode(registry: &Registry) -> Result<MetricSet, Error>
Available on crate feature protobuf only.
Expand description

Encode the metrics registered with the provided Registry into MetricSet using the OpenMetrics protobuf format.