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
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceQuarkus security events exported as the OpenTelemetry Span events. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanenabled()If false, disable the OpenTelemetry usage at build time.Enable/disable instrumentation for specific technologies.No Log exporter for now.metrics()Metrics exporter configurations.The propagators to be used.Allows to export Quarkus security events as the OpenTelemetry Span events.traces()Trace exporter configurations.
-
Field Details
-
INSTRUMENTATION_NAME
- See Also:
-
-
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
TracesBuildConfig traces()Trace exporter configurations. -
metrics
MetricsBuildConfig metrics()Metrics exporter configurations. -
logsExporter
No Log exporter for now. -
propagators
The propagators to be used. Use a comma-separated list for multiple propagators.Has values from
PropagatorTypeor the full qualified name of a class implementingTextMapPropagator.Default is "tracecontext","baggage" (W3C).
-
instrument
InstrumentBuildTimeConfig instrument()Enable/disable instrumentation for specific technologies. -
securityEvents
OTelBuildConfig.SecurityEvents securityEvents()Allows to export Quarkus security events as the OpenTelemetry Span events.
-