Skip to main content

write_type_line

Function write_type_line 

pub fn write_type_line(
    buffer: &mut String,
    name: &str,
    unit: Option<Unit>,
    suffix: Option<&'static str>,
    metric_type: &str,
)
Expand description

Writes a metric type line in the Prometheus exposition format.