pub fn shared_metrics(endpoint: VarlinkEndpoint) -> SharedMetricsExpand description
Prepare the shared metrics stream for one collection cycle.
Nothing is sent until a collector awaits it, so building this for a cycle where every reader uses D-Bus costs nothing.