Trait opentelemetry::sdk::export::metrics::ExportKindFor
source · [−]pub trait ExportKindFor: Debug {
fn export_kind_for(&self, descriptor: &Descriptor) -> ExportKind;
}
This is supported 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
fn export_kind_for(&self, descriptor: &Descriptor) -> ExportKind
fn export_kind_for(&self, descriptor: &Descriptor) -> ExportKind
Determines the correct ExportKind
that should be used when exporting data
for the given metric instrument.