Skip to main content

metric_name_is_valid

Function metric_name_is_valid 

Source
pub fn metric_name_is_valid(metric_name: &str, source: &str) -> bool
Expand description

Whether systemd-report would accept metric_name from source: an interface name, a dot, then a field name, with the source as a true prefix.