Configuration options

Table 1. Required configuration options
key type default value description

type

SpanProcessorType (SIMPLE, BATCH)

 

Span processor type.

Allowed values:

  • SIMPLE: Simple Span Processor.

  • BATCH: Batch Span Processor.

Table 2. Optional configuration options
key type default value description

exporters

string[]

 

Name(s) of the span exporter(s) this span processor should use; specifying no names uses all configured exporters (or if no exporters are configured, the default OpenTelemetry exporter(s)).

Each name must be the name of one of the configured OpenTelemetryTracingConfig.exporterConfigs().

max-export-batch-size

int

 

Maximum number of spans batched for export together. OpenTelemetry requires this value to not exceed the maxQueueSize().

max-queue-size

int

 

Maximum number of spans retained before discarding excess unexported ones.

schedule-delay

Duration

 

Delay between consecutive exports.

timeout

Duration

 

Maximum time an export can run before being cancelled.