Span ID is empty in java application #2435
-
Hello, I am using the sampleapp (java) with auto instrumentation java agent jar. When I access the span ID from within the spring boot app I get this 0000000000000000 and trace ID is also only zeroes. Am I missing anything? However, I see the trace in my aws-xray console. I am running the aws-otel-collector as docker. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
hi @raghu-megh! what version of the opentelemetry-javaagent are you using, and what version of the opentelemetry-api are you using? it sounds like you may be using incompatible versions |
Beta Was this translation helpful? Give feedback.
-
implementation(platform("io.opentelemetry:opentelemetry-bom:0.17.1")) I am using above in spring-boot. And , getting this spanId 0000000000000000 and trace ID is also only zeroes. Pls help. |
Beta Was this translation helpful? Give feedback.
hi @raghu-megh! what version of the opentelemetry-javaagent are you using, and what version of the opentelemetry-api are you using? it sounds like you may be using incompatible versions