-
Notifications
You must be signed in to change notification settings - Fork 657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracing Context not logged in access-log when replacing ReactorNettyHttpTracing with standard HttpClient/HttpServer integration #3003
Comments
@sandra-markerud For your use case you need to add the change below to your
|
@violetagg Thank you so much! I have one more question though: |
@sandra-markerud Can you try the code below?
|
@violetagg this would still work for the access-log. Yes. |
@sandra-markerud I don't understand ... you can use different ChannelDuplexHandler implementations depending on whether you want to use logbook or not. |
@violetagg You're right of course. My bad! |
Describe the Bug
Spring Boot 2 with Spring Sleuth -> Spring Boot 3 with Micrometer migration
Hello, I try to upgrade our reactive spring-cloud-gateway from Spring Boot 2 with Sleuth to Spring Boot 3 with Micrometer Tracing.
Due to the findings and fixes in #2850 and https://github.com/grassehh/spring-boot-3-tracing-coroutine I already came a long way in fixing all our problems.
However, one problem remains:
In 9 of 10 cases the Netty access-log does not contain the traceId and spanId.
Steps to Reproduce
spring-boot-3
branches (both kotlin and java available)@RepeatedTest
s and executed 10 times. Here it occasionally happens that in one out of ten runs the access-log does contain the tracing contextExpected Result
The Netty access-log should always contain the Tracing Context
Thank you in advance for your help!
The text was updated successfully, but these errors were encountered: