I have a spring boot project which use CompleteableFutures to run certain tasks. We use our own executor for executing this futures.

The traceId and spanId are correctly propagated to threads that runs the futures. But the baggage field we create in the root span is not passed down.

We use w3c propagation type with otel library for slueth.

Is this as expected? Do we need to recreate the baggage field on all spans if that needs to be propagated tracing and logs ?

Comment From: wilkinsona

We use w3c propagation type with otel library for slueth.

Are you using Spring Boot 2.7 with Spring Cloud Sleuth?

Comment From: gayanper

We use w3c propagation type with otel library for slueth.

Are you using Spring Boot 2.7 with Spring Cloud Sleuth?

Springboot: 2.6.0 And we use spring cloud bom version: 2021.0.1

Comment From: wilkinsona

First, I would upgrade to the latest version of Spring Cloud (2021.0.7) and a supported version of Spring Boot (2.7.x). If that does not help, please open a Spring Cloud Sleuth issue.