Jaeger中未显示Spring引导应用程序之间的服务依赖关系

Jaeger中未显示Spring引导应用程序之间的服务依赖关系,spring,spring-boot,opentracing,jaeger,Spring,Spring Boot,Opentracing,Jaeger,我目前正在尝试使用Jaeger跟踪两个springboot(2.1.1)应用程序 您是否可以尝试使用Jaeger的最新版本:-实际上1.11现在已经推出,所以您可以尝试一下。问题是您使用的是restemplate template=new restemplate()获取REST模板的实例以进行REST调用 这样做意味着Opentracing无法检测添加必要HTTP头的调用 请考虑使用 @ AutoRead RealStestRestMeope实际上我使用的是“最新”。我编辑了我的问题来解决这个问

我目前正在尝试使用Jaeger跟踪两个springboot(2.1.1)应用程序


您是否可以尝试使用Jaeger的最新版本:-实际上1.11现在已经推出,所以您可以尝试一下。

问题是您使用的是
restemplate template=new restemplate()
获取REST模板的实例以进行REST调用

这样做意味着Opentracing无法检测添加必要HTTP头的调用


请考虑使用<代码> @ AutoRead RealStestRestMeope

实际上我使用的是“最新”。我编辑了我的问题来解决这个问题。无论如何,谢谢你。
<dependency>
  <groupId>io.opentracing.contrib</groupId>
  <artifactId>opentracing-spring-web-starter</artifactId>
</dependency> 
<dependency>
  <groupId>io.opentracing.contrib</groupId>
  <artifactId>opentracing-spring-jaeger-cloud-starter</artifactId>
</dependency>
docker run \
--rm \
--name jaeger \
-p5775:5775/udp \
-p6831:6831/udp \
-p6832:6832/udp \
-p5778:5778 \
-p16686:16686 \
-p14268:14268 \
-p9411:9411 \
jaegertracing/all-in-one:latest