Configuration options

Table 1. Optional configuration options
key type default value description

attributes.booleans

Map<string, boolean>

 

Boolean attributes.

attributes.doubles

Map<string, double>

 

Double attributes.

attributes.longs

Map<string, long>

 

Long attributes.

attributes.strings

Map<string, string>

 

String attributes.

exporters

Map<string, SpanExporter>

 

Span exporters.

The key in the map is a unique name—​of the user’s choice—​for the exporter config settings. The SpanProcessorConfig.exporters() config setting for a processor config specifies zero or more of these names to associate the exporters built from the exporter configs with the processor built from the processor config.

processors

 

Settings for span processors.

sampler

Sampler

 

Tracing sampler.

span-limits

SpanLimits

 

Tracing span limits.