I started the migration of a service to SpringBoot 3 and now I have a problem code that used org.springframework.cloud.sleuth.instrument.web.mvc.TracingInterceptor
restTemplate.getInterceptors().add(0,tracingInterceptor);
I didn't find the analogy of org.springframework.cloud.sleuth.instrument.web.mvc.TracingInterceptor
in the new Micrometer Tracing API. How to propagate traceId
and spanId
during calls to other services with restTemplate
?