public final class SemanticAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static StringAttributeSetter |
DB_INSTANCE
Database instance name.
|
static StringAttributeSetter |
DB_STATEMENT
Database statement for the given database type.
|
static StringAttributeSetter |
DB_TYPE
Database type.
|
static StringAttributeSetter |
DB_URL
JDBC substring like "mysql://db.example.com:3306"
|
static StringAttributeSetter |
DB_USER
Username for accessing database.
|
static StringAttributeSetter |
ENDUSER_ID
Username or client_id extracted from the access token or Authorization header in the inbound
request from outside the system.
|
static StringAttributeSetter |
ENDUSER_ROLE
Actual/assumed role the client is making the request under extracted from token or application
security context.
|
static StringAttributeSetter |
ENDUSER_SCOPE
Scopes or granted authorities the client currently possesses extracted from token or
application security context.
|
static StringAttributeSetter |
HTTP_CLIENT_IP
The IP address of the original client behind all proxies, if known.
|
static StringAttributeSetter |
HTTP_FLAVOR
Kind of HTTP protocol used: "1.0", "1.1", "2", "SPDY" or "QUIC".
|
static StringAttributeSetter |
HTTP_HOST
The value of the HTTP host header.
|
static StringAttributeSetter |
HTTP_METHOD
HTTP request method.
|
static StringAttributeSetter |
HTTP_REQUEST_CONTENT_LENGTH
The size of the request payload body, in bytes.
|
static StringAttributeSetter |
HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED
The size of the uncompressed request payload body, in bytes.
|
static StringAttributeSetter |
HTTP_RESPONSE_CONTENT_LENGTH
The size of the response payload body, in bytes.
|
static StringAttributeSetter |
HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED
The size of the uncompressed response payload body, in bytes.
|
static StringAttributeSetter |
HTTP_ROUTE
The matched route (path template).
|
static StringAttributeSetter |
HTTP_SCHEME
The URI scheme identifying the used protocol: "http" or "https".
|
static StringAttributeSetter |
HTTP_SERVER_NAME
The primary server name of the matched virtual host.
|
static LongAttributeSetter |
HTTP_STATUS_CODE
HTTP response status code.
|
static StringAttributeSetter |
HTTP_STATUS_TEXT
HTTP reason phrase.
|
static StringAttributeSetter |
HTTP_TARGET
The full request target as passed in a HTTP request line or equivalent.
|
static StringAttributeSetter |
HTTP_URL
Full HTTP request URL in the form scheme://host[:port]/path?query[#fragment].
|
static StringAttributeSetter |
HTTP_USER_AGENT
Value of the HTTP "User-Agent" header sent by the client.
|
static LongAttributeSetter |
MESSAGE_COMPRESSED_SIZE
RPC span event attribute for compressed size.
|
static LongAttributeSetter |
MESSAGE_ID
RPC span event attribute starting from 1 for each of sent messages and received messages.
|
static StringAttributeSetter |
MESSAGE_TYPE
RPC span event attribute with value "SENT" or "RECEIVED".
|
static LongAttributeSetter |
MESSAGE_UNCOMPRESSED_SIZE
RPC span event attribute for uncompressed size.
|
static StringAttributeSetter |
NET_HOST_IP
Like net.peer.ip but for the host IP.
|
static StringAttributeSetter |
NET_HOST_NAME
Local hostname or similar.
|
static LongAttributeSetter |
NET_HOST_PORT
Like net.peer.port but for the host port.
|
static StringAttributeSetter |
NET_PEER_IP
Remote address of the peer (dotted decimal for IPv4 or RFC5952 for IPv6).
|
static StringAttributeSetter |
NET_PEER_NAME
Remote hostname or similar.
|
static LongAttributeSetter |
NET_PEER_PORT
Remote port number as an integer.
|
static StringAttributeSetter |
NET_TRANSPORT
Transport protocol used.
|
static StringAttributeSetter |
PEER_SERVICE
Logical name of a remote service.
|
static StringAttributeSetter |
RPC_SERVICE
The service name, must be equal to the $service part in the span name.
|
public static final StringAttributeSetter NET_TRANSPORT
public static final StringAttributeSetter NET_PEER_IP
public static final LongAttributeSetter NET_PEER_PORT
public static final StringAttributeSetter NET_PEER_NAME
public static final StringAttributeSetter NET_HOST_IP
public static final LongAttributeSetter NET_HOST_PORT
public static final StringAttributeSetter NET_HOST_NAME
public static final StringAttributeSetter PEER_SERVICE
public static final StringAttributeSetter ENDUSER_ID
public static final StringAttributeSetter ENDUSER_ROLE
public static final StringAttributeSetter ENDUSER_SCOPE
public static final StringAttributeSetter HTTP_METHOD
public static final StringAttributeSetter HTTP_URL
public static final StringAttributeSetter HTTP_TARGET
public static final StringAttributeSetter HTTP_HOST
public static final StringAttributeSetter HTTP_SCHEME
public static final LongAttributeSetter HTTP_STATUS_CODE
public static final StringAttributeSetter HTTP_STATUS_TEXT
public static final StringAttributeSetter HTTP_FLAVOR
public static final StringAttributeSetter HTTP_USER_AGENT
public static final StringAttributeSetter HTTP_SERVER_NAME
public static final StringAttributeSetter HTTP_ROUTE
public static final StringAttributeSetter HTTP_CLIENT_IP
public static final StringAttributeSetter HTTP_REQUEST_CONTENT_LENGTH
public static final StringAttributeSetter HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED
public static final StringAttributeSetter HTTP_RESPONSE_CONTENT_LENGTH
public static final StringAttributeSetter HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED
public static final StringAttributeSetter RPC_SERVICE
public static final StringAttributeSetter MESSAGE_TYPE
public static final LongAttributeSetter MESSAGE_ID
public static final LongAttributeSetter MESSAGE_COMPRESSED_SIZE
public static final LongAttributeSetter MESSAGE_UNCOMPRESSED_SIZE
public static final StringAttributeSetter DB_TYPE
public static final StringAttributeSetter DB_INSTANCE
public static final StringAttributeSetter DB_STATEMENT
public static final StringAttributeSetter DB_USER
public static final StringAttributeSetter DB_URL