public class TraceClientInterceptor
extends java.lang.Object
implements io.grpc.ClientInterceptor
Constructor and Description |
---|
TraceClientInterceptor(org.springframework.cloud.sleuth.Tracer tracer,
org.springframework.cloud.sleuth.SpanInjector<io.grpc.Metadata> spanInjector) |
Modifier and Type | Method and Description |
---|---|
<ReqT,RespT> |
interceptCall(io.grpc.MethodDescriptor<ReqT,RespT> method,
io.grpc.CallOptions callOptions,
io.grpc.Channel next) |