pub fn encode<W>(writer: &mut W, registry: &Registry) -> Result<(), Error>where W: Write,
Encode the metrics registered with the provided Registry into the provided Writer using the OpenMetrics text format.
Registry
Write