rama::telemetry::opentelemetry::semantic_conventions::attribute

Constant DB_NAMESPACE

pub const DB_NAMESPACE: &'static str;
Expand description

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

§Notes

If a database system has multiple namespace components, they SHOULD be concatenated (potentially using database system specific conventions) from most general to most specific namespace component, and more specific namespaces SHOULD NOT be captured without the more general namespaces, to ensure that “startswith” queries for the more general namespaces will be valid. 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. This attribute has stability level RELEASE CANDIDATE.

§Examples

  • "customers"
  • "test.users"