Function set_exporter

pub fn set_exporter(
    execution_id: ExecutionId,
    exporter: &'static (dyn Export + Sync),
) -> Result<(), SetExporterError>
Expand description

Initializes the collector with the given Exporter and ExecutionId.

An ExecutionId should never be re-used as it’s used to collect metadata about the execution and to generate TraceIds which need to be globally unique.