You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest OTel DB Semantics show db.query.text as the equivalent of db.statement, would love to have a way to use/import updated semantics with this library.
Proposed Solution
otelsql library supports updated OTel semantics, potentially through use of a feature flag to enable
Alternatives
There could either be replacement with feature flag or just duplication of semantics so as not to break existing users.
Activity
[-]Support updated db semantics[/-][+]Support updated db OTel semantics v1.28.0[/+]XSAM commentedon Feb 16, 2025
Hi @jackgopack4, thanks for creating the issue.
I think this is blocked by open-telemetry/opentelemetry-go#6236, which has not been released yet.
XSAM commentedon Apr 23, 2025
Tasks:
db.statementtodb.query.text#478db.sql.latencymetric todb.client.operation.duration#480Migrate `db.statement` to `db.query.text` (#478)
Migrate `db.sql.latency` metric to `db.client.operation.duration` (#480)
Update semantic convention migration doc (#481)
XSAM commentedon Apr 27, 2025
Closed as completed.