-
Notifications
You must be signed in to change notification settings - Fork 873
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
Xray propagator not resolved in Spring Boot project #9917
Comments
Thank you for your PR! I'm not sure if any of you can answer my question, but I ask anyway. Will this fix - if approved - also be published as a patch for 1.22.0 (and other versions)? The Spring Boot project I work can only use 1.22.0 of Opentelemetry (higher doesn't work, we get errors because of our JDK version), and I'm not allowed to upgrade either the Spring Boot version or the JDK version. We're blocked because of this bug, and it would be great if the version we use (1.22.0) would receive this change as a patch/hotfix. |
no, we don't do patch releases for old versions
please elaborate, perhaps we can fix whatever it is You can probably work around this bug by disabling Line 26 in b23926f
|
Ok, thank you, we'll then disable Yes, I can elaborate. Below you can see what happens when we try to use 1.23.0 instead of 1.22.0. We get the following error message when we try to build our project:
|
@rBrda could you create a new issue for that so we could fix it |
@laurit yes, sure. I'm going to create a new issue for it. Thank you! |
Describe the bug
Propagator "xray" cannot be resolved since the classpath in the
CompositeTextMapPropagatorFactory
can't be resolved.The factory imports the Xray propagator as following:
but then tries to check its class path like this:
Spring Boot version: 2.6.6
Otel version: 1.22.0
I also checked newer Otel release versions on Github, they are most probably also affected by the issue.
application.yaml
gradle.build
Steps to reproduce
Create a sample Spring Boot project using the configuration I provided above, and try to use "xray" as the propagator.
Expected behavior
Xray propagator is resolved.
Actual behavior
CompositeTextMapPropagatorFactory::getCompositeTextMapPropagator()
is not able to resolve the configured propagator.Javaagent or library instrumentation version
1.22.0
Environment
JDK: JDK 11.0.13
OS: MacOS 13.6
Additional context
No response
The text was updated successfully, but these errors were encountered: