Interface OTelRuntimeConfig
-
@ConfigMapping(prefix="quarkus.otel") @ConfigRoot(phase=RUN_TIME) public interface OTelRuntimeConfig
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttributeConfigattribute()environment variables for the types of attributes, for which that SDK implements truncation mechanism.BatchSpanProcessorConfigbsp()Batch Span Processor configurations.Optional<List<String>>experimentalResourceDisabledKeys()Specify resource attribute keys that are filtered.DurationexperimentalShutdownWaitTime()The maximum amount of time Quarkus will wait for the OpenTelemetry SDK to flush unsent spans and shutdown.Optional<List<String>>resourceAttributes()Specify resource attributes in the following format:key1=val1,key2=val2,key3=val3.booleansdkDisabled()If true, disable the OpenTelemetry SDK.Optional<String>serviceName()Specify logical service name.SpanConfigspan()Span limit definitions.TracesRuntimeConfigtraces()Traces runtime config.
-
-
-
Method Detail
-
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.
-
attribute
AttributeConfig attribute()
environment variables for the types of attributes, for which that SDK implements truncation mechanism.
-
span
SpanConfig span()
Span limit definitions.
-
bsp
BatchSpanProcessorConfig bsp()
Batch Span Processor configurations.
-
resourceAttributes
@WithName("resource.attributes") Optional<List<String>> 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("1s") Duration experimentalShutdownWaitTime()The maximum amount of time Quarkus will wait for the OpenTelemetry SDK to flush unsent spans and shutdown.
-
-