Interface OTelRuntimeConfig
@ConfigMapping(prefix="quarkus.otel")
@ConfigRoot(phase=RUN_TIME)
public interface OTelRuntimeConfig
-
Method Summary
Modifier and TypeMethodDescriptionenvironment variables for the types of attributes, for which that SDK implements truncation mechanism.blrp()Batch Log Record Processor configurations.bsp()Batch Span Processor configurations.Specify resource attribute keys that are filtered.The maximum amount of time Quarkus will wait for the OpenTelemetry SDK to flush unsent spans and shutdown.Enable/disable instrumentation for specific technologies.logs()Logs runtime config.metric()Metric runtime config.booleanPrioritize OpenTelemetry configurationotel.on top of Quarkus OpenTelemetry configurationquarkus.otel.Specify resource attributes in the following format:key1=val1,key2=val2,key3=val3.booleanIf true, disable the OpenTelemetry SDK.Specify logical service name.span()Span limit definitions.traces()Traces runtime config.
-
Method Details
-
sdkDisabled
@WithName("sdk.disabled") @WithDefault("false") boolean sdkDisabled()If true, disable the OpenTelemetry SDK. Runtime configuration.Defaults to
false. -
traces
TracesRuntimeConfig traces()Traces runtime config. -
metric
MetricsRuntimeConfig metric()Metric runtime config. -
logs
LogsRuntimeConfig logs()Logs runtime config. -
attribute
AttributeConfig attribute()environment variables for the types of attributes, for which that SDK implements truncation mechanism. -
span
SpanConfig span()Span limit definitions.Tracing specific.
-
bsp
BatchSpanProcessorConfig bsp()Batch Span Processor configurations.Tracing specific.
-
blrp
Batch Log Record Processor configurations.Logging specific.
-
resourceAttributes
Specify resource attributes in the following format:key1=val1,key2=val2,key3=val3. -
serviceName
@WithName("service.name") @WithDefault("${quarkus.application.name:unset}") Optional<String> serviceName()Specify logical service name. Takes precedence over service.name defined with otel.resource.attributes and from quarkus.application.name.Defaults to
quarkus.application.name. -
experimentalResourceDisabledKeys
@WithName("experimental.resource.disabled-keys") Optional<List<String>> experimentalResourceDisabledKeys()Specify resource attribute keys that are filtered. -
experimentalShutdownWaitTime
@WithName("experimental.shutdown-wait-time") @WithDefault("2s") Duration experimentalShutdownWaitTime()The maximum amount of time Quarkus will wait for the OpenTelemetry SDK to flush unsent spans and shutdown. -
instrument
InstrumentRuntimeConfig instrument()Enable/disable instrumentation for specific technologies. -
mpCompatibility
@WithName("mp.compatibility") @WithDefault("false") boolean mpCompatibility()Prioritize OpenTelemetry configurationotel.on top of Quarkus OpenTelemetry configurationquarkus.otel.By default, Quarkus configuration has priority over OpenTelemetry configuration.
-