Struct BatchSpanProcessorOptions

Struct Documentation

struct BatchSpanProcessorOptions

Struct to hold batch SpanProcessor options.

Public Members

size_t max_queue_size = 2048

The maximum buffer/queue size. After the size is reached, spans are dropped.

std::chrono::milliseconds schedule_delay_millis = std::chrono::milliseconds(5000)
size_t max_export_batch_size = 512

The maximum batch size of every export. It must be smaller or equal to max_queue_size.