Skip to content

How a traceId created in opentelemetry? #3904

Answered by mateuszrzeszutek
lmssy asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @lmssy ,

  1. Trace & span ids are generated by the RandomIdGenerator class;
  2. Maybe whatever is sending all those requests always sends the same traceId in the HTTP headers? If possible, please check the headers of incoming and outgoing API gateway messages - depending on the propagator used, e.g. for W3C tracecontext check the traceparent header. I suspect that there might be a process that always sends HTTP requests with the same traceId, one generated at the application start for example.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@lmssy
Comment options

@lmssy
Comment options

@mateuszrzeszutek
Comment options

@lmssy
Comment options

Answer selected by lmssy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants