Package io.helidon.telemetry.otelconfig
Interface BatchProcessorConfig
- All Superinterfaces:
ProcessorConfig,Prototype.Api
- All Known Implementing Classes:
BatchProcessorConfig.BuilderBase.BatchProcessorConfigImpl
Configuration for a batch processor.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forBatchProcessorConfig.static classBatchProcessorConfig.BuilderBase<BUILDER extends BatchProcessorConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends BatchProcessorConfig> Fluent API builder base forBatchProcessorConfig. -
Method Summary
Modifier and TypeMethodDescriptionstatic BatchProcessorConfig.Builderbuilder()Create a new fluent API builder to customize configuration.static BatchProcessorConfig.Builderbuilder(BatchProcessorConfig instance) Create a new fluent API builder from an existing instance.static BatchProcessorConfigcreate()Create a new instance with default values.static BatchProcessorConfigDeprecated.static BatchProcessorConfigCreate a new instance from configuration.Maximum number of items batched for export together.Maximum number of items 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.ProcessorConfig
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 items retained before discarding excess unexported ones.- Returns:
- maximum number of items kept
-
maxExportBatchSize
Maximum number of items batched for export together. OpenTelemetry requires this value to not exceed themaxQueueSize().- Returns:
- maximum number of items batched
-
timeout
Maximum time an export can run before being cancelled.- Returns:
- maximum export time
-
create(io.helidon.config.Config)