Replies: 2 comments
-
You are using incompatible versions of otel spring boot starter and otel sdk. Examine the versions of your dependencies, importing the otel boms may help to get the versions right. Note that if you are using maven you should add otel boms before |
Beta Was this translation helpful? Give feedback.
-
@laurit I said I already had those dependencies in the bom which the link I put there told me to add. Afterwards I realized the issue went beyond the sb starter and I found the issue was with a dependency we had in the project.. don't even know why it was there actually but once I removed it otel was working with the agent (not the starter).
That might've been why the starter wasn't working. I'll try that, thanks. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to integrate opentelemetry in a spring-boot project using the starter and Jaeger as backend. The project is not native just a regular spring boot project. I added the dependencies in this page: https://opentelemetry.io/docs/zero-code/java/spring-boot-starter/getting-started/ then added the following to my
application.properties
file:The sample here https://github.com/open-telemetry/opentelemetry-java-examples/tree/main/spring-native works for me when I simply run it after adding the lines above to its properties file but for some reason when I run my project I get the following:
That output isn't very helpful though, what am I missing?
Beta Was this translation helpful? Give feedback.
All reactions