Skip to main content

label_pair

Function label_pair 

Source
fn label_pair(name: String, value: String) -> LabelPair
Available on crate feature metrics only.
Expand description

Builds a Prometheus LabelPair from a label name and value.