【发布时间】:2021-06-02 08:25:15
【问题描述】:
我的代码: https://github.com/nikita111100/gRPC-vs-REST
我无法追踪所有服务 我猜 grpc-spring-boot-starter 可以在不传播标头的情况下做到这一点
【问题讨论】:
标签: spring-boot grpc istio grpc-java jaeger
我的代码: https://github.com/nikita111100/gRPC-vs-REST
我无法追踪所有服务 我猜 grpc-spring-boot-starter 可以在不传播标头的情况下做到这一点
【问题讨论】:
标签: spring-boot grpc istio grpc-java jaeger
对我有用
@Configuration
公共类 TracingConfig {
@GrpcGlobalClientInterceptor
TracingClientInterceptor tracingInterceptor(Tracer tracer) {
return TracingClientInterceptor
.newBuilder()
.withTracer(tracer)
.build();
}
【讨论】: