diff --git a/docs/database/database-spans.md b/docs/database/database-spans.md index 275ae4e5a..15a6080f1 100644 --- a/docs/database/database-spans.md +++ b/docs/database/database-spans.md @@ -96,7 +96,7 @@ These attributes will usually be the same for all operations performed over the **[6]:** If using a port other than the default port for this DBMS and if `server.address` is set. -**[7]:** Should be collected by default only if there is sanitization that excludes sensitive information. +**[7]:** SHOULD be collected by default only if there is sanitization that excludes sensitive information. **[8]:** Semantic conventions for individual database systems SHOULD document whether `network.peer.*` attributes are applicable. Network peer address and port are useful when the application interacts with individual database nodes directly. If a database operation involved multiple network calls (for example retries), the address of the last contacted node SHOULD be used. diff --git a/docs/database/redis.md b/docs/database/redis.md index 27b9e0461..052c0a804 100644 --- a/docs/database/redis.md +++ b/docs/database/redis.md @@ -24,7 +24,7 @@ described on this page. **[1]:** For **Redis**, the value provided for `db.query.text` SHOULD correspond to the syntax of the Redis CLI. If, for example, the [`HMSET` command](https://redis.io/commands/hmset) is invoked, `"HMSET myhash field1 'Hello' field2 'World'"` would be a suitable value for `db.query.text`. -**[2]:** Should be collected by default only if there is sanitization that excludes sensitive information. +**[2]:** SHOULD be collected by default only if there is sanitization that excludes sensitive information. **[3]:** If a database operation involved multiple network calls (for example retries), the address of the last contacted node SHOULD be used. diff --git a/model/trace/database.yaml b/model/trace/database.yaml index d42d1c6b6..e0f6aee6c 100644 --- a/model/trace/database.yaml +++ b/model/trace/database.yaml @@ -7,7 +7,7 @@ groups: - ref: db.query.text requirement_level: recommended: > - Should be collected by default only if there is sanitization that excludes sensitive information. + SHOULD be collected by default only if there is sanitization that excludes sensitive information. - ref: db.query.parameter requirement_level: opt_in