NVIDIA DeepStream SDK API Reference

9.2 Release
sdk::trace::BatchSpanProcessorOptions Struct Reference

Detailed Description

Struct to hold batch SpanProcessor options.

Definition at line 20 of file includes/opentelemetry/sdk/trace/batch_span_processor_options.h.

Data Fields

size_t max_queue_size = 2048
 The maximum buffer/queue size. More...
 
std::chrono::milliseconds schedule_delay_millis = std::chrono::milliseconds(5000)
 
size_t max_export_batch_size = 512
 The maximum batch size of every export. More...
 

Field Documentation

◆ max_export_batch_size

size_t sdk::trace::BatchSpanProcessorOptions::max_export_batch_size = 512

The maximum batch size of every export.

It must be smaller or equal to max_queue_size.

Definition at line 35 of file includes/opentelemetry/sdk/trace/batch_span_processor_options.h.

◆ max_queue_size

size_t sdk::trace::BatchSpanProcessorOptions::max_queue_size = 2048

The maximum buffer/queue size.

After the size is reached, spans are dropped.

Definition at line 26 of file includes/opentelemetry/sdk/trace/batch_span_processor_options.h.

◆ schedule_delay_millis

std::chrono::milliseconds sdk::trace::BatchSpanProcessorOptions::schedule_delay_millis = std::chrono::milliseconds(5000)

The documentation for this struct was generated from the following file: