pub trait Exporter: ExportKindFor {
fn export(&self, checkpoint_set: &mut dyn CheckpointSet) -> Result<()>;
}
This is supported 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
fn export(&self, checkpoint_set: &mut dyn CheckpointSet) -> Result<()>
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.