Skip to content

Missing TraceId in Web + WebFlux application since v3.3.1 #41220

Closed as not planned
@syedyusufh

Description

@syedyusufh

TraceId is lost in Web + WebFlux Spring Boot v3.3.1 application (sample available at https://github.com/syedyusufh/web-webflux-trace.git)

This is happening only in the newly released v3.3.1

v3.3.1 Logs:

2024-06-24T22:32:28.952+04:00  INFO 11772 --- [web-webflux-trace] [nio-8080-exec-4] [6679bbbce1404d5af277d3f666bad5c1-f277d3f666bad5c1] com.sample.advice.RequestAdvice          : Application Request: Request(greeting=Hello, Good Evening!)
2024-06-24T22:32:28.962+04:00  INFO 11772 --- [web-webflux-trace] [nio-8080-exec-4] [6679bbbce1404d5af277d3f666bad5c1-39a47f89f713ddab] com.sample.config.TracingConfig          : Request Headers: [Content-Type:"application/json", b3:"6679bbbce1404d5af277d3f666bad5c1-39a47f89f713ddab-0-f277d3f666bad5c1"]
2024-06-24T22:32:29.249+04:00  INFO 11772 --- [web-webflux-trace] [ctor-http-nio-3] [6679bbbce1404d5af277d3f666bad5c1-39a47f89f713ddab] com.sample.config.TracingConfig          : Response Headers: [Access-Control-Allow-Origin:"*", Alt-Svc:"h3=":443"; ma=2592000", Content-Type:"application/json", Date:"Mon, 24 Jun 2024 18:32:29 GMT", Server:"Caddy", Vary:"Accept-Encoding", Transfer-Encoding:"chunked"]
2024-06-24T22:32:29.268+04:00  INFO 11772 --- [web-webflux-trace] [nio-8080-exec-5] [                                                 ] com.sample.advice.ResponseAdvice         : Application Response: Response(success=SUCCESS)

v3.3.0 Logs:

2024-06-24T22:30:55.769+04:00  INFO 9892 --- [web-webflux-trace] [nio-8080-exec-1] [6679bb5f9c8b74da06d82a93f5cb3829-06d82a93f5cb3829] com.sample.advice.RequestAdvice          : Application Request: Request(greeting=Hello, Good Evening!)
2024-06-24T22:30:55.895+04:00  INFO 9892 --- [web-webflux-trace] [nio-8080-exec-1] [6679bb5f9c8b74da06d82a93f5cb3829-c8f652117d627283] com.sample.config.TracingConfig          : Request Headers: [Content-Type:"application/json", b3:"6679bb5f9c8b74da06d82a93f5cb3829-c8f652117d627283-0-06d82a93f5cb3829"]
2024-06-24T22:30:57.816+04:00  INFO 9892 --- [web-webflux-trace] [ctor-http-nio-3] [6679bb5f9c8b74da06d82a93f5cb3829-c8f652117d627283] com.sample.config.TracingConfig          : Response Headers: [Access-Control-Allow-Origin:"*", Alt-Svc:"h3=":443"; ma=2592000", Content-Type:"application/json", Date:"Mon, 24 Jun 2024 18:30:58 GMT", Server:"Caddy", Vary:"Accept-Encoding", Transfer-Encoding:"chunked"]
2024-06-24T22:30:57.979+04:00  INFO 9892 --- [web-webflux-trace] [nio-8080-exec-2] [6679bb5f9c8b74da06d82a93f5cb3829-06d82a93f5cb3829] com.sample.advice.ResponseAdvice         : Application Response: Response(success=SUCCESS)

Metadata

Metadata

Assignees

No one assigned

    Labels

    for: external-projectFor an external project and not something we can fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions