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().