Package io.helidon.telemetry.otelconfig
Interface BatchSpanProcessorConfig
- All Superinterfaces:
Prototype.Api
,SpanProcessorConfig
- All Known Implementing Classes:
BatchSpanProcessorConfig.BuilderBase.BatchSpanProcessorConfigImpl
Configuration for a batch span processor.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Fluent API builder forBatchSpanProcessorConfig
.static class
BatchSpanProcessorConfig.BuilderBase<BUILDER extends BatchSpanProcessorConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends BatchSpanProcessorConfig> Fluent API builder base forBatchSpanProcessorConfig
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Create a new fluent API builder to customize configuration.builder
(BatchSpanProcessorConfig instance) Create a new fluent API builder from an existing instance.static BatchSpanProcessorConfig
create()
Create a new instance with default values.static BatchSpanProcessorConfig
Deprecated.static BatchSpanProcessorConfig
Create a new instance from configuration.Maximum number of spans batched for export together.Maximum number of spans retained before discarding excess unexported ones.Delay between consecutive exports.timeout()
Maximum time an export can run before being cancelled.Methods inherited from interface io.helidon.telemetry.otelconfig.SpanProcessorConfig
exporters, type
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance
- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance from configuration.- Parameters:
config
- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Deprecated.Create a new instance from configuration.- Parameters:
config
- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Create a new instance with default values.- Returns:
- a new instance
-
scheduleDelay
Delay between consecutive exports.- Returns:
- delay between consecutive exports
-
maxQueueSize
Maximum number of spans retained before discarding excess unexported ones.- Returns:
- maximum number of spans kept
-
maxExportBatchSize
Maximum number of spans batched for export together. OpenTelemetry requires this value to not exceed themaxQueueSize()
.- Returns:
- maximum number of spans batched
-
timeout
Maximum time an export can run before being cancelled.- Returns:
- maximum export time
-
create(io.helidon.config.Config)