Package io.helidon.telemetry.otelconfig
Interface ProcessorConfig
- All Superinterfaces:
Prototype.Api
- All Known Subinterfaces:
BatchProcessorConfig
- All Known Implementing Classes:
BatchProcessorConfig.BuilderBase.BatchProcessorConfigImpl,ProcessorConfig.BuilderBase.ProcessorConfigImpl
Generic configuration for a processor such as a
SpanProcessor, linked to an
exporter such as a SpanExporter by its name in the configuration.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forProcessorConfig.static classProcessorConfig.BuilderBase<BUILDER extends ProcessorConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends ProcessorConfig> Fluent API builder base forProcessorConfig. -
Method Summary
Modifier and TypeMethodDescriptionstatic ProcessorConfig.Builderbuilder()Create a new fluent API builder to customize configuration.static ProcessorConfig.Builderbuilder(ProcessorConfig instance) Create a new fluent API builder from an existing instance.static ProcessorConfigDeprecated.static ProcessorConfigCreate a new instance from configuration.Name(s) of the exporter(s) this processor should use; specifying no names uses all configured exporters (or if no exporters are configured, the default OpenTelemetry exporter(s)).type()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 exporter(s) this 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:
- exporter name
-
type
ProcessorType type()Processor type.- Returns:
- processor type
-
create(io.helidon.config.Config)