Skip to main content

metric_sinks_on_replica

Function metric_sinks_on_replica 

Source
fn metric_sinks_on_replica(
    metric_sinks: &BTreeMap<(ReplicaId, &'static str), InstalledMetricSink>,
    replica_id: ReplicaId,
) -> Vec<&'static str>
Expand description

The names of the definitions installed on replica_id, in key order.

The map is keyed replica-first, so a replica’s installs are one contiguous range.