Class ConsumerTracing

java.lang.Object
org.sdase.commons.shared.tracing.ConsumerTracing

public class ConsumerTracing extends Object
Shared properties to trace the consumer that initiated a request. A consumer identifies itself in the request header. The consumer information is shared in the request and used for logging and monitoring.
  • Field Details

    • TOKEN_HEADER

      public static final String TOKEN_HEADER
      The header name used to send the consumer token.
      See Also:
    • NAME_ATTRIBUTE

      public static final String NAME_ATTRIBUTE
      Common name to share the consumer name internally, e.g. as attribute in the request context
    • TOKEN_ATTRIBUTE

      public static final String TOKEN_ATTRIBUTE
      Common name to share the consumer token internally, e.g. as attribute in the request context
    • NAME_MDC_KEY

      public static final String NAME_MDC_KEY
      Name of the consumer name used to promote it in the org.slf4j.MDC
      See Also: