Skip to content

Combine db.instance.id and db.name into a single attribute #749

@trask

Description

@trask

We've gotten feedback that db.instance.id and db.name are confusing for a couple of reasons:

To address this, one proposal we discussed in the database client semconv group is to combine these two into a single (more generically named) attribute, e.g. db.scope, which wouldn't conflict with existing database terminology.

DB-specific conventions could still define attributes which correspond to their preferred terminology, e.g. db.oracle.instance and db.oracle.schema.

We would need to define for each database what to populate into this new attribute, e.g. for Oracle it could be {db.oracle.instance}.{db.oracle.schema}.

Related to

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions