0

my code: https://github.com/nikita111100/gRPC-vs-REST

i cant get a trace of all services I guess grpc-spring-boot-starter can do this without propagate headers

1 Answers1

0

it works for me

@Configuration

public class TracingConfig {

@GrpcGlobalClientInterceptor
TracingClientInterceptor tracingInterceptor(Tracer tracer) {
    return TracingClientInterceptor
            .newBuilder()
            .withTracer(tracer)
            .build();
}

https://github.com/opentracing-contrib/java-grpc