Interface TracesRuntimeConfig
-
Method Summary
Modifier and TypeMethodDescriptionInclude static resources from trace collection.Sampler argument.Suppress non-application uris from trace collection.
-
Method Details
-
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
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
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`.
-