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 missing transitive dependencies when using universal profiling integration #423

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

JonasKunz
Copy link
Contributor

There is currently a problem when using the universal-profling-integration with manual SDK setup:

The type UniversalProfilingProcessor cannot be used because it's supertype AbstractChainingSpanProcessor is missing. The latter comes from our common project as a transitive dependency which is only pulled in with runtime scope.

This PR fixes this ensuring that the type is available at compile time too.

A workaround for now is to add an explicit dependency on the elastic-otel-java:common project in client code.

@JonasKunz JonasKunz requested a review from a team October 4, 2024 12:18
@JonasKunz JonasKunz merged commit 8b65bc5 into elastic:main Oct 7, 2024
16 checks passed
@JonasKunz JonasKunz deleted the profiling-dependency-scope branch October 7, 2024 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants