Function dipstick::publish::publish [] [src]

pub fn publish<M, S>(source: &AggregateSource, target: &S) where
    S: Sink<M>,
    M: Send + Sync

Define and write metrics from aggregated scores to the target channel If this is called repeatedly it can be a good idea to use the metric cache to prevent new metrics from being created every time.