SemanticAttributes
Attributes
- Source
- SemanticAttributes.scala
- Graph
-
- Supertypes
- Self type
-
SemanticAttributes.type
Members list
Type members
Classlikes
Attributes
- Companion
- object
- Source
- SemanticAttributes.scala
- Supertypes
- Known subtypes
-
object All.typeobject Any.typeobject EachQuorum.typeobject LocalOne.typeobject LocalQuorum.typeobject LocalSerial.typeobject One.typeobject Quorum.typeobject Serial.typeobject Three.typeobject Two.typeShow all
Attributes
- Companion
- class
- Source
- SemanticAttributes.scala
- Supertypes
- Self type
Attributes
- Companion
- object
- Source
- SemanticAttributes.scala
- Supertypes
- Known subtypes
-
object Adabas.typeobject Cache.typeobject Cassandra.typeobject Clickhouse.typeobject Cloudscape.typeobject Cockroachdb.typeobject Coldfusion.typeobject Cosmosdb.typeobject Couchbase.typeobject Couchdb.typeobject Db2.typeobject Derby.typeobject Dynamodb.typeobject Edb.typeobject Elasticsearch.typeobject Filemaker.typeobject Firebird.typeobject Firstsql.typeobject Geode.typeobject H2.typeobject Hanadb.typeobject Hbase.typeobject Hive.typeobject Hsqldb.typeobject Informix.typeobject Ingres.typeobject Instantdb.typeobject Interbase.typeobject Mariadb.typeobject Maxdb.typeobject Memcached.typeobject Mongodb.typeobject Mssql.typeobject Mssqlcompact.typeobject Mysql.typeobject Neo4j.typeobject Netezza.typeobject Opensearch.typeobject Oracle.typeobject OtherSql.typeobject Pervasive.typeobject Pointbase.typeobject Postgresql.typeobject Progress.typeobject Redis.typeobject Redshift.typeobject Spanner.typeobject Sqlite.typeobject Sybase.typeobject Teradata.typeobject Vertica.typeShow all
Attributes
- Companion
- class
- Source
- SemanticAttributes.scala
- Supertypes
- Self type
-
DbSystemValue.type
Attributes
- Companion
- class
- Source
- SemanticAttributes.scala
- Supertypes
- Self type
-
EventDomainValue.type
Attributes
- Companion
- class
- Source
- SemanticAttributes.scala
- Supertypes
- Self type
Attributes
- Companion
- object
- Source
- SemanticAttributes.scala
- Supertypes
- Known subtypes
Attributes
- Companion
- class
- Source
- SemanticAttributes.scala
- Supertypes
- Self type
Attributes
- Companion
- object
- Source
- SemanticAttributes.scala
- Supertypes
- Known subtypes
Attributes
- Companion
- class
- Source
- SemanticAttributes.scala
- Supertypes
- Self type
-
FaasTriggerValue.type
Attributes
- Companion
- object
- Source
- SemanticAttributes.scala
- Supertypes
- Known subtypes
Attributes
- Companion
- class
- Source
- SemanticAttributes.scala
- Supertypes
- Self type
Attributes
- Companion
- class
- Source
- SemanticAttributes.scala
- Supertypes
- Self type
-
HttpFlavorValue.type
Attributes
- Companion
- object
- Source
- SemanticAttributes.scala
- Supertypes
- Known subtypes
Attributes
- Companion
- class
- Source
- SemanticAttributes.scala
- Supertypes
- Self type
-
MessageTypeValue.type
Attributes
- Companion
- object
- Source
- SemanticAttributes.scala
- Supertypes
- Known subtypes
Attributes
- Companion
- class
- Source
- SemanticAttributes.scala
- Supertypes
- Self type
Attributes
- Companion
- class
- Source
- SemanticAttributes.scala
- Supertypes
- Self type
Attributes
- Companion
- object
- Source
- SemanticAttributes.scala
- Supertypes
- Known subtypes
-
object Broadcasting.typeobject Clustering.type
Attributes
- Companion
- class
- Source
- SemanticAttributes.scala
- Supertypes
- Self type
Attributes
- Companion
- object
- Source
- SemanticAttributes.scala
- Supertypes
- Known subtypes
Attributes
- Companion
- class
- Source
- SemanticAttributes.scala
- Supertypes
- Self type
Attributes
- Companion
- object
- Source
- SemanticAttributes.scala
- Supertypes
- Known subtypes
Attributes
- Companion
- class
- Source
- SemanticAttributes.scala
- Supertypes
- Self type
Attributes
- Companion
- object
- Source
- SemanticAttributes.scala
- Supertypes
- Known subtypes
-
object Cdma.typeobject Cdma20001xrtt.typeobject Edge.typeobject Ehrpd.typeobject Evdo0.typeobject EvdoA.typeobject EvdoB.typeobject Gprs.typeobject Gsm.typeobject Hsdpa.typeobject Hspa.typeobject Hspap.typeobject Hsupa.typeobject Iden.typeobject Iwlan.typeobject Lte.typeobject LteCa.typeobject Nr.typeobject Nrnsa.typeobject TdScdma.typeobject Umts.typeShow all
Attributes
- Companion
- class
- Source
- SemanticAttributes.scala
- Supertypes
- Self type
Attributes
- Companion
- object
- Source
- SemanticAttributes.scala
- Supertypes
- Known subtypes
Attributes
- Companion
- class
- Source
- SemanticAttributes.scala
- Supertypes
- Self type
Attributes
- Companion
- class
- Source
- SemanticAttributes.scala
- Supertypes
- Self type
-
NetSockFamilyValue.type
Attributes
- Companion
- class
- Source
- SemanticAttributes.scala
- Supertypes
- Self type
-
NetTransportValue.type
Attributes
- Companion
- object
- Source
- SemanticAttributes.scala
- Supertypes
- Known subtypes
-
object ChildOf.typeobject FollowsFrom.type
Attributes
- Companion
- class
- Source
- SemanticAttributes.scala
- Supertypes
- Self type
Attributes
- Companion
- object
- Source
- SemanticAttributes.scala
- Supertypes
- Known subtypes
Attributes
- Companion
- class
- Source
- SemanticAttributes.scala
- Supertypes
- Self type
-
OtelStatusCodeValue.type
Attributes
- Companion
- object
- Source
- SemanticAttributes.scala
- Supertypes
- Known subtypes
-
object Aborted.typeobject AlreadyExists.typeobject Cancelled.typeobject DataLoss.typeobject DeadlineExceeded.typeobject FailedPrecondition.typeobject Internal.typeobject InvalidArgument.typeobject NotFound.typeobject OutOfRange.typeobject PermissionDenied.typeobject ResourceExhausted.typeobject Unauthenticated.typeobject Unavailable.typeobject Unimplemented.typeobject Unknown.typeShow all
Attributes
- Companion
- class
- Source
- SemanticAttributes.scala
- Supertypes
- Self type
Attributes
- Companion
- object
- Source
- SemanticAttributes.scala
- Supertypes
- Known subtypes
-
object Aborted.typeobject AlreadyExists.typeobject Cancelled.typeobject DataLoss.typeobject DeadlineExceeded.typeobject FailedPrecondition.typeobject Internal.typeobject InvalidArgument.typeobject NotFound.typeobject Ok.typeobject OutOfRange.typeobject PermissionDenied.typeobject ResourceExhausted.typeobject Unauthenticated.typeobject Unavailable.typeobject Unimplemented.typeobject Unknown.typeShow all
Attributes
- Companion
- class
- Source
- SemanticAttributes.scala
- Supertypes
- Self type
Attributes
- Companion
- object
- Source
- SemanticAttributes.scala
- Supertypes
- Known subtypes
-
object ApacheDubbo.typeobject ConnectRpc.typeobject DotnetWcf.typeobject Grpc.typeobject JavaRmi.type
Attributes
- Companion
- class
- Source
- SemanticAttributes.scala
- Supertypes
- Self type
-
RpcSystemValue.type
Value members
Concrete fields
The JSON-serialized value of each item in the AttributeDefinitions
request field.
The JSON-serialized value of each item in the AttributeDefinitions
request field.
Attributes
- Source
- SemanticAttributes.scala
The value of the AttributesToGet
request parameter.
The value of the ConsistentRead
request parameter.
The JSON-serialized value of each item in the ConsumedCapacity
response field.
The JSON-serialized value of each item in the ConsumedCapacity
response field.
Attributes
- Source
- SemanticAttributes.scala
The value of the Count
response parameter.
The value of the ExclusiveStartTableName
request parameter.
The value of the ExclusiveStartTableName
request parameter.
Attributes
- Source
- SemanticAttributes.scala
The JSON-serialized value of each item in the the GlobalSecondaryIndexUpdates
request field.
The JSON-serialized value of each item in the the GlobalSecondaryIndexUpdates
request field.
Attributes
- Source
- SemanticAttributes.scala
The JSON-serialized value of each item of the GlobalSecondaryIndexes
request field
The JSON-serialized value of each item of the GlobalSecondaryIndexes
request field
Attributes
- Source
- SemanticAttributes.scala
The value of the IndexName
request parameter.
The JSON-serialized value of the ItemCollectionMetrics
response field.
The JSON-serialized value of the ItemCollectionMetrics
response field.
Attributes
- Source
- SemanticAttributes.scala
The value of the Limit
request parameter.
The JSON-serialized value of each item of the LocalSecondaryIndexes
request field.
The JSON-serialized value of each item of the LocalSecondaryIndexes
request field.
Attributes
- Source
- SemanticAttributes.scala
The value of the ProjectionExpression
request parameter.
The value of the ProvisionedThroughput.ReadCapacityUnits
request parameter.
The value of the ProvisionedThroughput.ReadCapacityUnits
request parameter.
Attributes
- Source
- SemanticAttributes.scala
The value of the ProvisionedThroughput.WriteCapacityUnits
request parameter.
The value of the ProvisionedThroughput.WriteCapacityUnits
request parameter.
Attributes
- Source
- SemanticAttributes.scala
The value of the ScanIndexForward
request parameter.
The value of the ScannedCount
response parameter.
The value of the Segment
request parameter.
The value of the Select
request parameter.
The the number of items in the TableNames
response parameter.
The the number of items in the TableNames
response parameter.
Attributes
- Source
- SemanticAttributes.scala
The keys in the RequestItems
object field.
The value of the TotalSegments
request parameter.
The full invoked ARN as provided on the Context
passed to the function (Lambda-Runtime-Invoked-Function-Arn
header on the /runtime/invocation/next
applicable).
The full invoked ARN as provided on the Context
passed to the function (Lambda-Runtime-Invoked-Function-Arn
header on the /runtime/invocation/next
applicable).
Notes: - This may be different from cloud.resource_id
if an alias is involved.
Attributes
- Source
- SemanticAttributes.scala
The <a href="https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#id">event_id uniquely identifies the event.
The <a href="https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#id">event_id uniquely identifies the event.
Attributes
- Source
- SemanticAttributes.scala
The <a href="https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#source-1">source identifies the context in which an event happened.
The <a href="https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#source-1">source identifies the context in which an event happened.
Attributes
- Source
- SemanticAttributes.scala
The <a href="https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#specversion">version of the CloudEvents specification which the event uses.
The <a href="https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#specversion">version of the CloudEvents specification which the event uses.
Attributes
- Source
- SemanticAttributes.scala
The <a href="https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#subject">subject of the event in the context of the event producer (identified by source).
The <a href="https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#subject">subject of the event in the context of the event producer (identified by source).
Attributes
- Source
- SemanticAttributes.scala
The <a href="https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#type">event_type contains a value describing the type of event related to the originating occurrence.
The <a href="https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#type">event_type contains a value describing the type of event related to the originating occurrence.
Attributes
- Source
- SemanticAttributes.scala
The column number in code.filepath
best representing the operation.
The column number in code.filepath
best representing the operation. It SHOULD point within the code unit named in code.function
.
Attributes
- Source
- SemanticAttributes.scala
The source code file name that identifies the code unit as uniquely as possible (preferably an absolute file path).
The source code file name that identifies the code unit as uniquely as possible (preferably an absolute file path).
Attributes
- Source
- SemanticAttributes.scala
The method or function name, or equivalent (usually rightmost part of the code unit's name).
The method or function name, or equivalent (usually rightmost part of the code unit's name).
Attributes
- Source
- SemanticAttributes.scala
The line number in code.filepath
best representing the operation.
The line number in code.filepath
best representing the operation. It SHOULD point within the code unit named in code.function
.
Attributes
- Source
- SemanticAttributes.scala
The "namespace" within which code.function
is defined.
The "namespace" within which code.function
is defined. Usually the qualified class or module name, such that code.namespace
+ some separator + code.function
form a unique identifier for the code unit.
Attributes
- Source
- SemanticAttributes.scala
The consistency level of the query.
The consistency level of the query. Based on consistency values from <a href="https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html">CQL.
Attributes
- Source
- SemanticAttributes.scala
The data center of the coordinating node for a query.
The ID of the coordinating node for a query.
Whether or not the query is idempotent.
The fetch size used for paging, i.e.
The fetch size used for paging, i.e. how many rows will be returned at once.
Attributes
- Source
- SemanticAttributes.scala
The number of times a query was speculatively executed.
The number of times a query was speculatively executed. Not set or 0
if the query was not executed speculatively.
Attributes
- Source
- SemanticAttributes.scala
The name of the primary table that the operation is acting upon, including the keyspace name (if applicable).
The name of the primary table that the operation is acting upon, including the keyspace name (if applicable).
Notes: - This mirrors the db.sql.table attribute but references cassandra rather than sql. It is not recommended to attempt any client-side parsing of db.statement
just to get this property, but it should be set if it is provided by the library being instrumented. If the operation is acting upon an anonymous table, or more than one table, this value MUST NOT be set.
Attributes
- Source
- SemanticAttributes.scala
The connection string used to connect to the database.
The connection string used to connect to the database. It is recommended to remove embedded credentials.
Attributes
- Source
- SemanticAttributes.scala
The fully-qualified class name of the <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/jdbc/">Java Database Connectivity (JDBC) driver used to connect.
The fully-qualified class name of the <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/jdbc/">Java Database Connectivity (JDBC) driver used to connect.
Attributes
- Source
- SemanticAttributes.scala
The collection being accessed within the database stated in db.name
.
The collection being accessed within the database stated in db.name
.
Attributes
- Source
- SemanticAttributes.scala
The Microsoft SQL Server <a href="https://docs.microsoft.com/en-us/sql/connect/jdbc/building-the-connection-url?view=sql-server-ver15">instance name connecting to. This name is used to determine the port of a named instance. Notes: - If setting a db.mssql.instance_name
, net.peer.port
is no longer required (but still recommended if non-standard).
The Microsoft SQL Server <a href="https://docs.microsoft.com/en-us/sql/connect/jdbc/building-the-connection-url?view=sql-server-ver15">instance name connecting to. This name is used to determine the port of a named instance. Notes: - If setting a db.mssql.instance_name
, net.peer.port
is no longer required (but still recommended if non-standard).
Attributes
- Source
- SemanticAttributes.scala
This attribute is used to report the name of the database being accessed.
This attribute is used to report the name of the database being accessed. For commands that switch the database, this should be set to the target database (even if the command fails).
Notes: - In some SQL databases, the database name to be used is called "schema name". In case there are multiple layers that could be considered for database name (e.g. Oracle instance name and schema name), the database name to be used is the more specific layer (e.g. Oracle schema name).
Attributes
- Source
- SemanticAttributes.scala
The name of the operation being executed, e.g.
The name of the operation being executed, e.g. the <a href="https://docs.mongodb.com/manual/reference/command/#database-operations">MongoDB command name such as findAndModify
, or the SQL keyword. Notes: - When setting this to an SQL keyword, it is not recommended to attempt any client-side parsing of db.statement
just to get this property, but it should be set if the operation name is provided by the library being instrumented. If the SQL statement has an ambiguous operation, or performs more than one operation, this value may be omitted.
Attributes
- Source
- SemanticAttributes.scala
The index of the database being accessed as used in the <a href="https://redis.io/commands/select">SELECT
command, provided as an integer. To be used instead of the generic db.name
attribute.
The index of the database being accessed as used in the <a href="https://redis.io/commands/select">SELECT
command, provided as an integer. To be used instead of the generic db.name
attribute.
Attributes
- Source
- SemanticAttributes.scala
The name of the primary table that the operation is acting upon, including the database name (if applicable).
The name of the primary table that the operation is acting upon, including the database name (if applicable).
Notes: - It is not recommended to attempt any client-side parsing of db.statement
just to get this property, but it should be set if it is provided by the library being instrumented. If the operation is acting upon an anonymous table, or more than one table, this value MUST NOT be set.
Attributes
- Source
- SemanticAttributes.scala
The database statement being executed.
The database statement being executed.
Notes: - The value may be sanitized to exclude sensitive information.
Attributes
- Source
- SemanticAttributes.scala
An identifier for the database management system (DBMS) product being used.
An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers.
Attributes
- Source
- SemanticAttributes.scala
Username for accessing the database.
Username or client_id extracted from the access token or <a href="https://tools.ietf.org/html/rfc7235#section-4.2">Authorization header in the inbound request from outside the system.
Username or client_id extracted from the access token or <a href="https://tools.ietf.org/html/rfc7235#section-4.2">Authorization header in the inbound request from outside the system.
Attributes
- Source
- SemanticAttributes.scala
Actual/assumed role the client is making the request under extracted from token or application security context.
Actual/assumed role the client is making the request under extracted from token or application security context.
Attributes
- Source
- SemanticAttributes.scala
Scopes or granted authorities the client currently possesses extracted from token or application security context.
Scopes or granted authorities the client currently possesses extracted from token or application security context. The value would come from the scope associated with an <a href="https://tools.ietf.org/html/rfc6749#section-3.3">OAuth 2.0 Access Token or an attribute value in a SAML 2.0 Assertion.
Attributes
- Source
- SemanticAttributes.scala
The domain identifies the business context for the events.
The domain identifies the business context for the events.
Notes: - Events across different domains may have same event.name
, yet be unrelated events.
Attributes
- Source
- SemanticAttributes.scala
The name identifies the event.
SHOULD be set to true if the exception event is recorded at a point where it is known that the exception is escaping the scope of the span.
SHOULD be set to true if the exception event is recorded at a point where it is known that the exception is escaping the scope of the span.
Notes: - An exception is considered to have escaped (or left) the scope of a span, if that span is ended while the exception is still logically "in flight". This may be actually "in flight" in some languages (e.g. if the exception is passed to a Context manager's __exit__
method in Python) but will usually be caught at the point of recording the exception in most languages. - It is usually not possible to determine at the point where an exception is thrown whether it will escape the scope of a span. However, it is trivial to know that an exception will escape, if one checks for an active exception just before ending the span, as done in the example above. - It follows that an exception may still escape the scope of the span even if the exception.escaped
attribute was not set or set to false, since the event might have been recorded at a time where it was not clear whether the exception will escape.
Attributes
- Source
- SemanticAttributes.scala
The name of an event describing an exception.
The name of an event describing an exception.
Typically an event with that name should not be manually created. Instead {@see org.typelevel.otel4s.trace.Span#recordException(Throwable)} should be used.
Attributes
- Source
- SemanticAttributes.scala
The exception message.
A stacktrace as a string in the natural representation for the language runtime.
A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG.
Attributes
- Source
- SemanticAttributes.scala
The type of the exception (its fully-qualified class name, if applicable).
The type of the exception (its fully-qualified class name, if applicable). The dynamic type of the exception should be preferred over the static type in languages that support it.
Attributes
- Source
- SemanticAttributes.scala
A boolean that is true if the serverless function is executed for the first time (aka cold-start).
A boolean that is true if the serverless function is executed for the first time (aka cold-start).
Attributes
- Source
- SemanticAttributes.scala
A string containing the schedule period as <a href="https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm">Cron Expression.
A string containing the schedule period as <a href="https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm">Cron Expression.
Attributes
- Source
- SemanticAttributes.scala
The name of the source on which the triggering operation was performed.
The name of the source on which the triggering operation was performed. For example, in Cloud Storage or S3 corresponds to the bucket name, and in Cosmos DB to the database name.
Attributes
- Source
- SemanticAttributes.scala
The document name/table subjected to the operation.
The document name/table subjected to the operation. For example, in Cloud Storage or S3 is the name of the file, and in Cosmos DB the table name.
Attributes
- Source
- SemanticAttributes.scala
Describes the type of the operation that was performed on the data.
Describes the type of the operation that was performed on the data.
Attributes
- Source
- SemanticAttributes.scala
A string containing the time when the data was accessed in the <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601 format expressed in UTC.
A string containing the time when the data was accessed in the <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601 format expressed in UTC.
Attributes
- Source
- SemanticAttributes.scala
The invocation ID of the current function invocation.
The name of the invoked function.
The name of the invoked function.
Notes: - SHOULD be equal to the faas.name
resource attribute of the invoked function.
Attributes
- Source
- SemanticAttributes.scala
The cloud provider of the invoked function.
The cloud provider of the invoked function.
Notes: - SHOULD be equal to the cloud.provider
resource attribute of the invoked function.
Attributes
- Source
- SemanticAttributes.scala
The cloud region of the invoked function.
The cloud region of the invoked function.
Notes: - SHOULD be equal to the cloud.region
resource attribute of the invoked function.
Attributes
- Source
- SemanticAttributes.scala
A string containing the function invocation time in the <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601 format expressed in UTC.
A string containing the function invocation time in the <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601 format expressed in UTC.
Attributes
- Source
- SemanticAttributes.scala
Type of the trigger which caused this function invocation.
Type of the trigger which caused this function invocation.
Notes: - For the server/consumer span on the incoming side, faas.trigger
MUST be set. - Clients invoking FaaS instances usually cannot set faas.trigger
, since they would typically need to look in the payload to determine the event type. If clients set it, it should be the same as the trigger that corresponding incoming would have (i.e., this has nothing to do with the underlying transport used to make the API call to invoke the lambda, which is often HTTP).
Attributes
- Source
- SemanticAttributes.scala
The unique identifier of the feature flag.
The name of the service provider that performs the flag evaluation.
The name of the service provider that performs the flag evaluation.
Attributes
- Source
- SemanticAttributes.scala
SHOULD be a semantic identifier for a value.
SHOULD be a semantic identifier for a value. If one is unavailable, a stringified version of the value can be used.
Notes: - A semantic identifier, commonly referred to as a variant, provides a means for referring to a value without including the value itself. This can provide additional context for understanding the meaning behind a value. For example, the variant red
maybe be used for the value #c05543
. - A stringified version of the value can be used in situations where a semantic identifier is unavailable. String representation of the value should be determined by the implementer.
Attributes
- Source
- SemanticAttributes.scala
The GraphQL document being executed.
The GraphQL document being executed.
Notes: - The value may be sanitized to exclude sensitive information.
Attributes
- Source
- SemanticAttributes.scala
The name of the operation being executed.
The type of the operation being executed.
The IP address of the original client behind all proxies, if known (e.g.
The IP address of the original client behind all proxies, if known (e.g. from <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For">X-Forwarded-For). Notes: - This is not necessarily the same as net.sock.peer.addr
, which would identify the network-level peer, which may be a proxy. - This attribute should be set when a source of information different from the one used for net.sock.peer.addr
, is available even if that other source just confirms the same value as net.sock.peer.addr
. Rationale: For net.sock.peer.addr
, one typically does not know if it comes from a proxy, reverse proxy, or the actual client. Setting http.client_ip
when it's the same as net.sock.peer.addr
means that one is at least somewhat confident that the address is not that of the closest proxy.
Attributes
- Source
- SemanticAttributes.scala
Kind of HTTP protocol used.
HTTP request method.
The size of the request payload body in bytes.
The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the <a href="https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length">Content-Length header. For requests using transport encoding, this should be the compressed size.
Attributes
- Source
- SemanticAttributes.scala
The ordinal number of request resending attempt (for any reason, including redirects).
The ordinal number of request resending attempt (for any reason, including redirects).
Notes: - The resend count SHOULD be updated each time an HTTP request gets resent by the client, regardless of what was the cause of the resending (e.g. redirection, authorization failure, 503 Server Unavailable, network issues, or any other).
Attributes
- Source
- SemanticAttributes.scala
The size of the response payload body in bytes.
The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the <a href="https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length">Content-Length header. For requests using transport encoding, this should be the compressed size.
Attributes
- Source
- SemanticAttributes.scala
The matched route (path template in the format used by the respective server framework).
The matched route (path template in the format used by the respective server framework). See note below
Notes: - MUST NOT be populated when this is not supported by the HTTP server framework as the route attribute should have low-cardinality and the URI path can NOT substitute it. SHOULD include the <a href="/specification/trace/semantic_conventions/http.md#http-server-definitions">application root if there is one.
Attributes
- Source
- SemanticAttributes.scala
The URI scheme identifying the used protocol.
The full request target as passed in a HTTP request line or equivalent.
The full request target as passed in a HTTP request line or equivalent.
Attributes
- Source
- SemanticAttributes.scala
Full HTTP request URL in the form scheme://host[:port]/path?query[#fragment]
.
Full HTTP request URL in the form scheme://host[:port]/path?query[#fragment]
. Usually the fragment is not transmitted over HTTP, but if it is known, it should be included nevertheless.
Notes: - http.url
MUST NOT contain credentials passed via URL in form of https://username:[email protected]/
. In such case the attribute's value should be https://www.example.com/
.
Attributes
- Source
- SemanticAttributes.scala
Compressed size of the message in bytes.
MUST be calculated as two different counters starting from 1
one for sent messages and one for received message.
MUST be calculated as two different counters starting from 1
one for sent messages and one for received message.
Notes: - This way we guarantee that the values will be consistent between different implementations.
Attributes
- Source
- SemanticAttributes.scala
Whether this is a received or sent message.
Uncompressed size of the message in bytes.
The number of messages sent, received, or processed in the scope of the batching operation.
The number of messages sent, received, or processed in the scope of the batching operation.
Notes: - Instrumentations SHOULD NOT set messaging.batch.message_count
on spans that operate with a single message. When a messaging client library supports both batch and single-message API for the same operation, instrumentations SHOULD use messaging.batch.message_count
for batching APIs and SHOULD NOT use it for single-message APIs.
Attributes
- Source
- SemanticAttributes.scala
The identifier for the consumer receiving a message.
The identifier for the consumer receiving a message. For Kafka, set it to {messaging.kafka.consumer.group
- {messaging.kafka.client_id}}, if both are present, or only messaging.kafka.consumer.group
. For brokers, such as RabbitMQ and Artemis, set it to the client_id
of the client consuming the message.
Attributes
- Source
- SemanticAttributes.scala
A boolean that is true if the message destination is anonymous (could be unnamed or have auto-generated name).
A boolean that is true if the message destination is anonymous (could be unnamed or have auto-generated name).
Attributes
- Source
- SemanticAttributes.scala
The kind of message destination
The message destination name
The message destination name
Notes: - Destination name SHOULD uniquely identify a specific queue, topic or other entity within the broker. If the broker does not have such notion, the destination name SHOULD uniquely identify the broker.
Attributes
- Source
- SemanticAttributes.scala
Low cardinality representation of the messaging destination name
Low cardinality representation of the messaging destination name
Notes: - Destination names could be constructed from templates. An example would be a destination name involving a user name or product id. Although the destination name in this case is of high cardinality, the underlying template is of low cardinality and can be effectively used for grouping and aggregation.
Attributes
- Source
- SemanticAttributes.scala
A boolean that is true if the message destination is temporary and might not exist anymore after messages are processed.
A boolean that is true if the message destination is temporary and might not exist anymore after messages are processed.
Attributes
- Source
- SemanticAttributes.scala
Client Id for the Consumer or Producer that is handling the message.
Client Id for the Consumer or Producer that is handling the message.
Attributes
- Source
- SemanticAttributes.scala
Name of the Kafka Consumer Group that is handling the message.
Name of the Kafka Consumer Group that is handling the message. Only applies to consumers, not producers.
Attributes
- Source
- SemanticAttributes.scala
Partition the message is sent to.
Message keys in Kafka are used for grouping alike messages to ensure they're processed on the same partition.
Message keys in Kafka are used for grouping alike messages to ensure they're processed on the same partition. They differ from messaging.message.id
in that they're not unique. If the key is null
, the attribute MUST NOT be set.
Notes: - If the key type is not string, it's string representation has to be supplied for the attribute. If the key has no unambiguous, canonical string form, don't include its value.
Attributes
- Source
- SemanticAttributes.scala
The offset of a record in the corresponding Kafka partition.
The offset of a record in the corresponding Kafka partition.
Attributes
- Source
- SemanticAttributes.scala
A boolean that is true if the message is a tombstone.
Partition the message is received from.
The conversation ID identifying the conversation to which the message belongs, represented as a string.
The conversation ID identifying the conversation to which the message belongs, represented as a string. Sometimes called "Correlation ID".
Attributes
- Source
- SemanticAttributes.scala
A value used by the messaging system as an identifier for the message, represented as a string.
A value used by the messaging system as an identifier for the message, represented as a string.
Attributes
- Source
- SemanticAttributes.scala
The compressed size of the message payload in bytes.
The (uncompressed) size of the message payload in bytes.
The (uncompressed) size of the message payload in bytes. Also use this attribute if it is unknown whether the compressed or uncompressed payload size is reported.
Attributes
- Source
- SemanticAttributes.scala
A string identifying the kind of messaging operation as defined in the <a href="#operation-names">Operation names section above. Notes: - If a custom value is used, it MUST be of low cardinality.
A string identifying the kind of messaging operation as defined in the <a href="#operation-names">Operation names section above. Notes: - If a custom value is used, it MUST be of low cardinality.
Attributes
- Source
- SemanticAttributes.scala
RabbitMQ message routing key.
Name of the RocketMQ producer/consumer group that is handling the message.
Name of the RocketMQ producer/consumer group that is handling the message. The client type is identified by the SpanKind.
Attributes
- Source
- SemanticAttributes.scala
The unique identifier for each client.
Model of message consumption.
Model of message consumption. This only applies to consumer spans.
Attributes
- Source
- SemanticAttributes.scala
The delay time level for delay message, which determines the message delay time.
The delay time level for delay message, which determines the message delay time.
Attributes
- Source
- SemanticAttributes.scala
The timestamp in milliseconds that the delay message is expected to be delivered to consumer.
The timestamp in milliseconds that the delay message is expected to be delivered to consumer.
Attributes
- Source
- SemanticAttributes.scala
It is essential for FIFO message.
It is essential for FIFO message. Messages that belong to the same message group are always processed one by one within the same consumer group.
Attributes
- Source
- SemanticAttributes.scala
Key(s) of message, another way to mark message besides message id.
Key(s) of message, another way to mark message besides message id.
Attributes
- Source
- SemanticAttributes.scala
The secondary classifier of message besides topic.
Type of message.
Namespace of RocketMQ resources, resources in different namespaces are individual.
Namespace of RocketMQ resources, resources in different namespaces are individual.
Attributes
- Source
- SemanticAttributes.scala
A boolean that is true if the message source is anonymous (could be unnamed or have auto-generated name).
A boolean that is true if the message source is anonymous (could be unnamed or have auto-generated name).
Attributes
- Source
- SemanticAttributes.scala
The kind of message source
The message source name
The message source name
Notes: - Source name SHOULD uniquely identify a specific queue, topic, or other entity within the broker. If the broker does not have such notion, the source name SHOULD uniquely identify the broker.
Attributes
- Source
- SemanticAttributes.scala
Low cardinality representation of the messaging source name
Low cardinality representation of the messaging source name
Notes: - Source names could be constructed from templates. An example would be a source name involving a user name or product id. Although the source name in this case is of high cardinality, the underlying template is of low cardinality and can be effectively used for grouping and aggregation.
Attributes
- Source
- SemanticAttributes.scala
A boolean that is true if the message source is temporary and might not exist anymore after messages are processed.
A boolean that is true if the message source is temporary and might not exist anymore after messages are processed.
Attributes
- Source
- SemanticAttributes.scala
A string identifying the messaging system.
Application layer protocol used.
Application layer protocol used. The value SHOULD be normalized to lowercase.
Attributes
- Source
- SemanticAttributes.scala
Version of the application layer protocol used.
Version of the application layer protocol used. See note below.
Notes: - net.app.protocol.version
refers to the version of the protocol used and might be different from the protocol client's version. If the HTTP client used has a version of 0.27.2
, but sends HTTP version 1.1
, this attribute should be set to 1.1
.
Attributes
- Source
- SemanticAttributes.scala
The ISO 3166-1 alpha-2 2-character country code associated with the mobile carrier network.
The ISO 3166-1 alpha-2 2-character country code associated with the mobile carrier network.
Attributes
- Source
- SemanticAttributes.scala
The mobile carrier country code.
The mobile carrier network code.
The name of the mobile carrier.
This describes more details regarding the connection.type.
This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection.
Attributes
- Source
- SemanticAttributes.scala
The internet connection type currently being used by the host.
The internet connection type currently being used by the host.
Attributes
- Source
- SemanticAttributes.scala
Logical local hostname or similar, see note below.
Logical local port number, preferably the one that the peer used to connect
Logical local port number, preferably the one that the peer used to connect
Attributes
- Source
- SemanticAttributes.scala
Logical remote hostname, see note below.
Logical remote hostname, see note below.
Notes: - net.peer.name
SHOULD NOT be set if capturing it would require an extra DNS lookup.
Attributes
- Source
- SemanticAttributes.scala
Logical remote port number
Protocol <a href="https://man7.org/linux/man-pages/man7/address_families.7.html">address family which is used for communication.
Protocol <a href="https://man7.org/linux/man-pages/man7/address_families.7.html">address family which is used for communication.
Attributes
- Source
- SemanticAttributes.scala
Local socket address.
Local socket port number.
Remote socket peer address: IPv4 or IPv6 for internet protocols, path for local communication, <a href="https://man7.org/linux/man-pages/man7/address_families.7.html">etc.
Remote socket peer address: IPv4 or IPv6 for internet protocols, path for local communication, <a href="https://man7.org/linux/man-pages/man7/address_families.7.html">etc.
Attributes
- Source
- SemanticAttributes.scala
Remote socket peer name.
Remote socket peer port.
Transport protocol used.
Parent-child Reference type
Parent-child Reference type
Notes: - The causal relationship between a child Span and a parent Span.
Attributes
- Source
- SemanticAttributes.scala
Name of the code, either "OK" or "ERROR".
Name of the code, either "OK" or "ERROR". MUST NOT be set if the status code is UNSET.
Attributes
- Source
- SemanticAttributes.scala
Description of the Status if it has a value, otherwise not set.
Description of the Status if it has a value, otherwise not set.
Attributes
- Source
- SemanticAttributes.scala
The service.name
of the remote service.
The service.name
of the remote service. SHOULD be equal to the actual service.name
resource attribute of the remote service if any.
Attributes
- Source
- SemanticAttributes.scala
The error codes of the Connect request.
The error codes of the Connect request. Error codes are always string values.
Attributes
- Source
- SemanticAttributes.scala
The <a href="https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md">numeric status code of the gRPC request.
The <a href="https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md">numeric status code of the gRPC request.
Attributes
- Source
- SemanticAttributes.scala
error.code
property of response if it is an error response.
error.code
property of response if it is an error response.
Attributes
- Source
- SemanticAttributes.scala
error.message
property of response if it is an error response.
error.message
property of response if it is an error response.
Attributes
- Source
- SemanticAttributes.scala
id
property of request or response.
id
property of request or response. Since protocol allows id to be int, string, null
or missing (for notifications), value is expected to be cast to string for simplicity. Use empty string in case of null
value. Omit entirely if this is a notification.
Attributes
- Source
- SemanticAttributes.scala
Protocol version as in jsonrpc
property of request/response.
Protocol version as in jsonrpc
property of request/response. Since JSON-RPC 1.0 does not specify this, the value can be omitted.
Attributes
- Source
- SemanticAttributes.scala
The name of the (logical) method being called, must be equal to the method part in the span name.
The name of the (logical) method being called, must be equal to the method part in the span name.
Notes: - This is the logical name of the method from the RPC interface perspective, which can be different from the name of any implementing method/function. The code.function
attribute may be used to store the latter (e.g., method actually executing the call on the server side, RPC client stub method on the client side).
Attributes
- Source
- SemanticAttributes.scala
The full (logical) name of the service being called, including its package name, if applicable.
The full (logical) name of the service being called, including its package name, if applicable.
Notes: - This is the logical name of the service from the RPC interface perspective, which can be different from the name of any implementing class. The code.namespace
attribute may be used to store the latter (despite the attribute name, it may include a class name; e.g., class with method actually executing the call on the server side, RPC client stub class on the client side).
Attributes
- Source
- SemanticAttributes.scala
A string identifying the remoting system.
A string identifying the remoting system. See below for a list of well-known identifiers.
Attributes
- Source
- SemanticAttributes.scala
The URL of the OpenTelemetry schema for these keys and values.
The URL of the OpenTelemetry schema for these keys and values.
Attributes
- Source
- SemanticAttributes.scala
Current "managed" thread ID (as opposed to OS thread ID).
Current "managed" thread ID (as opposed to OS thread ID).
Attributes
- Source
- SemanticAttributes.scala
Current thread name.
Value of the <a href="https://www.rfc-editor.org/rfc/rfc9110.html#field.user-agent">HTTP User-Agent header sent by the client.
Value of the <a href="https://www.rfc-editor.org/rfc/rfc9110.html#field.user-agent">HTTP User-Agent header sent by the client.
Attributes
- Source
- SemanticAttributes.scala
Deprecated fields
The name of the keyspace being accessed.
The name of the keyspace being accessed.
Attributes
- Deprecated
-
this item has been removed as of 1.8.0 of the semantic conventions. Please use
SemanticAttributes#DbName
instead. - Source
- SemanticAttributes.scala
The HBase namespace being accessed.
The HBase namespace being accessed.
Attributes
- Deprecated
-
this item has been removed as of 1.8.0 of the semantic conventions. Please use
SemanticAttributes#DbName
instead. - Source
- SemanticAttributes.scala
The execution ID of the current function execution.
The execution ID of the current function execution.
Attributes
- Deprecated
-
This item has been renamed in 1.19.0 version of the semantic conventions. Use
SemanticAttributes#FaasInvocationId
instead. - Source
- SemanticAttributes.scala
Attributes
- Deprecated
-
This item has been removed as of 1.13.0 of the semantic conventions. Please use
SemanticAttributes#NetHostName
instead. - Source
- SemanticAttributes.scala
The size of the uncompressed request payload body after transport decoding.
The size of the uncompressed request payload body after transport decoding. Not set if transport encoding not used.
Attributes
- Deprecated
-
this item has been removed as of 1.13.0 of the semantic conventions. Please use
SemanticAttributes#HttpRequestContentLength
instead. - Source
- SemanticAttributes.scala
Attributes
- Deprecated
-
This item has been removed as of 1.13.0 of the semantic conventions. Please use
SemanticAttributes#HttpResponseContentLength
instead. - Source
- SemanticAttributes.scala
The ordinal number of request re-sending attempt.
The ordinal number of request re-sending attempt.
Attributes
- Deprecated
-
This item has been removed as of 1.15.0 of the semantic conventions. Use
SemanticAttributes#HttpResendCount
instead. - Source
- SemanticAttributes.scala
Attributes
- Deprecated
-
This item has been removed as of 1.13.0 of the semantic conventions. Please use
SemanticAttributes#NetHostName
instead. - Source
- SemanticAttributes.scala
Value of the <a href="https://www.rfc-editor.org/rfc/rfc9110.html#field.user-agent">HTTP User-Agent header sent by the client.
Value of the <a href="https://www.rfc-editor.org/rfc/rfc9110.html#field.user-agent">HTTP User-Agent header sent by the client.
Attributes
- Deprecated
-
This item has been renamed in 1.19.0 version of the semantic conventions. Use
SemanticAttributes#UserAgentOriginal
instead. - Source
- SemanticAttributes.scala
The conversation ID identifying the conversation to which the message belongs, represented as a string.
The conversation ID identifying the conversation to which the message belongs, represented as a string. Sometimes called "Correlation ID".
Attributes
- Deprecated
-
This item has been removed as of 1.17.0 of the semantic conventions. Use
SemanticAttributes#MessagingMessageConversationId
instead. - Source
- SemanticAttributes.scala
A string identifying the messaging system.
A string identifying the messaging system.
Attributes
- Deprecated
-
This item has been removed as of 1.17.0 of the semantic conventions. Use
SemanticAttributes#MessagingDestinationName
instead. - Source
- SemanticAttributes.scala
Partition the message is received from.
Partition the message is received from.
Attributes
- Deprecated
-
This item has been removed as of 1.17.0 of the semantic conventions. Use
SemanticAttributes#MessagingKafkaSourcePartition
instead. - Source
- SemanticAttributes.scala
A boolean that is true if the message is a tombstone.
A boolean that is true if the message is a tombstone.
Attributes
- Deprecated
-
This item has been removed as of 1.17.0 of the semantic conventions. Use
SemanticAttributes#MessagingKafkaMessageTombstone
instead. - Source
- SemanticAttributes.scala
The name of the transport protocol.
The name of the transport protocol.
Attributes
- Deprecated
-
This item has been removed as of 1.17.0 of the semantic conventions. Use
SemanticAttributes#NetAppProtocolName
instead. - Source
- SemanticAttributes.scala
The version of the transport protocol.
The version of the transport protocol.
Attributes
- Deprecated
-
This item has been removed as of 1.17.0 of the semantic conventions. Use
SemanticAttributes#NetAppProtocolVersion
instead. - Source
- SemanticAttributes.scala
RabbitMQ message routing key.
RabbitMQ message routing key.
Attributes
- Deprecated
-
This item has been removed as of 1.17.0 of the semantic conventions. Use
SemanticAttributes#MessagingRabbitmqDestinationRoutingKey
instead. - Source
- SemanticAttributes.scala
The delay time level for delay message, which determines the message delay time.
The delay time level for delay message, which determines the message delay time.
Attributes
- Deprecated
-
This item has been removed as of 1.17.0 of the semantic conventions. Use
SemanticAttributes#MessagingRocketmqMessageDelayTimeLevel
instead. - Source
- SemanticAttributes.scala
The timestamp in milliseconds that the delay message is expected to be delivered to consumer.
The timestamp in milliseconds that the delay message is expected to be delivered to consumer.
Attributes
- Deprecated
-
This item has been removed as of 1.17.0 of the semantic conventions. Use
SemanticAttributes#MessagingRocketmqMessageDeliveryTimestamp
instead. - Source
- SemanticAttributes.scala
A boolean that is true if the message destination is temporary.
A boolean that is true if the message destination is temporary.
Attributes
- Deprecated
-
This item has been removed as of 1.17.0 of the semantic conventions. Use
SemanticAttributes#MessagingDestinationTemporary
instead. - Source
- SemanticAttributes.scala
Connection string.
Connection string.
Attributes
- Deprecated
-
This item has been removed as of 1.17.0 of the semantic conventions. There is no replacement.
- Source
- SemanticAttributes.scala
Attributes
- Deprecated
-
This item has been removed as of 1.13.0 of the semantic conventions. Please use
SemanticAttributes#NetSockHostAddr
instead. - Source
- SemanticAttributes.scala
Attributes
- Deprecated
-
This item has been removed as of 1.13.0 of the semantic conventions. Please use
SemanticAttributes#NetSockPeerAddr
instead. - Source
- SemanticAttributes.scala
Deprecated.
Deprecated.
Attributes
- Deprecated
-
Deprecated, use the
org.typelevel.otel4s.semconv.resource.attributes.ResourceAttributes#OtelScopeName
attribute. - Source
- SemanticAttributes.scala
Deprecated.
Deprecated.
Attributes
- Deprecated
-
Deprecated, use the
org.typelevel.otel4s.semconv.resource.attributes.ResourceAttributes#OtelScopeVersion
attribute. - Source
- SemanticAttributes.scala
The name of the instrumentation scope - (InstrumentationScope.Name
in OTLP).
The name of the instrumentation scope - (InstrumentationScope.Name
in OTLP).
Attributes
- Deprecated
-
This item has been moved, use
org.typelevel.otel4s.semconv.resource.attributes.ResourceAttributes#OtelScopeName
instead. - Source
- SemanticAttributes.scala
The version of the instrumentation scope - ( InstrumentationScope.Version
in OTLP).
The version of the instrumentation scope - ( InstrumentationScope.Version
in OTLP).
Attributes
- Deprecated
-
This item has been moved, use
org.typelevel.otel4s.semconv.resource.attributes.ResourceAttributes#OtelScopeVersion
instead. - Source
- SemanticAttributes.scala