Skip to main content

merge_families_by_name

Function merge_families_by_name 

Source
fn merge_families_by_name(families: Vec<MetricFamily>) -> Vec<MetricFamily>
Expand description

Merges MetricFamily entries that share a name into a single entry, keeping the first occurrence’s metadata (help text, type) and appending every subsequent same-named family’s metrics into it.