Skip to content

Commit b061a56

Browse files
committed
docs: add CHANGELOG entry for db.query.parameter.<key> migration
1 parent 5570ed9 commit b061a56

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
1212
## Unreleased
1313

14+
### Breaking changes
15+
16+
- `opentelemetry-instrumentation-dbapi`, `opentelemetry-instrumentation-asyncpg`,
17+
`opentelemetry-instrumentation-tortoiseorm`: Replace `db.statement.parameters`
18+
attribute with individual `db.query.parameter.<key>` attributes following
19+
[OTel database semantic conventions](https://opentelemetry.io/docs/specs/semconv/attributes-registry/db/).
20+
This also affects instrumentations that delegate to dbapi (psycopg, psycopg2, aiopg, mysql, etc.).
21+
22+
### Added
23+
24+
- `opentelemetry-instrumentation`: Add `db_query_parameter_attributes()` helper
25+
to `opentelemetry.instrumentation.utils` for converting query parameters to
26+
individual `db.query.parameter.<key>` span attributes.
27+
1428
## Version 1.40.0/0.61b0 (2026-03-04)
1529

1630
### Added

0 commit comments

Comments
 (0)