Class RequestTracing


  • public class RequestTracing
    extends java.lang.Object
    Shared properties to trace all service calls initiated by a request entering SDA platform. The trace token is generated when not existing and shared in the request and used for logging and monitoring.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String TOKEN_ATTRIBUTE
      Common name to share the token internally, e.g.
      static java.lang.String TOKEN_HEADER
      The header name used to send the request token.
      static java.lang.String TOKEN_MDC_KEY
      Name of the trace token used to promote it in the org.slf4j.MDC
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • TOKEN_HEADER

        public static final java.lang.String TOKEN_HEADER
        The header name used to send the request token.
        See Also:
        Constant Field Values
      • TOKEN_ATTRIBUTE

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

        public static final java.lang.String TOKEN_MDC_KEY
        Name of the trace token used to promote it in the org.slf4j.MDC
        See Also:
        Constant Field Values