Class TracerRuntimeConfig.SamplerConfig
- java.lang.Object
-
- io.quarkus.opentelemetry.runtime.config.TracerRuntimeConfig.SamplerConfig
-
- Enclosing class:
- TracerRuntimeConfig
public static class TracerRuntimeConfig.SamplerConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description BooleanparentBasedIf the sampler to use for tracing is parent based.Optional<Double>ratioThe sampler ratio to use for tracing.StringsamplerNameThe sampler to use for tracing.
-
Constructor Summary
Constructors Constructor Description SamplerConfig()
-
-
-
Field Detail
-
samplerName
@ConfigItem(name="<<parent>>", defaultValue="on") public String samplerName
The sampler to use for tracing.Valid values are
off, on, ratio.Defaults to
on.
-
ratio
public Optional<Double> ratio
The sampler ratio to use for tracing.Only supported by the
ratiosampler.
-
parentBased
@ConfigItem(defaultValue="true") public Boolean parentBased
If the sampler to use for tracing is parent based.Valid values are
true, false.Defaults to
true.
-
-