Interface TracesRuntimeConfig
-
public interface TracesRuntimeConfig
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BooleanincludeStaticResources()Include static resources from trace collection.Optional<String>samplerArg()Sampler argument.BooleansuppressNonApplicationUris()Suppress non-application uris from trace collection.
-
-
-
Method Detail
-
suppressNonApplicationUris
@WithName("suppress-non-application-uris") @WithDefault("true") Boolean suppressNonApplicationUris()Suppress non-application uris from trace collection. This will suppress tracing of `/q` endpoints.Providing a custom
io.opentelemetry.sdk.trace.samplers.SamplerCDI Bean will ignore this setting.This is a Quarkus specific property. Suppressing non-application uris is enabled by default.
Fallbacks to the legacy property
quarkus.opentelemetry.tracer.suppress-non-application-urisor defaults to `true`.
-
includeStaticResources
@WithName("include-static-resources") @WithDefault("false") Boolean includeStaticResources()Include static resources from trace collection.This is a Quarkus specific property. Include static resources is disabled by default. Providing a custom
io.opentelemetry.sdk.trace.samplers.SamplerCDI Bean will ignore this setting.Fallbacks to the legacy property
quarkus.opentelemetry.tracer.include-static-resourcesor defaults to `false`.
-
samplerArg
@WithName("sampler.arg") @WithDefault("1.0d") Optional<String> samplerArg()Sampler argument. Depends on the `quarkus.otel.traces.sampler` property. Fallbacks to the legacy propertyquarkus.opentelemetry.tracer.sampler.ratio.When setting the stock sampler to `traceidratio` or `parentbased_traceidratio` you need to set a `double` compatible value between `0.0d` and `1.0d`, like `0.01d` or `0.5d`. It is kept as a `String` to allow the flexible customisation of alternative samplers.
Defaults to `1.0d`.
-
-