logo
pub trait TemporalitySelector {
    fn temporality_for(
        &self,
        descriptor: &Descriptor,
        kind: &AggregationKind
    ) -> Temporality; }
Available on crate feature metrics only.
Expand description

TemporalitySelector is a sub-interface of Exporter used to indicate whether the Processor should compute Delta or Cumulative Aggregations.

Required Methods

TemporalityFor should return the correct Temporality that should be used when exporting data for the given metric instrument and Aggregator kind.

Implementors