Uses of Class
io.opentelemetry.sdk.trace.export.BatchSpanProcessorBuilder
Packages that use BatchSpanProcessorBuilder
Package
Description
Utilities that allow tracing services to export data for sampled spans, as well as providing
in-process span processing APIs.
-
Uses of BatchSpanProcessorBuilder in io.opentelemetry.sdk.trace.export
Methods in io.opentelemetry.sdk.trace.export that return BatchSpanProcessorBuilderModifier and TypeMethodDescriptionstatic BatchSpanProcessorBuilderBatchSpanProcessor.builder(SpanExporter spanExporter) Returns a new Builder forBatchSpanProcessor.BatchSpanProcessorBuilder.setExporterTimeout(long timeout, TimeUnit unit) Sets the maximum time an export will be allowed to run before being cancelled.BatchSpanProcessorBuilder.setExporterTimeout(Duration timeout) Sets the maximum time an export will be allowed to run before being cancelled.BatchSpanProcessorBuilder.setExportUnsampledSpans(boolean exportUnsampledSpans) Sets whether unsampled spans should be exported.BatchSpanProcessorBuilder.setMaxExportBatchSize(int maxExportBatchSize) Sets the maximum batch size for every export.BatchSpanProcessorBuilder.setMaxQueueSize(int maxQueueSize) Sets the maximum number of Spans that are kept in the queue before start dropping.BatchSpanProcessorBuilder.setMeterProvider(MeterProvider meterProvider) Sets theMeterProviderto use to collect metrics related to batch export.BatchSpanProcessorBuilder.setScheduleDelay(long delay, TimeUnit unit) Sets the delay interval between two consecutive exports.BatchSpanProcessorBuilder.setScheduleDelay(Duration delay) Sets the delay interval between two consecutive exports.