Repository navigation
Bump OTel semantic conventions to v1.40.0 - #606
Conversation
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #606 +/- ##
=======================================
- Coverage 86.7% 86.6% -0.1%
=======================================
Files 16 16
Lines 752 748 -4
=======================================
- Hits 652 648 -4
Misses 74 74
Partials 26 26 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| dbconv.ClientOperationDuration{}.Name(), | ||
| metric.WithDescription(dbconv.ClientOperationDuration{}.Description()), | ||
| metric.WithUnit(dbconv.ClientOperationDuration{}.Unit()), |
There was a problem hiding this comment.
In a subsequent PR, we could adopt the semconv helper dbconv#NewClientOperationDuration()
There was a problem hiding this comment.
Since we are using semconv v1.40.0, could we use NewClientOperationDuration in this PR?
XSAM
left a comment
There was a problem hiding this comment.
Hey @cyrille-leclerc, thanks for the PR. Could we bump to the latest semantic conventions? https://pkg.go.dev/go.opentelemetry.io/[email protected]/semconv/v1.40.0
|
With pleasure, I see that you just bump OTel libs from 1.39.0 to 1.42.0 so that's now easy to bump semconv to the latest version. |
|
@XSAM please review, I bumped semconv to v1.40.0 |
|
We are violating the code coverage goal on instruments.go removing lines of codes. |
XSAM
left a comment
There was a problem hiding this comment.
LGTM. @cyrille-leclerc thanks for your contribution!
### Removed - **BREAKING** Remove support for `OTEL_SEMCONV_STABILITY_OPT_IN` environment variable, legacy `db.sql.latency` metric, and `db.statement` span attribute. Only stable Semantic Conventions are now used. (#617) ### Changed - ~~Upgrade OTel Semconv to `v1.40.0`.~~ (#606) - Upgrade OTel Semconv to `v1.44.0`. (#615) ### Fixed - Implement `driver.Validator` on `otConn` so that `database/sql` connection pool health checks are properly delegated to the underlying driver connection. (#619) - `AttributesFromDSN` no longer panics on DSNs that wrap a unix-socket path in the `protocol(/path/to.sock)` form, e.g. `unix(/tmp/mysql.sock)/dbname`. The parser now extracts the address from inside the parentheses before splitting on `/`. (#625)
Bump OTel semantic conventions from v1.30.0 to v1.40.0