Skip to content

Commit

Permalink
Update model/trace/database.yaml
Browse files Browse the repository at this point in the history
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
  • Loading branch information
lmolkova and trask committed Apr 5, 2024
1 parent 6e5e316 commit d84f06d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions model/trace/database.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ groups:
- ref: db.collection.name
requirement_level:
conditionally_required: >
If readily available. Otherwise, when the instrumentation library supports parsing `db.statement` and it's enabled,
`db.collection.name` SHOULD be set to the first collection name found in the query.
If readily available. Otherwise, if the instrumentation library parses `db.statement` to capture
`db.collection.name`, then it SHOULD be the first collection name found in the query.
If the collection name is parsed from the query, it SHOULD match the value provided
in the query and may be qualified with the database name.
- ref: network.peer.address
Expand Down

0 comments on commit d84f06d

Please sign in to comment.