Configuration Reference

Version:5.0.0-SNAPSHOT

Micronaut Tracing Brave Config Properties

🔗
Table 1. Configuration Properties for BraveTracerConfiguration$SamplerConfiguration
Property Type Description

tracing.zipkin.sampler.probability

float

Get sampler probability. A value of 1.0 indicates to sample all requests. A value of 0.1 indicates to sample 10% of requests.

🔗
Table 2. Configuration Properties for AsyncReporterConfiguration
Property Type Description

tracing.zipkin.reporter.thread-factory

java.util.concurrent.ThreadFactory

tracing.zipkin.reporter.metrics

zipkin2.reporter.ReporterMetrics

tracing.zipkin.reporter.message-max-bytes

int

tracing.zipkin.reporter.message-timeout

java.time.Duration

tracing.zipkin.reporter.close-timeout

java.time.Duration

tracing.zipkin.reporter.queued-max-spans

int

tracing.zipkin.reporter.queued-max-bytes

int

tracing.zipkin.reporter.build

boolean

🔗
Table 3. Configuration Properties for BraveTracerConfiguration$HttpClientSenderConfiguration
Property Type Description

tracing.zipkin.http.http-version

HttpVersion

tracing.zipkin.http.log-level

LogLevel

tracing.zipkin.http.event-loop-group

java.lang.String

tracing.zipkin.http.ssl-configuration

SslConfiguration

tracing.zipkin.http.follow-redirects

boolean

tracing.zipkin.http.exception-on-error-status

boolean

tracing.zipkin.http.logger-name

java.lang.String

tracing.zipkin.http.default-charset

java.nio.charset.Charset

tracing.zipkin.http.channel-options

java.util.Map

tracing.zipkin.http.read-timeout

java.time.Duration

tracing.zipkin.http.read-idle-timeout

java.time.Duration

tracing.zipkin.http.connection-pool-idle-timeout

java.time.Duration

tracing.zipkin.http.connect-timeout

java.time.Duration

tracing.zipkin.http.connect-ttl

java.time.Duration

tracing.zipkin.http.shutdown-quiet-period

java.time.Duration

tracing.zipkin.http.shutdown-timeout

java.time.Duration

tracing.zipkin.http.num-of-threads

java.lang.Integer

tracing.zipkin.http.thread-factory

java.lang.Class

tracing.zipkin.http.max-content-length

int

tracing.zipkin.http.proxy-type

java.net.Proxy$Type

tracing.zipkin.http.proxy-address

java.net.SocketAddress

tracing.zipkin.http.proxy-username

java.lang.String

tracing.zipkin.http.proxy-password

java.lang.String

tracing.zipkin.http.proxy-selector

java.net.ProxySelector

tracing.zipkin.http.plaintext-mode

HttpVersionSelection$PlaintextMode

tracing.zipkin.http.alpn-modes

java.util.List

tracing.zipkin.http.encoding

zipkin2.codec.Encoding

tracing.zipkin.http.message-max-bytes

int

tracing.zipkin.http.compression-enabled

boolean

tracing.zipkin.http.server

java.net.URI

tracing.zipkin.http.url

java.net.URI

tracing.zipkin.http.urls

java.util.List

tracing.zipkin.http.path

java.lang.String

tracing.zipkin.http.build

jakarta.inject.Provider

🔗
Table 4. Configuration Properties for BraveTracerConfiguration
Property Type Description

tracing.zipkin.enabled

boolean

tracing.zipkin.span-handlers

boolean

tracing.zipkin.clear-span-handlers

boolean

tracing.zipkin.local-service-name

java.lang.String

tracing.zipkin.local-ip

java.lang.String

tracing.zipkin.local-port

int

tracing.zipkin.trace-id128-bit

boolean

tracing.zipkin.supports-join

boolean

tracing.zipkin.add-finished-span-handler

brave.handler.FinishedSpanHandler

tracing.zipkin.add-span-handler

brave.handler.SpanHandler

tracing.zipkin.always-sample-local

boolean

tracing.zipkin.always-report-spans

boolean

tracing.zipkin.track-orphans

boolean

tracing.zipkin.build

boolean

Micronaut Tracing Core Config Properties

🔗
Table 5. Configuration Properties for TracingExclusionsConfiguration
Property Type Description

tracing.exclusions

java.util.List

Micronaut Tracing Jaeger Config Properties

🔗
Table 6. Configuration Properties for JaegerConfiguration$JaegerSamplerConfiguration
Property Type Description

tracing.jaeger.sampler.probability

float

Sets the sampler probability used by the Jaeger sampler. A value of 1.0 indicates to sample all requests. A value of 0.1 indicates to sample 10% of requests.

tracing.jaeger.sampler.type

java.lang.String

tracing.jaeger.sampler.param

java.lang.Number

tracing.jaeger.sampler.manager-host-port

java.lang.String

🔗
Table 7. Configuration Properties for JaegerConfiguration$JaegerSenderConfiguration
Property Type Description

tracing.jaeger.sender.agent-host

java.lang.String

tracing.jaeger.sender.agent-port

java.lang.Integer

tracing.jaeger.sender.endpoint

java.lang.String

tracing.jaeger.sender.auth-token

java.lang.String

tracing.jaeger.sender.auth-username

java.lang.String

tracing.jaeger.sender.auth-password

java.lang.String

🔗
Table 8. Configuration Properties for JaegerConfiguration$JaegerReporterConfiguration
Property Type Description

tracing.jaeger.reporter.log-spans

java.lang.Boolean

tracing.jaeger.reporter.flush-interval

java.lang.Integer

tracing.jaeger.reporter.max-queue-size

java.lang.Integer

tracing.jaeger.reporter.sender

io.jaegertracing.Configuration$SenderConfiguration

🔗
Table 9. Configuration Properties for JaegerConfiguration
Property Type Description

tracing.jaeger.expand-exception-logs

boolean

tracing.jaeger.zipkin-shared-rpc-span

boolean

tracing.jaeger.enabled

boolean

Enable/disable Jaeger. Default value ().

tracing.jaeger.tracer-tags

java.util.Map

tracing.jaeger.codecs

java.lang.String

Set codecs from comma-delimited string.

Micronaut Tracing Opentelemetry Config Properties

🔗
Table 10. Configuration Properties for OpenTelemetryConfigurationProperties
Property Type Description

micronaut.otel.enabled

boolean

Sets whether the OpenTelemetry integration is enabled. Default value ().

🔗
Table 11. Configuration Properties for OpenTelemetryExclusionsConfiguration
Property Type Description

otel.exclusions

java.util.List

Micronaut Tracing Opentelemetry Http Config Properties

🔗
Table 12. Configuration Properties for OpenTelemetryHttpClientConfig
Property Type Description

otel.http.client.response-headers

java.util.List

otel.http.client.request-headers

java.util.List

🔗
Table 13. Configuration Properties for OpenTelemetryHttpServerConfig
Property Type Description

otel.http.server.response-headers

java.util.List

otel.http.server.request-headers

java.util.List

Micronaut Tracing Opentelemetry Kafka Config Properties

🔗
Table 14. Configuration Properties for KafkaTelemetryConfiguration
Property Type Description

otel.instrumentation.kafka.headers-as-lists

boolean

If you want to set headers as lists, set "true".

otel.instrumentation.kafka.captured-headers

java.util.Set

List of headers, which you want to add as span attributes. By default, all headers will be added as span attributes. If you don’t want to set any headers as attributes, just set it to null or an empty string.