Skip to main content

single_source_metric

Function single_source_metric 

Source
fn single_source_metric(
    node: &NativeNode,
    source_metrics: &[Option<Arc<str>>],
) -> Option<Arc<str>>
Expand description

The one metric every source node reads is bound to, or None when they are not all one.

This is the facts-free question about the leaves alone: a node can drop the metric name on the way (a math map, a range function) whatever its sources hold, so what the surviving labels tell apart is only as good as the set of metrics below them.