-
Notifications
You must be signed in to change notification settings - Fork 646
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
Is it possible to rename "instrumentation library" to "instrumentation scope"? #2310
Comments
This will be a breaking change technically for at least the |
Is changing the name of the function parameter a breaking change? Is it because get_tracer can be called with named arguments? If we introduce a new additional function, e.g. Also, interestingly it is called instrumenting_module_name, which is already a slight deviation from library. |
It appears the conclusion of many SDKs is that this is not a possible change. Closing. Thanks for checking. |
Yes. FWIW, I think it is a lot more common to call it with positional arguments but it'd still be breaking.
It should be possible. I don't recall using this name anywhere else but will need a more thorough investigation.
Yeah, not sure how that got in :) |
This initially came from a discussion about introducing Logger Name.
While discussing the issue during the spec SIG meeting we came to a conclusion that the intent for "instrumentation library" was actually to have an "instrumentation scope".
The "instrumentation library" is currently used throughout the spec API and SDK. We want to explore if it is possible to rename "instrumentation library" to "instrumentation scope" without breaking existing stability guarantees.
This issue is a questions for the maintainers of this repo: are we able to do this in a non-breaking manner?
Note: this should be only done if it is not a breaking change. We must continue honouring our stability guarantees.
Warning: please don't make the actual change yet. We need to confirm first that it is possible to make this change everywhere before moving forward.
Spec issue recorded here: open-telemetry/opentelemetry-specification#2203
The text was updated successfully, but these errors were encountered: