fn single_metric_name(
node: &NativeNode,
source_metrics: &[Option<Arc<str>>],
) -> Option<Arc<str>>Expand description
The one metric every series node hands over is named, or None when this walk cannot say.
Only the nodes that hand their input’s label set on unchanged can carry a name: every kernel that
reports a value of its own drops it, so a name above one of those is one a rewrite wrote. What is
left is the boundary the leaves are bound to - where source_metrics answers, indexed by the
source_index the leaf reads - and the nodes that pass a set through.