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.

    • traces

      Trace exporter configurations.
    • metrics

      Metrics exporter configurations.
    • logsExporter

      @WithName("logs.exporter") @WithDefault("none") List<String> logsExporter()
      No Log exporter for now.
    • 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.