pub trait TemporalitySelector: Send + Sync {
    // Required method
    fn temporality(&self, kind: InstrumentKind) -> Temporality;
}
Expand description

An interface for selecting the temporality for an InstrumentKind.

Required Methods§

source

fn temporality(&self, kind: InstrumentKind) -> Temporality

Selects the temporality to use based on the InstrumentKind.

Implementors§