Skip to content
semconv.com
↑↓ move↵ openUse with your agent →

db.namespace

Stablestringas of v1.45.0

The name of the database, fully qualified within the server address and port.

If a database system has multiple namespace components, they SHOULD be concatenated from the most general to the most specific namespace component, using | as a separator between the components. Any missing components (and their associated separators) SHOULD be omitted. Semantic conventions for individual database systems SHOULD document what db.namespace means in the context of that system. It is RECOMMENDED to capture the value as provided by the application without attempting to do any case normalization.

Examples

  • customers
  • test.users

Used by

spans (14)

  • db.client
  • db.client
  • db.client
  • db.client
  • db.client
  • db.client
  • db.client
  • db.client
  • db.client
  • db.client
  • db.client
  • db.client
  • db.client
  • db.client

metrics (13)

  • azure.cosmosdb.client.operation.request_charge
  • db.client.connection.count
  • db.client.connection.create_time
  • db.client.connection.idle.max
  • db.client.connection.idle.min
  • db.client.connection.limit
  • db.client.connection.pending_requests
  • db.client.connection.timeouts
  • db.client.connection.use_time
  • db.client.connection.wait_time
  • db.client.cosmosdb.operation.request_charge
  • db.client.operation.duration
  • db.client.response.returned_rows

* required on that signal.

History

  1. v1.45.0

    No longer referenced by attributes.azure.cosmosdb.minimal, span.azure.cosmosdb.client and 14 others.

  2. v1.45.0Usage

    Now referenced by attributes.db.client.with_query_and_collection, attributes.metrics.db.client.connection.pool and 13 others (conditionally required).

  3. v1.33.0

    No longer referenced by span.db.mssql.client.

  4. v1.33.0

    Now referenced by span.db.oracledb.client and span.db.sql_server.client (recommended).

  5. v1.33.0Stability

    Promoted to stable.

  6. v1.30.0

    Already present at v1.30.0, the oldest release tracked here (release_candidate).

Definition sourceRegistry docsJSONUse with your agent →