TraceAttributes::DB_NAMESPACE
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 (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.
@example customers @example test.users
File
-
vendor/
open-telemetry/ sem-conv/ TraceAttributes.php, line 1104
Class
Namespace
OpenTelemetry\SemConvCode
public const DB_NAMESPACE = 'db.namespace';