Function encode

pub fn encode(registry: &Registry) -> Result<MetricSet, Error>
Expand description

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