Spring Cloud Sleuth Parent-Span-Id is null and not propogating

Viewed 36

I am using spring-cloud-sleuth I can see the traceId and spanId in the logs, but parentTraceId is always null, not seeing it in the MDC. What can be the reason?

1 Answers

Are you sure the span has a parent? If you are looking at the first span in the tree, that one should not have a parent.

Related