Skip to content
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

Ensure compatibility with the latest OTel SDK #65

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

kolesnikovae
Copy link
Contributor

Go OTel SDK version 1.20 introduced a breaking change to ensure better compatibility of the future versions:

This package does not conform to the standard Go versioning policy; all of its interfaces may have methods added to them without a package major version bump. This non-standard API evolution could surprise an uninformed implementation author. They could unknowingly build their implementation in a way that would result in a runtime panic for their users that update to the new API.

The API is designed to help inform an instrumentation author about this non-standard API evolution. It requires them to choose a default behavior for unimplemented interface methods. There are three behavior choices they can make:

After this change, the tracing provider implemented this module will always be compatible with the SDK, even if the SDK interfaces are extended.

Please see:

@kolesnikovae kolesnikovae merged commit 3da513e into main Nov 16, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants