Trait mz_ore::channel::InstrumentedChannelMetric

source ·
pub trait InstrumentedChannelMetric {
    // Required method
    fn bump(&self);
}
Available on crate feature async only.
Expand description

A trait describing a metric that can be used with an instrumented_unbounded_channel.

Required Methods§

source

fn bump(&self)

Bump the metric, increasing the count of operators (send or receives) that occurred.

Implementors§

source§

impl<'a, P, L> InstrumentedChannelMetric for DeleteOnDropCounter<'a, P, L>
where P: Atomic, L: PromLabelsExt<'a>,