Package io.helidon.telemetry.otelconfig
Interface SpanProcessorConfig
- All Superinterfaces:
Prototype.Api
- All Known Subinterfaces:
BatchSpanProcessorConfig
- All Known Implementing Classes:
BatchSpanProcessorConfig.BuilderBase.BatchSpanProcessorConfigImpl
,SpanProcessorConfig.BuilderBase.SpanProcessorConfigImpl
Generic configuration for a
SpanProcessor
, linked to a
SpanExporter
by its name in the configuration.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Fluent API builder forSpanProcessorConfig
.static class
SpanProcessorConfig.BuilderBase<BUILDER extends SpanProcessorConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends SpanProcessorConfig> Fluent API builder base forSpanProcessorConfig
. -
Method Summary
Modifier and TypeMethodDescriptionstatic SpanProcessorConfig.Builder
builder()
Create a new fluent API builder to customize configuration.static SpanProcessorConfig.Builder
builder
(SpanProcessorConfig instance) Create a new fluent API builder from an existing instance.static SpanProcessorConfig
Deprecated.static SpanProcessorConfig
Create a new instance from configuration.Name(s) of the span exporter(s) this span processor should use; specifying no names uses all configured exporters (or if no exporters are configured, the default OpenTelemetry exporter(s)).type()
Span processor 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
-
exporters
Name(s) of the span exporter(s) this span processor should use; specifying no names uses all configured exporters (or if no exporters are configured, the default OpenTelemetry exporter(s)).Each name must be the name of one of the configured
OpenTelemetryTracingConfig.exporterConfigs()
.- Returns:
- span exporter name
-
type
SpanProcessorType type()Span processor type.- Returns:
- span processor type
-
create(io.helidon.config.Config)