opentelemetry-java-instrume.../instrumentation/logback/logback-mdc-1.0/javaagent
Lauri Tulmin 6c6223b969
Use latest.release instead of + (#13485)
2025-03-11 11:42:21 +00:00
..
src Logback: don't make MDCPropertyMap of logging event immutable (#12718) 2024-11-14 07:50:38 -08:00
README.md Allow configuring MDC key names for trace_id, span_id, trace_flags (#11329) 2024-06-10 12:37:22 -07:00
build.gradle.kts Use latest.release instead of + (#13485) 2025-03-11 11:42:21 +00:00

README.md

Settings for the Logback MDC instrumentation

System property Type Default Description
otel.instrumentation.logback-mdc.add-baggage Boolean false Enable exposing baggage attributes through MDC.
otel.instrumentation.common.mdc.resource-attributes String Comma separated list of resource attributes to expose through MDC.
otel.instrumentation.common.logging.trace-id String trace_id Customize MDC key name for the trace id.
otel.instrumentation.common.logging.span-id String span_id Customize MDC key name for the span id.
otel.instrumentation.common.logging.trace-flags String trace_flags Customize MDC key name for the trace flags.