See: Description
Interface | Description |
---|---|
SpanExporter |
An interface that allows different tracing services to export recorded data for sampled spans in
their own format.
|
Class | Description |
---|---|
BatchSpanProcessor |
Implementation of the
SpanProcessor that batches spans exported by the SDK then pushes
them to the exporter pipeline. |
BatchSpanProcessor.Builder |
Builder class for
BatchSpanProcessor . |
MultiSpanExporter |
Implementation of the
SpanExporter that simply forwards all received spans to a list of
SpanExporter . |
SimpleSpanProcessor |
An implementation of the
SpanProcessor that converts the ReadableSpan to SpanData and passes it to the configured exporter. |
SimpleSpanProcessor.Builder |
Builder class for
SimpleSpanProcessor . |
Enum | Description |
---|---|
SpanExporter.ResultCode |
The possible results for the export method.
|
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.
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
: sets the delay interval between two consecutive exports.
otel.bsp.max.queue
: sets the maximum queue size.
otel.bsp.max.export.batch
: 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.
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
: sets the maximum queue size.
OTEL_BSP_MAX_EXPORT_BATCH
: 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.