Package org.sdase.commons.shared.tracing
Class ConsumerTracing
- java.lang.Object
-
- org.sdase.commons.shared.tracing.ConsumerTracing
-
public class ConsumerTracing extends java.lang.ObjectShared 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 Summary
Fields Modifier and Type Field Description static java.lang.StringNAME_ATTRIBUTECommon name to share the consumer name internally, e.g.static java.lang.StringNAME_MDC_KEYName of the consumer name used to promote it in theorg.slf4j.MDCstatic java.lang.StringTOKEN_ATTRIBUTECommon name to share the consumer token internally, e.g.static java.lang.StringTOKEN_HEADERThe header name used to send the consumer token.
-
-
-
Field Detail
-
TOKEN_HEADER
public static final java.lang.String TOKEN_HEADER
The header name used to send the consumer token.- See Also:
- Constant Field Values
-
NAME_ATTRIBUTE
public static final java.lang.String NAME_ATTRIBUTE
Common name to share the consumer name internally, e.g. as attribute in the request context
-
TOKEN_ATTRIBUTE
public static final java.lang.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 java.lang.String NAME_MDC_KEY
Name of the consumer name used to promote it in theorg.slf4j.MDC- See Also:
- Constant Field Values
-
-