-
Notifications
You must be signed in to change notification settings - Fork 571
feat(instrumentation-knex): Use newer semantic conventions #2671
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
base: main
Are you sure you want to change the base?
Conversation
This package does not have an assigned component owner and is considered unmaintained. As such this package is in feature-freeze and this PR will be closed with 14 days unless a new owner or a sponsor (a member of @open-telemetry/javascript-approvers) for the feature is found. It is the responsibility of the author to find a sponsor for this feature. |
7b91bdc
to
3a70ffe
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2671 +/- ##
=======================================
Coverage 89.46% 89.46%
=======================================
Files 174 176 +2
Lines 8322 8355 +33
Branches 1592 1601 +9
=======================================
+ Hits 7445 7475 +30
- Misses 877 880 +3
🚀 New features to boost your workflow:
|
I'll sponsor. |
@maryliag I'd appreciate your guidance here. Part of this PR is updating some Is that something we should be doing now? Or is that something we should wait on until after the semconv v1.33.0 release because of the pending stabilization of db semconv: https://github.com/open-telemetry/semantic-conventions/releases/tag/v1.32.0 says:
Do you know if there will be a |
@trentm as far as I recall knex is already behind other modules regarding the attributes, so I don't see much of an issue making these changes opt-in. |
I think it's okay to do them now, because we don't plan on making any other changes to them, at least not in the ones that were updated here. Regarding the opt-in, we do have some guidance on this on semantic convention pages already: Existing database instrumentations that are using v1.24.0 of this document (or prior):
So, I would say you can make the changes now, but with an opt-in for the new names and still sending old values, then create an issue to remove the old names on a following version, just to make sure we keep track of this and don't forget |
|
5184085
to
0fe75a2
Compare
33bcd9f
to
aef24d6
Compare
@maryliag can you merge it or should I ping someone? |
cc @trentm |
Which problem is this PR solving?
Short description of the changes
SpanAttributes
call withAttributes