pub trait Exporter: ExportKindFor {
    // Required method
    fn export(&self, checkpoint_set: &mut dyn CheckpointSet) -> Result<()>;
}
Available on crate feature metrics only.
Expand description

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§

Source

fn export(&self, checkpoint_set: &mut dyn CheckpointSet) -> Result<()>

Export is called immediately after completing a collection pass in the SDK.

The CheckpointSet interface refers to the Processor that just completed collection.

Implementors§

Source§

impl<W> Exporter for StdoutExporter<W>
where W: Debug + Write,