Class GrpcTracingClientInterceptor
java.lang.Object
io.quarkus.opentelemetry.runtime.tracing.instrumentation.grpc.GrpcTracingClientInterceptor
- All Implemented Interfaces:
io.grpc.ClientInterceptor
@Singleton
public class GrpcTracingClientInterceptor
extends Object
implements io.grpc.ClientInterceptor
-
Constructor Summary
ConstructorsConstructorDescriptionGrpcTracingClientInterceptor(io.opentelemetry.api.OpenTelemetry openTelemetry, OTelRuntimeConfig runtimeConfig) -
Method Summary
Modifier and TypeMethodDescription<ReqT,RespT>
io.grpc.ClientCall<ReqT, RespT> interceptCall(io.grpc.MethodDescriptor<ReqT, RespT> method, io.grpc.CallOptions callOptions, io.grpc.Channel next)
-
Constructor Details
-
GrpcTracingClientInterceptor
public GrpcTracingClientInterceptor(io.opentelemetry.api.OpenTelemetry openTelemetry, OTelRuntimeConfig runtimeConfig)
-
-
Method Details
-
interceptCall
public <ReqT,RespT> io.grpc.ClientCall<ReqT,RespT> interceptCall(io.grpc.MethodDescriptor<ReqT, RespT> method, io.grpc.CallOptions callOptions, io.grpc.Channel next) - Specified by:
interceptCallin interfaceio.grpc.ClientInterceptor
-