Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify db.query.parameter is string representation #1165

Merged
merged 3 commits into from
Jun 25, 2024

Conversation

trask
Copy link
Member

@trask trask commented Jun 19, 2024

Changes

Clarify that db.query.parameter.<key> is string representation of the parameter value.

@trask trask marked this pull request as ready for review June 19, 2024 15:34
@trask trask requested review from a team June 19, 2024 15:34
@@ -25,7 +25,7 @@ This group defines the attributes used to describe telemetry in the context of d
| `db.namespace` | string | The name of the database, fully qualified within the server address and port. [2] | `customers`; `test.users` | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `db.operation.batch.size` | int | The number of queries included in a [batch operation](/docs/database/database-spans.md#batch-operations). [3] | `2`; `3`; `4` | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `db.operation.name` | string | The name of the operation or command being executed. [4] | `findAndModify`; `HMSET`; `SELECT` | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `db.query.parameter.<key>` | string | The query parameters used in `db.query.text`, with `<key>` being the parameter name, and the attribute value being the parameter value. [5] | `someval`; `55` | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `db.query.parameter.<key>` | string | A query parameter used in `db.query.text`, with `<key>` being the parameter name, and the attribute value being a string representation of the parameter value. [5] | `someval`; `55` | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#1157 would be helpful here as we'd then have "55" instead

@arminru arminru added editorial Editorial changes only (typos, changelog, ...). No content-related changes of any kind. area:db labels Jun 25, 2024
@arminru arminru enabled auto-merge (squash) June 25, 2024 11:39
@arminru arminru merged commit ad05f1d into open-telemetry:main Jun 25, 2024
13 of 14 checks passed
@trask trask deleted the string branch October 14, 2024 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:db editorial Editorial changes only (typos, changelog, ...). No content-related changes of any kind.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

7 participants