-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Document compatibility between modules #3806
Conversation
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.
Overall looks good. Thanks for adding this.
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
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'm not sure this is the correct approach here. I understand it is what we have done to this point and expect to continue doing, but I think it is in conflict with the specification's versioning guidelines.
Never create a dependency conflict between packages which rely on different versions of OpenTelemetry.
It is possible (maybe even likely) that an instrumentation library will require a newer version of the OTel API while the application still requires an older version of the SDK. This puts the user in the position of needing to choose between updating an instrumented dependency or staying on a known-working version of the SDK.
What options do we have for avoiding this coupling? I think mutual dependencies from the API back to the SDK modules that depend on its internal packages is a non-starter. What about managed duplication through code generation? Are there other approaches we could take?
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #3806 +/- ##
=====================================
Coverage 81.6% 81.7%
=====================================
Files 167 167
Lines 12459 12462 +3
=====================================
+ Hits 10179 10182 +3
Misses 2065 2065
Partials 215 215
|
That is exactly what I propose here
Having that said, I think we should document the current state before we address the issue. |
I think the situation is more complicated than described in this documentation update. It isn't the case that modules are only compatible at the same version ( For example, |
Closing. I assigned #3548 to myself. |
Correct. cf20bc3 😉 |
Documents #3548