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

Fix "Class path contains multiple SLF4J bindings" during runtime atta… #380

Merged
merged 3 commits into from
Jul 8, 2022

Conversation

jeanbisutti
Copy link
Member

This PR fixes a "Class path contains multiple SLF4J bindings" warning during runtime attachment.

The agent jar file is no longer added to the classpath. Now, it is included in the runtime attach artifact.

A project dedicated to providers of the OpenTelemetry Java agent is added. It can help them to build a dependency to runtime attach their agent jar file.

@jeanbisutti jeanbisutti requested a review from a team July 5, 2022 13:57
@github-actions github-actions bot requested review from iNikem and trask July 5, 2022 13:57
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.

maybe runtime-attach-distro -> runtime-attach-core

since typically I think of -distro as depending on the underlying component, and so it is a little strange to see runtime-attach depend on runtime-attach-distro

@jeanbisutti
Copy link
Member Author

maybe runtime-attach-distro -> runtime-attach-core

since typically I think of -distro as depending on the underlying component, and so it is a little strange to see runtime-attach depend on runtime-attach-distro

Changes done

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.

thx!

@jeanbisutti
Copy link
Member Author

jeanbisutti commented Jul 7, 2022

I have just realized that it may be possible to simplify the implementation with the uber jar (the temporary folder might become unecessary). Please let me check before continuing the review.

@jeanbisutti
Copy link
Member Author

I have just realized that it may be possible to simplify the implementation with the uber jar (the temporary folder might become unecessary). Please let me check before continuing the review.

My idea to simplify the implementation does not work. Please continue the review.

@trask trask merged commit 4645bec into open-telemetry:main Jul 8, 2022
@trask
Copy link
Member

trask commented Jul 8, 2022

thx!

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.

4 participants