Replies: 3 comments 9 replies
|
It's in the Are you certain that this traceId wasn't propagated through the request headers? All those SERVER spans all root spans of their respective traces, or do they have parents? |
|
I ran into this issue as well. |
|
I have the same issue using Spring Boot 3.4.5 / Java 21 with embedded Tomcat. We are using the default OTEL library versions shipped with Spring Boot. What I noticed is that the same traceId is always assiciated to a given thread name.
And so on. At least on Tomcat threads are re-used, so maybe the value that it has been returned by ThreadLocalRandom.nextLong() is not globally unique but only unique within a given request, because when generated is not generated anymore. |

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I have a server which receive http request, I use auto instrument to log trace and span and save them in elasticsearch.
Today I check my elasticsearch and found many requests this server received have a same traceId, and these requests come from quite a different time, for example today and yesterday.
As you can see below there is 1080949 requests with same traceId.
instrument version:
io.opentelemetry.javaagent.jetty-8.0, 1.2.0-SNAPSHOT
BTW, where can I found the source code of generating this traceId?
All reactions