Package org.sdase.commons.shared.tracing
Class ConsumerTracing
java.lang.Object
org.sdase.commons.shared.tracing.ConsumerTracing
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Common name to share the consumer name internally, e.g.static final String
Name of the consumer name used to promote it in theorg.slf4j.MDC
static final String
Common name to share the consumer token internally, e.g.static final String
The header name used to send the consumer token. -
Method Summary
-
Field Details
-
TOKEN_HEADER
The header name used to send the consumer token.- See Also:
-
NAME_ATTRIBUTE
Common name to share the consumer name internally, e.g. as attribute in the request context -
TOKEN_ATTRIBUTE
Common name to share the consumer token internally, e.g. as attribute in the request context -
NAME_MDC_KEY
Name of the consumer name used to promote it in theorg.slf4j.MDC
- See Also:
-