Trait ExportKindFor

Source
pub trait ExportKindFor: Debug {
    // Required method
    fn export_kind_for(&self, descriptor: &Descriptor) -> ExportKind;
}
Available on crate feature metrics only.
Expand description

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

Required Methods§

Source

fn export_kind_for(&self, descriptor: &Descriptor) -> ExportKind

Determines the correct ExportKind that should be used when exporting data for the given metric instrument.

Implementors§