public final class SemanticAttributes
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static AttributeKey<java.lang.String> |
CASSANDRA_KEYSPACE
For db.system == cassandra, the name of the keyspace being accessed.
|
static AttributeKey<java.lang.String> |
DB_CONNECTION_STRING
The connection string used to connect to the database.
|
static AttributeKey<java.lang.String> |
DB_NAME
Database name.
|
static AttributeKey<java.lang.String> |
DB_OPERATION
Database operation that is being executed.
|
static AttributeKey<java.lang.String> |
DB_STATEMENT
Database statement for the given database type.
|
static AttributeKey<java.lang.String> |
DB_SYSTEM
An identifier for the database management system (DBMS) product being used.
|
static AttributeKey<java.lang.String> |
DB_USER
Username for accessing database.
|
static AttributeKey<java.lang.String> |
ENDUSER_ID
Username or client_id extracted from the access token or Authorization header in the inbound
request from outside the system.
|
static AttributeKey<java.lang.String> |
ENDUSER_ROLE
Actual/assumed role the client is making the request under extracted from token or application
security context.
|
static AttributeKey<java.lang.String> |
ENDUSER_SCOPE
Scopes or granted authorities the client currently possesses extracted from token or
application security context.
|
static AttributeKey<java.lang.Boolean> |
EXCEPTION_ESCAPED
A boolean which SHOULD be set to
true if the exception is recorded at a point where it
is known that it is escaping the scope of the span (used on exception events). |
static java.lang.String |
EXCEPTION_EVENT_NAME
The name of an event describing an exception.
|
static AttributeKey<java.lang.String> |
EXCEPTION_MESSAGE
The exception message (used on exception events).
|
static AttributeKey<java.lang.String> |
EXCEPTION_STACKTRACE
A string representing the stacktrace of an exception, as produced by
Throwable.printStackTrace() (used on exception events). |
static AttributeKey<java.lang.String> |
EXCEPTION_TYPE
The type of the exception, i.e., it's fully qualified name (used on exception events).
|
static AttributeKey<java.lang.Boolean> |
FAAS_COLDSTART
Indicates that the serverless function is executed for the first time (aka cold start).
|
static AttributeKey<java.lang.String> |
FAAS_CRON
For faas.trigger == time, a string containing the schedule period as Cron Expression.
|
static AttributeKey<java.lang.String> |
FAAS_DOCUMENT_COLLECTION
For faas.trigger == datasource, the name of the source on which the operation was perfomed.
|
static AttributeKey<java.lang.String> |
FAAS_DOCUMENT_NAME
For faas.trigger == datasource, the document name/table subjected to the operation.
|
static AttributeKey<java.lang.String> |
FAAS_DOCUMENT_OPERATION
For faas.trigger == datasource, describes the type of the operation that was performed on the
data.
|
static AttributeKey<java.lang.String> |
FAAS_DOCUMENT_TIME
For faas.trigger == datasource, a string containing the time when the data was accessed in the
ISO 8601 format expressed in UTC.
|
static AttributeKey<java.lang.String> |
FAAS_EXECUTION
String containing the execution id of the function.
|
static AttributeKey<java.lang.String> |
FAAS_INVOKED_NAME
The name of the invoked function.
|
static AttributeKey<java.lang.String> |
FAAS_INVOKED_PROVIDER
The cloud provider of the invoked function.
|
static AttributeKey<java.lang.String> |
FAAS_INVOKED_REGION
The cloud region of the invoked function.
|
static AttributeKey<java.lang.String> |
FAAS_TIME
For faas.trigger == time, a string containing the function invocation time in the ISO 8601
format expressed in UTC.
|
static AttributeKey<java.lang.String> |
FAAS_TRIGGER
Type of the trigger on which the function is executed.
|
static AttributeKey<java.lang.Long> |
GRPC_MESSAGE_COMPRESSED_SIZE
gRPC span event attribute for compressed size of a message.
|
static java.lang.String |
GRPC_MESSAGE_EVENT_NAME
The name of a gRPC span event to populate for each message sent / received.
|
static AttributeKey<java.lang.Long> |
GRPC_MESSAGE_ID
gRPC span event attribute starting from 1 for each of sent messages and received messages.
|
static AttributeKey<java.lang.String> |
GRPC_MESSAGE_TYPE
gRPC span event attribute with value "SENT" or "RECEIVED".
|
static AttributeKey<java.lang.Long> |
GRPC_MESSAGE_UNCOMPRESSED_SIZE
gRPC span event attribute for uncompressed size of a message.
|
static AttributeKey<java.lang.String> |
HBASE_NAMESPACE
For db.system == hbase, the namespace being accessed.
|
static AttributeKey<java.lang.String> |
HTTP_CLIENT_IP
The IP address of the original client behind all proxies, if known.
|
static AttributeKey<java.lang.String> |
HTTP_FLAVOR
Kind of HTTP protocol used: "1.0", "1.1", "2", "SPDY" or "QUIC".
|
static AttributeKey<java.lang.String> |
HTTP_HOST
The value of the HTTP host header.
|
static AttributeKey<java.lang.String> |
HTTP_METHOD
HTTP request method.
|
static AttributeKey<java.lang.Long> |
HTTP_REQUEST_CONTENT_LENGTH
The size of the request payload body, in bytes.
|
static AttributeKey<java.lang.Long> |
HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED
The size of the uncompressed request payload body, in bytes.
|
static AttributeKey<java.lang.Long> |
HTTP_RESPONSE_CONTENT_LENGTH
The size of the response payload body, in bytes.
|
static AttributeKey<java.lang.Long> |
HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED
The size of the uncompressed response payload body, in bytes.
|
static AttributeKey<java.lang.String> |
HTTP_ROUTE
The matched route (path template).
|
static AttributeKey<java.lang.String> |
HTTP_SCHEME
The URI scheme identifying the used protocol: "http" or "https".
|
static AttributeKey<java.lang.String> |
HTTP_SERVER_NAME
The primary server name of the matched virtual host.
|
static AttributeKey<java.lang.Long> |
HTTP_STATUS_CODE
HTTP response status code.
|
static AttributeKey<java.lang.String> |
HTTP_TARGET
The full request target as passed in a HTTP request line or equivalent.
|
static AttributeKey<java.lang.String> |
HTTP_URL
Full HTTP request URL in the form scheme://host[:port]/path?query[#fragment].
|
static AttributeKey<java.lang.String> |
HTTP_USER_AGENT
Value of the HTTP "User-Agent" header sent by the client.
|
static AttributeKey<java.lang.String> |
JDBC_DRIVER_CLASSNAME
For JDBC clients, the fully-qualified class name of the Java Database Connectivity (JDBC)
driver used to connect, e.g.
|
static AttributeKey<java.lang.String> |
MESSAGING_CONVERSATION_ID
A value identifying the conversation to which the message belongs, represented as a string.
|
static AttributeKey<java.lang.String> |
MESSAGING_DESTINATION
The message destination name, e.g.
|
static AttributeKey<java.lang.String> |
MESSAGING_DESTINATION_KIND
The kind of message destination.
|
static AttributeKey<java.lang.String> |
MESSAGING_MESSAGE_ID
A value used by the messaging system as an identifier for the message, represented as a string.
|
static AttributeKey<java.lang.Long> |
MESSAGING_MESSAGE_PAYLOAD_COMPRESSED_SIZE_BYTES
The compressed size of the message payload in bytes.
|
static AttributeKey<java.lang.Long> |
MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES
The (uncompressed) size of the message payload in bytes.
|
static AttributeKey<java.lang.String> |
MESSAGING_OPERATION
A string identifying which part and kind of message consumption this span describes: either
"receive" or "process".
|
static AttributeKey<java.lang.String> |
MESSAGING_PROTOCOL
The name of the transport protocol such as AMQP or MQTT.
|
static AttributeKey<java.lang.String> |
MESSAGING_PROTOCOL_VERSION
The version of the transport protocol such as 0.9.1.
|
static AttributeKey<java.lang.String> |
MESSAGING_SYSTEM
A string identifying the messaging system such as kafka, rabbitmq or activemq.
|
static AttributeKey<java.lang.Boolean> |
MESSAGING_TEMP_DESTINATION
A boolean that is true if the message destination is temporary.
|
static AttributeKey<java.lang.String> |
MESSAGING_URL
Connection string such as tibjmsnaming://localhost:7222 or
https://queue.amazonaws.com/80398EXAMPLE/MyQueue
|
static AttributeKey<java.lang.String> |
MONGODB_COLLECTION
For db.system == mongodb, the collection being accessed within the database stated in db.name
|
static AttributeKey<java.lang.String> |
MSSQL_SQL_SERVER
For db.system == mssql, the instance name connecting to.
|
static AttributeKey<java.lang.String> |
NET_HOST_IP
Like net.peer.ip but for the host IP.
|
static AttributeKey<java.lang.String> |
NET_HOST_NAME
Local hostname or similar.
|
static AttributeKey<java.lang.Long> |
NET_HOST_PORT
Like net.peer.port but for the host port.
|
static AttributeKey<java.lang.String> |
NET_PEER_IP
Remote address of the peer (dotted decimal for IPv4 or RFC5952 for IPv6).
|
static AttributeKey<java.lang.String> |
NET_PEER_NAME
Remote hostname or similar.
|
static AttributeKey<java.lang.Long> |
NET_PEER_PORT
Remote port number as an integer.
|
static AttributeKey<java.lang.String> |
NET_TRANSPORT
Transport protocol used.
|
static AttributeKey<java.lang.String> |
PEER_SERVICE
Logical name of a remote service.
|
static AttributeKey<java.lang.Long> |
REDIS_DATABASE_INDEX
For db.system == redis, the index of the database being accessed as used in the SELECT command,
provided as an integer.
|
static AttributeKey<java.lang.String> |
RPC_METHOD |
static AttributeKey<java.lang.String> |
RPC_SERVICE
The full name of the service being called, including its package name, if applicable.
|
static AttributeKey<java.lang.String> |
RPC_SYSTEM
A string identifying the remoting system, e.g., "grpc", "java_rmi" or "wcf".
|
static AttributeKey<java.lang.Long> |
THREAD_ID
Id of the thread that has started a span, as produced by
Thread.getId() . |
static AttributeKey<java.lang.String> |
THREAD_NAME
Name of the thread that has started a span, as produced by
Thread.getName() . |
public static final AttributeKey<java.lang.String> NET_TRANSPORT
public static final AttributeKey<java.lang.String> NET_PEER_IP
public static final AttributeKey<java.lang.Long> NET_PEER_PORT
public static final AttributeKey<java.lang.String> NET_PEER_NAME
public static final AttributeKey<java.lang.String> NET_HOST_IP
public static final AttributeKey<java.lang.Long> NET_HOST_PORT
public static final AttributeKey<java.lang.String> NET_HOST_NAME
public static final AttributeKey<java.lang.String> PEER_SERVICE
public static final AttributeKey<java.lang.String> ENDUSER_ID
public static final AttributeKey<java.lang.String> ENDUSER_ROLE
public static final AttributeKey<java.lang.String> ENDUSER_SCOPE
public static final AttributeKey<java.lang.String> HTTP_METHOD
public static final AttributeKey<java.lang.String> HTTP_URL
public static final AttributeKey<java.lang.String> HTTP_TARGET
public static final AttributeKey<java.lang.String> HTTP_HOST
public static final AttributeKey<java.lang.String> HTTP_SCHEME
public static final AttributeKey<java.lang.Long> HTTP_STATUS_CODE
public static final AttributeKey<java.lang.String> HTTP_FLAVOR
public static final AttributeKey<java.lang.String> HTTP_USER_AGENT
public static final AttributeKey<java.lang.String> HTTP_SERVER_NAME
public static final AttributeKey<java.lang.String> HTTP_ROUTE
public static final AttributeKey<java.lang.String> HTTP_CLIENT_IP
public static final AttributeKey<java.lang.Long> HTTP_REQUEST_CONTENT_LENGTH
public static final AttributeKey<java.lang.Long> HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED
public static final AttributeKey<java.lang.Long> HTTP_RESPONSE_CONTENT_LENGTH
public static final AttributeKey<java.lang.Long> HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED
public static final AttributeKey<java.lang.String> RPC_SYSTEM
public static final AttributeKey<java.lang.String> RPC_SERVICE
public static final AttributeKey<java.lang.String> RPC_METHOD
public static final java.lang.String GRPC_MESSAGE_EVENT_NAME
public static final AttributeKey<java.lang.String> GRPC_MESSAGE_TYPE
public static final AttributeKey<java.lang.Long> GRPC_MESSAGE_ID
public static final AttributeKey<java.lang.Long> GRPC_MESSAGE_COMPRESSED_SIZE
public static final AttributeKey<java.lang.Long> GRPC_MESSAGE_UNCOMPRESSED_SIZE
public static final AttributeKey<java.lang.String> DB_SYSTEM
public static final AttributeKey<java.lang.String> DB_NAME
public static final AttributeKey<java.lang.String> DB_CONNECTION_STRING
public static final AttributeKey<java.lang.String> DB_STATEMENT
public static final AttributeKey<java.lang.String> DB_OPERATION
public static final AttributeKey<java.lang.String> DB_USER
public static final AttributeKey<java.lang.String> MSSQL_SQL_SERVER
NET_PEER_PORT
is not required, but recommended
when connecting to a non-standard port.public static final AttributeKey<java.lang.String> JDBC_DRIVER_CLASSNAME
public static final AttributeKey<java.lang.String> CASSANDRA_KEYSPACE
public static final AttributeKey<java.lang.String> HBASE_NAMESPACE
public static final AttributeKey<java.lang.Long> REDIS_DATABASE_INDEX
public static final AttributeKey<java.lang.String> MONGODB_COLLECTION
public static final AttributeKey<java.lang.String> MESSAGING_SYSTEM
public static final AttributeKey<java.lang.String> MESSAGING_DESTINATION
public static final AttributeKey<java.lang.String> MESSAGING_DESTINATION_KIND
public static final AttributeKey<java.lang.Boolean> MESSAGING_TEMP_DESTINATION
public static final AttributeKey<java.lang.String> MESSAGING_PROTOCOL
public static final AttributeKey<java.lang.String> MESSAGING_PROTOCOL_VERSION
public static final AttributeKey<java.lang.String> MESSAGING_URL
public static final AttributeKey<java.lang.String> MESSAGING_MESSAGE_ID
public static final AttributeKey<java.lang.String> MESSAGING_CONVERSATION_ID
public static final AttributeKey<java.lang.Long> MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES
public static final AttributeKey<java.lang.Long> MESSAGING_MESSAGE_PAYLOAD_COMPRESSED_SIZE_BYTES
public static final AttributeKey<java.lang.String> MESSAGING_OPERATION
public static final java.lang.String EXCEPTION_EVENT_NAME
Typically an event with that name should not be manually created. Instead Span.recordException(Throwable)
should be used.
public static final AttributeKey<java.lang.String> EXCEPTION_TYPE
Typically this should not be manually set. Instead Span.recordException(Throwable)
should be used.
public static final AttributeKey<java.lang.String> EXCEPTION_MESSAGE
Typically this should not be manually set. Instead Span.recordException(Throwable)
should be used.
public static final AttributeKey<java.lang.String> EXCEPTION_STACKTRACE
Throwable.printStackTrace()
(used on exception events).
Typically this should not be manually set. Instead Span.recordException(Throwable)
should be used.
public static final AttributeKey<java.lang.Boolean> EXCEPTION_ESCAPED
true
if the exception is recorded at a point where it
is known that it is escaping the scope of the span (used on exception events).
This should usually be used as second argument to Span.recordException(Throwable, Attributes)
.
public static final AttributeKey<java.lang.Long> THREAD_ID
Thread.getId()
.public static final AttributeKey<java.lang.String> THREAD_NAME
Thread.getName()
.public static final AttributeKey<java.lang.String> FAAS_TRIGGER
public static final AttributeKey<java.lang.String> FAAS_EXECUTION
public static final AttributeKey<java.lang.Boolean> FAAS_COLDSTART
public static final AttributeKey<java.lang.String> FAAS_INVOKED_NAME
public static final AttributeKey<java.lang.String> FAAS_INVOKED_PROVIDER
public static final AttributeKey<java.lang.String> FAAS_INVOKED_REGION
public static final AttributeKey<java.lang.String> FAAS_DOCUMENT_COLLECTION
public static final AttributeKey<java.lang.String> FAAS_DOCUMENT_OPERATION
public static final AttributeKey<java.lang.String> FAAS_DOCUMENT_TIME
public static final AttributeKey<java.lang.String> FAAS_DOCUMENT_NAME
public static final AttributeKey<java.lang.String> FAAS_TIME
public static final AttributeKey<java.lang.String> FAAS_CRON