dd-trace-java: Header injection not working for spring webclient

I am facing an issue with using auto instrumentation with spring webflux + webclient. Headers are not being propagated to downstream call.

In the following commit, propagate() line was removed. I suspect this could be the cause. However I couldn’t verify as I am not able to build dd-java-agent locally with changes. https://github.com/DataDog/dd-trace-java/pull/1876/files#diff-b53db5fbb0c565c82f99286c8d966b127e12ba58525f4a2fdf69a4b01832f902L55

Versions spring-webflux : 5.3.13 dd-java-agent: 0.88.0

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 22 (8 by maintainers)

Most upvoted comments

You can configure sleuth the have the same behavior by using spring.sleuth.supports-join=false in case you need to run in a mixed environment