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

Allow dynamic import for io.opentelemetry when matching #10385

Merged
merged 1 commit into from
Feb 3, 2024

Conversation

laurit
Copy link
Contributor

@laurit laurit commented Feb 2, 2024

Resolves #10159
It is unclear whether disabling of dynamic imports was necessary because of a bug in a particular version of equinox or something else. This PR explicitly allows the dynamic imports for classes in io.opentelemetry to fix an issue where the class for @WithSpan annotation is not found by the matching because it is dynamically imported.

@laurit laurit requested a review from a team as a code owner February 2, 2024 10:04
@laurit laurit merged commit bb12290 into open-telemetry:main Feb 3, 2024
47 checks passed
@laurit laurit deleted the equinox-dynamic-import branch February 3, 2024 12:31
steverao pushed a commit to steverao/opentelemetry-java-instrumentation that referenced this pull request Feb 16, 2024
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.

Java Agent 1.25 and above not creating span for methods annotated with WithSpan
2 participants