Class GrpcServerTracingInterceptorFactory

java.lang.Object
io.micronaut.tracing.opentelemetry.instrument.grpc.GrpcServerTracingInterceptorFactory

@Factory public class GrpcServerTracingInterceptorFactory extends Object
Builds the server Tracing interceptors.
Since:
4.2.0
Author:
Nemanja Mikic
  • Constructor Details

    • GrpcServerTracingInterceptorFactory

      public GrpcServerTracingInterceptorFactory()
  • Method Details

    • serverTracingInterceptor

      @NonNull @Singleton @Requires(beans=io.opentelemetry.api.OpenTelemetry.class) protected @NonNull io.grpc.ServerInterceptor serverTracingInterceptor(io.opentelemetry.api.OpenTelemetry openTelemetry)
      Parameters:
      openTelemetry - openTelemetry
      Returns:
      the server interceptor