@ParametersAreNonnullByDefault
Package io.opentelemetry.sdk.trace.export
Utilities that allows different tracing services to export recorded data for sampled spans in
their own format.
Default values for
Default values for
Contents
Default values for SimpleSpanProcessor
REPORT_ONLY_SAMPLED: true
*
Configuration options for SimpleSpanProcessor
can be
read from system properties, environment variables, or Properties
objects.
For system properties and Properties
objects, SimpleSpanProcessor
will look for the following names:
otel.ssp.export.sampled
: sets whether only sampled spans should be exported.
For environment variables, SimpleSpanProcessor
will
look for the following names:
OTEL_SSP_EXPORT_SAMPLED
: sets whether only sampled spans should be exported.
Default values for BatchSpanProcessor
SCHEDULE_DELAY_MILLIS: 5000
MAX_QUEUE_SIZE: 2048
MAX_EXPORT_BATCH_SIZE: 512
EXPORT_TIMEOUT_MILLIS: 30_000
REPORT_ONLY_SAMPLED: true
Configuration options for BatchSpanProcessor
can be
read from system properties, environment variables, or Properties
objects.
For system properties and Properties
objects, BatchSpanProcessor
will look for the following names:
otel.bsp.schedule.delay.millis
: sets the delay interval between two consecutive exports.otel.bsp.max.queue.size
: sets the maximum queue size.otel.bsp.max.export.batch.size
: sets the maximum batch size.otel.bsp.export.timeout.millis
: sets the maximum allowed time to export data.otel.bsp.export.sampled
: sets whether only sampled spans should be exported.
For environment variables, BatchSpanProcessor
will
look for the following names:
OTEL_BSP_SCHEDULE_DELAY
: sets the delay interval between two consecutive exports.OTEL_BSP_MAX_QUEUE_SIZE
: sets the maximum queue size.OTEL_BSP_MAX_EXPORT_BATCH_SIZE
: sets the maximum batch size.OTEL_BSP_EXPORT_TIMEOUT
: sets the maximum allowed time to export data.OTEL_BSP_EXPORT_SAMPLED
: sets whether only sampled spans should be exported.
-
Interface Summary Interface Description SpanExporter An interface that allows different tracing services to export recorded data for sampled spans in their own format. -
Class Summary Class Description BatchSpanProcessor Implementation of theSpanProcessor
that batches spans exported by the SDK then pushes them to the exporter pipeline.BatchSpanProcessorBuilder Builder class forBatchSpanProcessor
.SimpleSpanProcessor An implementation of theSpanProcessor
that converts theReadableSpan
toSpanData
and passes it directly to the configured exporter.