Replace a few remaining `db.system` occurrences with `db.system.name` (#2217)
This commit is contained in:
parent
0fe269f6e4
commit
2073d8ab5e
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue