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

Deprecate AttributesExtractor#set() method #5749

Merged
merged 2 commits into from
Apr 6, 2022

Conversation

mateuszrzeszutek
Copy link
Member

... and replace it with an internal util class.

Fixes #4432

Copy link
Member

@trask trask left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm concerned it will be common for people to copy-paste this repo's AttributeExtractors and so they will end up relying on this internal method without even realizing it.

Maybe rename the method to internalSet to make it more obvious that it's an internal method?

@mateuszrzeszutek mateuszrzeszutek force-pushed the AttributesExtractor-set branch from 17be6e0 to 710f5e8 Compare April 5, 2022 07:27
@trask trask merged commit 50f91e6 into open-telemetry:main Apr 6, 2022
RashmiRam pushed a commit to RashmiRam/opentelemetry-auto-instr-java that referenced this pull request May 23, 2022
* Deprecate AttributesExtractor#set() method

* code review comments
@mateuszrzeszutek mateuszrzeszutek deleted the AttributesExtractor-set branch November 18, 2022 10:28
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.

Remove AttributesExtractor.set() method
2 participants