Reputation: 500
I have been trying to get Spring boot 2.0 and Spring Cloud Slueth 2.x (POM=>Finchley.M6) working, but no avail. I have a service1
calls service2
and service3
. I see that a new traceId
is created whenever a request is received in service1
but not passed to Service2
and Service3
instead a new traceid
is being created every time on Service2
and Service3
.
Is this anyhow related to this defect ?
NOTE: I don't need zipkin support and I need sleuth for distributed tracing and will be using Splunk as log aggregater.
Source Code: https://github.com/trmsmy/springboot-cloud-examples/tree/springboot2
Upvotes: 1
Views: 3226
Reputation: 11169
It was a bug that got fixed with this commit - https://github.com/spring-cloud/spring-cloud-sleuth/commit/d7a0747907f4ab7201f67e7d0c762a324fbe0668 . Please check out the latest snapshots
Upvotes: 1