Class TraceTags

java.lang.Object
com.palantir.tracing.api.TraceTags

public final class TraceTags extends Object
A set of standard tracing tags meant to be reused where applicable. These are based on the Datadog APM standard attribute list. The values of these attributes may change without warning, it's best to use this utility class to standardize with other services.
  • Field Details

    • NETWORK_CLIENT_PORT

      public static final String NETWORK_CLIENT_PORT
      The port of the client that initiated the connection.
      See Also:
    • NETWORK_DESTINATION_PORT

      public static final String NETWORK_DESTINATION_PORT
      The TCP port the client connected to.
      See Also:
    • NETWORK_BYTES_READ

      public static final String NETWORK_BYTES_READ
      Total number of bytes transmitted from the client to the server when the log is emitted.
      See Also:
    • NETWORK_BYTES_WRITTEN

      public static final String NETWORK_BYTES_WRITTEN
      Total number of bytes transmitted from the server to the client when the log is emitted.
      See Also:
    • HTTP_STATUS_CODE

      public static final String HTTP_STATUS_CODE
      The HTTP response status code.
      See Also:
    • HTTP_METHOD

      public static final String HTTP_METHOD
      Indicates the desired action to be performed for a given resource.
      See Also:
    • HTTP_REFERER

      public static final String HTTP_REFERER
      HTTP header field that identifies the address of the webpage that linked to the resource being requested.
      See Also:
    • HTTP_REQUEST_ID

      public static final String HTTP_REQUEST_ID
      The ID of the HTTP request.
      See Also:
    • HTTP_USER_AGENT

      public static final String HTTP_USER_AGENT
      The User-Agent as it is sent (raw format).
      See Also:
    • HTTP_FOR_USER_AGENT

      public static final String HTTP_FOR_USER_AGENT
      The User-Agent propagated across service boundaries as it is sent (raw format).
      See Also:
    • HTTP_VERSION

      public static final String HTTP_VERSION
      The version of HTTP used for the request.
      See Also:
    • HTTP_URL_PORT

      public static final String HTTP_URL_PORT
      The HTTP port part of the URL.
      See Also:
    • HTTP_URL_PATH_TEMPLATE

      public static final String HTTP_URL_PATH_TEMPLATE
      The HTTP path part of the URL. When setting this tag, the caller takes responsibility for redaction, ensuring the path is a known template which does not include user-provided path parameter data.
      See Also:
    • HTTP_URL_SCHEME

      public static final String HTTP_URL_SCHEME
      The protocol name of the URL (HTTP or HTTPS).
      See Also:
    • HTTP_USER_AGENT_OS_FAMILY

      public static final String HTTP_USER_AGENT_OS_FAMILY
      The OS family reported by the User-Agent.
      See Also:
    • HTTP_USER_AGENT_BROWSER_FAMILY

      public static final String HTTP_USER_AGENT_BROWSER_FAMILY
      The Browser Family reported by the User-Agent.
      See Also:
    • HTTP_USER_AGENT_DEVICE_FAMILY

      public static final String HTTP_USER_AGENT_DEVICE_FAMILY
      The Device family reported by the User-Agent.
      See Also: