logo
pub struct BatchSpanProcessorBuilder<E, R> { /* private fields */ }
Available on crate feature trace only.
Expand description

A builder for creating BatchSpanProcessor instances.

Implementations

Set max queue size for batches

Set scheduled delay for batches

Set max timeout for exporting.

Set max export size for batches, should always less than or equals to max queue size.

If input is larger than max queue size, will lower it to be equal to max queue size

Set the maximum number of concurrent exports

This setting may be useful for limiting network throughput or memory consumption.

Set the BatchConfig for BatchSpanProcessorBuilder

Build a batch processor

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Attaches the provided Context to this type, returning a WithContext wrapper. Read more

Attaches the current Context to this type, returning a WithContext wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.