Replace a few remaining `db.system` occurrences with `db.system.name` (#2217)

This commit is contained in:
Liudmila Molkova 2025-05-02 08:40:40 -07:00 committed by GitHub
parent 0fe269f6e4
commit 2073d8ab5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View File

@ -56,7 +56,7 @@ the exact definition of the [`{target}`](#target-placeholder) placeholder).
If a (low-cardinality) `db.operation.name` is not available, database span names
SHOULD default to the [`{target}`](#target-placeholder).
If neither `{db.operation.name}` nor `{target}` are available, span name SHOULD be `{db.system}`.
If neither `{db.operation.name}` nor `{target}` are available, span name SHOULD be `{db.system.name}`.
Semantic conventions for individual database systems MAY specify different span name format.

View File

@ -25,7 +25,7 @@ groups:
unit: "{instance}"
stability: development
attributes:
# TODO: add db.system once https://github.com/open-telemetry/build-tools/issues/192 is possible
# TODO: add db.system.name once https://github.com/open-telemetry/build-tools/issues/192 is possible
# - ref: db.system.name
# requirement_level:
# conditionally_required: if available

View File

@ -31,7 +31,7 @@ groups:
stability: development
extends: attributes.db.client.minimal
attributes:
# TODO: add db.system once https://github.com/open-telemetry/build-tools/issues/192 is possible
# TODO: add db.system.name once https://github.com/open-telemetry/build-tools/issues/192 is possible
# - ref: db.system.name
# requirement_level:
# conditionally_required: if available

View File

@ -4,7 +4,7 @@ groups:
type: attribute_group
brief: This group defines the attributes used to perform database client calls.
attributes:
# TODO: add db.system once https://github.com/open-telemetry/build-tools/issues/192 is possible
# TODO: add db.system.name once https://github.com/open-telemetry/build-tools/issues/192 is possible
# - ref: db.system.name
# sampling_relevant: true
- ref: db.operation.name