Class GrpcTracingServerInterceptor

java.lang.Object
io.quarkus.opentelemetry.runtime.tracing.intrumentation.grpc.GrpcTracingServerInterceptor
All Implemented Interfaces:
io.grpc.ServerInterceptor

@Singleton public class GrpcTracingServerInterceptor extends Object implements io.grpc.ServerInterceptor
  • Constructor Details

    • GrpcTracingServerInterceptor

      public GrpcTracingServerInterceptor(io.opentelemetry.api.OpenTelemetry openTelemetry, OTelRuntimeConfig runtimeConfig)
  • Method Details

    • interceptCall

      public <ReqT, RespT> io.grpc.ServerCall.Listener<ReqT> interceptCall(io.grpc.ServerCall<ReqT,RespT> call, io.grpc.Metadata headers, io.grpc.ServerCallHandler<ReqT,RespT> next)
      Specified by:
      interceptCall in interface io.grpc.ServerInterceptor