DbExperimentalAttributes

org.typelevel.otel4s.semconv.experimental.attributes.DbExperimentalAttributes

Attributes

Source
DbExperimentalAttributes.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

abstract class DbCassandraConsistencyLevelValue(val value: String)

Attributes

Companion
object
Source
DbExperimentalAttributes.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object All
object Any
object EachQuorum
object LocalOne
object LocalQuorum
object LocalSerial
object One
object Quorum
object Serial
object Three
object Two
Show all

Attributes

Companion
class
Source
DbExperimentalAttributes.scala
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class DbCosmosdbConnectionModeValue(val value: String)

Attributes

Companion
object
Source
DbExperimentalAttributes.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Direct
object Gateway

Attributes

Companion
class
Source
DbExperimentalAttributes.scala
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class DbCosmosdbOperationTypeValue(val value: String)

Attributes

Companion
object
Source
DbExperimentalAttributes.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Batch
object Create
object Delete
object Execute
object Head
object HeadFeed
object Invalid
object Patch
object Query
object QueryPlan
object Read
object ReadFeed
object Replace
object Upsert
Show all

Attributes

Companion
class
Source
DbExperimentalAttributes.scala
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class DbSystemValue(val value: String)

Values for DbSystem.

Values for DbSystem.

Attributes

Companion
object
Source
DbExperimentalAttributes.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Adabas
object Cache
object Cassandra
object Clickhouse
object Cloudscape
object Cockroachdb
object Coldfusion
object Cosmosdb
object Couchbase
object Couchdb
object Db2
object Derby
object Dynamodb
object Edb
object Elasticsearch
object Filemaker
object Firebird
object Firstsql
object Geode
object H2
object Hanadb
object Hbase
object Hive
object Hsqldb
object Informix
object Ingres
object Instantdb
object Interbase
object Mariadb
object Maxdb
object Memcached
object Mongodb
object Mssql
object Mssqlcompact
object Mysql
object Neo4j
object Netezza
object Opensearch
object Oracle
object OtherSql
object Pervasive
object Pointbase
object Postgresql
object Progress
object Redis
object Redshift
object Spanner
object Sqlite
object Sybase
object Teradata
object Trino
object Vertica
Show all
object DbSystemValue

Attributes

Companion
class
Source
DbExperimentalAttributes.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Value members

Concrete fields

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
DbExperimentalAttributes.scala

The data center of the coordinating node for a query.

The data center of the coordinating node for a query.

Attributes

Source
DbExperimentalAttributes.scala

The ID of the coordinating node for a query.

The ID of the coordinating node for a query.

Attributes

Source
DbExperimentalAttributes.scala

Whether or not the query is idempotent.

Whether or not the query is idempotent.

Attributes

Source
DbExperimentalAttributes.scala

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
DbExperimentalAttributes.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
DbExperimentalAttributes.scala

The name of the primary Cassandra table that the operation is acting upon, including the keyspace name (if applicable).

The name of the primary Cassandra table that the operation is acting upon, including the keyspace name (if applicable).

Attributes

Note

  • 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.

Source
DbExperimentalAttributes.scala

Unique Cosmos client instance id.

Unique Cosmos client instance id.

Attributes

Source
DbExperimentalAttributes.scala

Cosmos client connection mode.

Cosmos client connection mode.

Attributes

Source
DbExperimentalAttributes.scala

Cosmos DB container name.

Cosmos DB container name.

Attributes

Source
DbExperimentalAttributes.scala

CosmosDB Operation Type.

CosmosDB Operation Type.

Attributes

Source
DbExperimentalAttributes.scala

RU consumed for that operation

RU consumed for that operation

Attributes

Source
DbExperimentalAttributes.scala

Request payload size in bytes

Request payload size in bytes

Attributes

Source
DbExperimentalAttributes.scala

Cosmos DB status code.

Cosmos DB status code.

Attributes

Source
DbExperimentalAttributes.scala

Cosmos DB sub status code.

Cosmos DB sub status code.

Attributes

Source
DbExperimentalAttributes.scala

Represents the identifier of an Elasticsearch cluster.

Represents the identifier of an Elasticsearch cluster.

Attributes

Source
DbExperimentalAttributes.scala

A dynamic value in the url path.

A dynamic value in the url path.

Attributes

Note

  • Many Elasticsearch url paths allow dynamic values. These SHOULD be recorded in span attributes in the format db.elasticsearch.path_parts.<key>, where <key> is the url path part name. The implementation SHOULD reference the <a href="https://raw.githubusercontent.com/elastic/elasticsearch-specification/main/output/schema/schema.json">elasticsearch schema in order to map the path part values to their names.

Source
DbExperimentalAttributes.scala

An identifier (address, unique name, or any other identifier) of the database instance that is executing queries or mutations on the current connection.

An identifier (address, unique name, or any other identifier) of the database instance that is executing queries or mutations on the current connection. This is useful in cases where the database is running in a clustered environment and the instrumentation is able to record the node executing the query. The client may obtain this value in databases like MySQL using queries like select @@hostname.

Attributes

Source
DbExperimentalAttributes.scala

The MongoDB collection being accessed within the database stated in db.name.

The MongoDB collection being accessed within the database stated in db.name.

Attributes

Source
DbExperimentalAttributes.scala

The Microsoft SQL Server <a href="https://docs.microsoft.com/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.

The Microsoft SQL Server <a href="https://docs.microsoft.com/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.

Attributes

Note

  • If setting a db.mssql.instance_name, server.port is no longer required (but still recommended if non-standard).

Source
DbExperimentalAttributes.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).

Attributes

Note

  • 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).

Source
DbExperimentalAttributes.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.

Attributes

Note

  • 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.

Source
DbExperimentalAttributes.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
DbExperimentalAttributes.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).

Attributes

Note

  • 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.

Source
DbExperimentalAttributes.scala

The database statement being executed.

The database statement being executed.

Attributes

Source
DbExperimentalAttributes.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
DbExperimentalAttributes.scala

Username for accessing the database.

Username for accessing the database.

Attributes

Source
DbExperimentalAttributes.scala

Deprecated fields

Deprecated, use server.address, server.port attributes instead.

Deprecated, use server.address, server.port attributes instead.

Attributes

Deprecated
true
Source
DbExperimentalAttributes.scala

Deprecated, use db.instance.id instead.

Deprecated, use db.instance.id instead.

Attributes

Deprecated
true
Source
DbExperimentalAttributes.scala

Removed, no replacement at this time.

Removed, no replacement at this time.

Attributes

Deprecated
true
Source
DbExperimentalAttributes.scala