Skip to content

Gateway traceid broken generation #3375

@ArtyomKazlanzhi

Description

@ArtyomKazlanzhi

I'm working with Spring boot 3.01, micrometer tracing, bridge brave, spring cloud gateway
Found on the web that I can populate logs with traceId and spanId if to add reactor-core 3.5.3
and by adding
Hooks.enableAutomaticContextPropagation();

It really helps, but for some reason it breaks generating the trace id, for the first request to the gateway it generates a new one, then with every new request TraceContext using the same trace id over and over, except the span id, it's a new one every time (like it should be)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions