Open
Description
Description
In the latest version of the SDK (v1.36.0), there appears to be a potential issue with trace ID collisions. In a multiprocessing environment, trace IDs are being generated simultaneously and sometimes end up duplicated.
I'm using Apache httpd bridged with Golang, which utilizes multiple worker processes. It seems like these workers might be sharing the same random seed, leading to trace ID collisions.
When using v1.35.0, this issue does not occur and trace ID generation is stable.
related PR: #6732
Thanks in advance
Environment
- OS: Linux
- Architecture: x86
- Go Version: 1.22.5
- opentelemetry-go version: v1.36.0 (https://github.com/open-telemetry/opentelemetry-go/blob/v1.36.0/sdk/trace/id_generator.go)
Steps To Reproduce
Expected behavior
A clear and concise description of what you expected to happen.