Trait opentelemetry::sdk::export::metrics::Exporter [−][src]
pub trait Exporter: ExportKindFor { fn export(&self, checkpoint_set: &mut dyn CheckpointSet) -> Result<()>; }
This is supported on crate feature
metrics
only.Exporter handles presentation of the checkpoint of aggregate metrics. This is the final stage of a metrics export pipeline, where metric data are formatted for a specific system.
Required methods
fn export(&self, checkpoint_set: &mut dyn CheckpointSet) -> Result<()>
[src]
Export is called immediately after completing a collection pass in the SDK.
The CheckpointSet interface refers to the Processor that just completed collection.
Implementors
impl<W> Exporter for StdoutExporter<W> where
W: Debug + Write,
[src]
impl<W> Exporter for StdoutExporter<W> where
W: Debug + Write,
[src]