Spring boot 2.0 和 Spring Cloud Sleuth 2.x 工作示例
Spring boot 2.0 and Spring Cloud Sleuth 2.x Working Sample
我一直在尝试让 Spring boot 2.0 和 Spring Cloud Slueth 2.x (POM=>Finchley.M6) 正常工作,但无济于事。我有一个 service1
调用 service2
和 service3
。我看到每当在 service1
中收到请求但未传递给 Service2
和 Service3
时都会创建一个新的 traceId
而是创建一个新的 traceid
Service2
和 Service3
上的时间。
这与 this defect 有关系吗?
注意:我不需要 zipkin 支持,我需要 sleuth 进行分布式跟踪,并将使用 Splunk 作为日志聚合器。
源代码:https://github.com/trmsmy/springboot-cloud-examples/tree/springboot2
这是一个已通过此提交修复的错误 - https://github.com/spring-cloud/spring-cloud-sleuth/commit/d7a0747907f4ab7201f67e7d0c762a324fbe0668。请查看最新快照
我一直在尝试让 Spring boot 2.0 和 Spring Cloud Slueth 2.x (POM=>Finchley.M6) 正常工作,但无济于事。我有一个 service1
调用 service2
和 service3
。我看到每当在 service1
中收到请求但未传递给 Service2
和 Service3
时都会创建一个新的 traceId
而是创建一个新的 traceid
Service2
和 Service3
上的时间。
这与 this defect 有关系吗?
注意:我不需要 zipkin 支持,我需要 sleuth 进行分布式跟踪,并将使用 Splunk 作为日志聚合器。
源代码:https://github.com/trmsmy/springboot-cloud-examples/tree/springboot2
这是一个已通过此提交修复的错误 - https://github.com/spring-cloud/spring-cloud-sleuth/commit/d7a0747907f4ab7201f67e7d0c762a324fbe0668。请查看最新快照