Skip to content

Trace (or span) ID collisions occurring in multiprocessing #6890

Open
@rkdls

Description

@rkdls

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

Steps To Reproduce

Expected behavior

A clear and concise description of what you expected to happen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions