Interface OTelBuildConfig


@ConfigMapping(prefix="quarkus.otel") @ConfigRoot(phase=BUILD_AND_RUN_TIME_FIXED) public interface OTelBuildConfig
Build Time configuration where all the attributes related with classloading must live because of the native image needs
  • Field Details

  • Method Details

    • enabled

      @WithDefault("true") boolean enabled()
      If false, disable the OpenTelemetry usage at build time. All other Otel properties will be ignored at runtime.

      Will pick up value from legacy property quarkus.opentelemetry.enabled

      Defaults to true.

    • simple

      @WithDefault("false") boolean simple()
      Should we use simple processor for spans and log records. This will disable batch processing and the exporter will send telemetry data right away. This is recommended for serverless applications.

      Defaults to false.

    • traces

      Trace exporter configurations.
    • metrics

      Metrics exporter configurations.
    • logs

      Logs exporter configurations.
    • propagators

      @WithDefault("tracecontext,baggage") List<String> propagators()
      The propagators to be used. Use a comma-separated list for multiple propagators.

      Has values from PropagatorType or the full qualified name of a class implementing TextMapPropagator.

      Default is "tracecontext","baggage" (W3C).

    • instrument

      Enable/disable instrumentation for specific technologies.
    • securityEvents

      Allows to export Quarkus security events as the OpenTelemetry Span events.