metrics_exporter_prometheus::formatting

Function sanitize_description

Source
pub fn sanitize_description(value: &str) -> String
Expand description

Sanitizes a metric description to be valid under the Prometheus exposition format.