pub fn encode<W>(writer: &mut W, registry: &Registry) -> Result<(), Error>
where W: Write,
Expand description

Encode the metrics registered with the provided Registry into the provided Writer using the OpenMetrics text format.