Interface TracesRuntimeConfig


public interface TracesRuntimeConfig
  • 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.Sampler CDI 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-uris or defaults to `true`.

    • suppressApplicationUris

      @WithName("suppress-application-uris") Optional<List<String>> suppressApplicationUris()
      Comma-separated, suppress application uris from trace collection.

      This will suppress all uris set by this property.

      If you are using quarkus.http.root-path, you need to consider it when setting your uris, in other words, you need to configure it using the root-path if necessary.

    • 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.Sampler CDI Bean will ignore this setting.

      Fallbacks to the legacy property quarkus.opentelemetry.tracer.include-static-resources or 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 property quarkus.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`.