Class TraceTags
java.lang.Object
com.palantir.tracing.api.TraceTags
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe User-Agent propagated across service boundaries as it is sent (raw format).static final StringIndicates the desired action to be performed for a given resource.static final StringHTTP header field that identifies the address of the webpage that linked to the resource being requested.static final StringThe ID of the HTTP request.static final StringThe HTTP response status code.static final StringThe HTTP path part of the URL.static final StringThe HTTP port part of the URL.static final StringThe protocol name of the URL (HTTP or HTTPS).static final StringThe User-Agent as it is sent (raw format).static final StringThe Browser Family reported by the User-Agent.static final StringThe Device family reported by the User-Agent.static final StringThe OS family reported by the User-Agent.static final StringThe version of HTTP used for the request.static final StringTotal number of bytes transmitted from the client to the server when the log is emitted.static final StringTotal number of bytes transmitted from the server to the client when the log is emitted.static final StringThe port of the client that initiated the connection.static final StringThe TCP port the client connected to. -
Method Summary
-
Field Details
-
NETWORK_CLIENT_PORT
The port of the client that initiated the connection.- See Also:
-
NETWORK_DESTINATION_PORT
-
NETWORK_BYTES_READ
Total number of bytes transmitted from the client to the server when the log is emitted.- See Also:
-
NETWORK_BYTES_WRITTEN
Total number of bytes transmitted from the server to the client when the log is emitted.- See Also:
-
HTTP_STATUS_CODE
-
HTTP_METHOD
Indicates the desired action to be performed for a given resource.- See Also:
-
HTTP_REFERER
HTTP header field that identifies the address of the webpage that linked to the resource being requested.- See Also:
-
HTTP_REQUEST_ID
-
HTTP_USER_AGENT
-
HTTP_FOR_USER_AGENT
The User-Agent propagated across service boundaries as it is sent (raw format).- See Also:
-
HTTP_VERSION
-
HTTP_URL_PORT
-
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
-
HTTP_USER_AGENT_OS_FAMILY
The OS family reported by the User-Agent.- See Also:
-
HTTP_USER_AGENT_BROWSER_FAMILY
The Browser Family reported by the User-Agent.- See Also:
-
HTTP_USER_AGENT_DEVICE_FAMILY
The Device family reported by the User-Agent.- See Also:
-