Class LoggingContextConstants

java.lang.Object
io.opentelemetry.instrumentation.api.incubator.log.LoggingContextConstants

public final class LoggingContextConstants extends Object
This class contains several constants used in logging libraries' Mapped Diagnostic Context instrumentations.
  • Field Details

    • TRACE_ID

      public static final String TRACE_ID
      Key under which the current trace id will be injected into the context data.
      See Also:
    • SPAN_ID

      public static final String SPAN_ID
      Key under which the current span id will be injected into the context data.
      See Also:
    • TRACE_FLAGS

      public static final String TRACE_FLAGS
      Key under which the current trace flags will be injected into the context data.
      See Also: