Package io.helidon.telemetry.otelconfig
Interface SamplerConfig
- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
SamplerConfig.BuilderBase.SamplerConfigImpl
Tracing sampler settings.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Fluent API builder forSamplerConfig
.static class
SamplerConfig.BuilderBase<BUILDER extends SamplerConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends SamplerConfig> Fluent API builder base forSamplerConfig
. -
Method Summary
Modifier and TypeMethodDescriptionstatic SamplerConfig.Builder
builder()
Create a new fluent API builder to customize configuration.static SamplerConfig.Builder
builder
(SamplerConfig instance) Create a new fluent API builder from an existing instance.static SamplerConfig
create()
Create a new instance with default values.static SamplerConfig
Deprecated.static SamplerConfig
Create a new instance from configuration.param()
Sampler parameter.type()
Sampler 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
-
type
SamplerType type()Sampler type.- Returns:
- sampler type
-
param
Sampler parameter.- Returns:
- sampler parameter
-
create(io.helidon.config.Config)