Package brave.grpc
Class GrpcTracing
- java.lang.Object
-
- brave.grpc.GrpcTracing
-
public final class GrpcTracing extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GrpcTracing.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GrpcTracing
create(RpcTracing rpcTracing)
static GrpcTracing
create(brave.Tracing tracing)
static GrpcTracing.Builder
newBuilder(RpcTracing rpcTracing)
static GrpcTracing.Builder
newBuilder(brave.Tracing tracing)
io.grpc.ClientInterceptor
newClientInterceptor()
This interceptor traces outbound callsio.grpc.ServerInterceptor
newServerInterceptor()
This interceptor traces inbound callsGrpcTracing.Builder
toBuilder()
-
-
-
Method Detail
-
create
public static GrpcTracing create(brave.Tracing tracing)
-
create
public static GrpcTracing create(RpcTracing rpcTracing)
-
newBuilder
public static GrpcTracing.Builder newBuilder(brave.Tracing tracing)
-
newBuilder
public static GrpcTracing.Builder newBuilder(RpcTracing rpcTracing)
-
toBuilder
public GrpcTracing.Builder toBuilder()
-
newClientInterceptor
public final io.grpc.ClientInterceptor newClientInterceptor()
This interceptor traces outbound calls
-
newServerInterceptor
public io.grpc.ServerInterceptor newServerInterceptor()
This interceptor traces inbound calls
-
-