Please see the stackoverflow where I explain this issue in detail and how to reproduce it. The organization I work for strictly prohibits me from posting to GitHub, so I apologize about having to post the example code in the stackoverflow issue.
Comment From: scottfrederick
@kabennett There is no need to create an issue when you have already posted to StackOverflow. As mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements. Since you are getting help on StackOverflow, let's keep the discussion there. If a problem is identified, we can re-open this with the details.
Comment From: kabennett
I am posting it here because simply by declaring a RestTemplateBuilder bean through its default constructor, micrometer tracing does not propagate the trace id across service boundaries. Isn't that something that would be interesting to this project?
Comment From: kabennett
I would never expect that side-effect to happen, and to me it seems like a bug or at least an unintended side-effect.
Comment From: kabennett
The solution posted in that StackOverflow issue is basically to copy code out of RestTemplateAutoConfiguration so that trace id propagation works correctly. That seems odd to me.
Comment From: philwebb
I've commented on the stackoverflow post.