-
Notifications
You must be signed in to change notification settings - Fork 604
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
otelmongo: support OTEL_SEMCONV_STABILITY_OPT_IN for v1.26.0 semconv #6172
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6172 +/- ##
=======================================
+ Coverage 76.0% 76.1% +0.1%
=======================================
Files 219 220 +1
Lines 21387 21448 +61
=======================================
+ Hits 16265 16335 +70
+ Misses 4561 4555 -6
+ Partials 561 558 -3
|
…try-go-contrib into otelmongo#6171
Updating semconv is definitely not just a chore, especially since, as you mention, there are field name changes (which can cause issues with users, since they need to change their queries and dashboards). We should either mark these breaking changes explicitely in a changelog entry, or follow a similar migration path as the otelhttp instrumentation is doing: #5132 |
@open-telemetry/specs-semconv-maintainers, @open-telemetry/semconv-db-approvers, do you have some recommendations or feedback regarding changes of database semantic conventions? Are we supposed to do some migrations in instrumentation libraries like for HTTP instrumentations? CC @XSAM as you are the maintainer of https://github.com/XSAM/otelsql which AFAIK is the most popular instrumentation library for |
check out https://github.com/open-telemetry/semantic-conventions/blob/main/docs/database/database-spans.md:
|
…try-go-contrib into otelmongo#6171
Co-authored-by: Damien Mathieu <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would rather first have a PR which bumps semconv to v1.24.0
@pellared Could you clarify this? |
…try-go-contrib into otelmongo#6171
would this go against the semconv recommendation?
|
Could you clarify this? |
…try-go-contrib into otelmongo#6171
It does not reflect current changes of the PR |
@prestonvasquez, I meant the PR description (not title) 😉 |
Whoops I was doing this on my phone, guess I didn't hit save. |
Co-authored-by: Robert Pająk <[email protected]>
…ternal/semconv/event_monitor.go Co-authored-by: Damien Mathieu <[email protected]>
@prestonvasquez, thank you for your work 👍 |
Resolves #6171, #2165
The specifications for maintaining multiple semantic convention versions is documented here: https://github.com/open-telemetry/semantic-conventions/blob/main/docs/database/database-spans.md.
To use a non-default version:
To include both v1.26.0 and v1.21.0:
To include the default (v1.21.0) version: