spring-bootspring-cloudspring-cloud-sleuth

Spring Cloud Sleuth stopped pushing X-B3-TraceId into MDC after spring-boot/spring cloud upgrade


I have upgraded my Spring boot dependencies from 2.1 to 2.4.5 and spring cloud to 2020.0.2. After this upgrade, my MDC context is not populated.

Any ideas of what should be done here?


Solution

  • in spring cloud 2020.0.2 you have sleuth 3.x and there is a migration guide telling about some changes to MDC