Package io.helidon.telemetry.otelconfig
Interface OpenTelemetryTracingConfig
- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
OpenTelemetryTracingConfig.BuilderBase.OpenTelemetryTracingConfigImpl
OpenTelemetry tracer settings.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Fluent API builder forOpenTelemetryTracingConfig
.static class
OpenTelemetryTracingConfig.BuilderBase<BUILDER extends OpenTelemetryTracingConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends OpenTelemetryTracingConfig> Fluent API builder base forOpenTelemetryTracingConfig
. -
Method Summary
Modifier and TypeMethodDescriptionBoolean attributes.builder()
Create a new fluent API builder to customize configuration.builder
(OpenTelemetryTracingConfig instance) Create a new fluent API builder from an existing instance.static OpenTelemetryTracingConfig
create()
Create a new instance with default values.static OpenTelemetryTracingConfig
Deprecated.static OpenTelemetryTracingConfig
Create a new instance from configuration.Double attributes.Span exporters.Long attributes.Settings for span processors.List
<io.opentelemetry.sdk.trace.SpanProcessor> Constructed span processors.Optional
<io.opentelemetry.sdk.trace.samplers.Sampler> sampler()
Tracing sampler.Optional
<io.opentelemetry.sdk.trace.SpanLimits> Tracing span limits.String attributes.
-
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
-
sampler
Optional<io.opentelemetry.sdk.trace.samplers.Sampler> sampler()Tracing sampler.- Returns:
- tracing sampler
-
spanLimits
Optional<io.opentelemetry.sdk.trace.SpanLimits> spanLimits()Tracing span limits.- Returns:
- tracing span limits
-
processorConfigs
List<SpanProcessorConfig> processorConfigs()Settings for span processors.- Returns:
- span processors
-
processors
List<io.opentelemetry.sdk.trace.SpanProcessor> processors()Constructed span processors.- Returns:
- span processors
-
exporterConfigs
Span exporters.The key in the map is a unique name--of the user's choice--for the exporter config settings. The
SpanProcessorConfig.exporters()
config setting for a processor config specifies zero or more of these names to associate the exporters built from the exporter configs with the processor built from the processor config.- Returns:
- span exporters
-
stringAttributes
String attributes.- Returns:
- string attributes
-
booleanAttributes
Boolean attributes.- Returns:
- boolean attributes
-
longAttributes
Long attributes.- Returns:
- long attributes
-
doubleAttributes
Double attributes.- Returns:
- double attributes
-
create(io.helidon.config.Config)