0

I have several Spring Boot applications, one of which is using Spring Boot 3 and the others are using Spring Boot 2.The request get originated from Spring Boot 3 and goes to Spring Boot 2 component

The issue I am facing is trace id are different across application. I went through almost all the solution suggested still different trace id.

In Spring Boot 3 application.yml

management: 
   tracing:
     propagation:
       type: b3
     sampling:
       probability: 1.0

In Spring Boot 2 application.yml

 spring.sleuth.traceId128: true
 spring.sleuth.supportsJoin: false
 spring.sleuth.propagation.type: w3c,b3
Coder
  • 1
  • 1
  • Have you added this property in Spring Boot 3 application? `logging.pattern.level=%5p [${spring.application.name:},%X{traceId:-},%X{spanId:-}]`. Also, please check if you have added all the required dependencies. – SwathiP Aug 08 '23 at 22:14

0 Answers0