Class LoggingContextConstants


  • public final class LoggingContextConstants
    extends Object
    This class contains several constants used in logging libraries' Mapped Diagnostic Context instrumentations.
    See Also:
    MDC
    • Field Detail

      • TRACE_ID

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

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

        public static final String SAMPLED
        Key under which a boolean indicating whether current span is sampled will be injected into the context data.
        See Also:
        Constant Field Values