Class GrpcClientTracingInterceptorFactory

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

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

    • GrpcClientTracingInterceptorFactory

      public GrpcClientTracingInterceptorFactory()
  • Method Details

    • clientTracingInterceptor

      @NonNull @Singleton @Requires(beans=io.opentelemetry.api.OpenTelemetry.class) protected @NonNull io.grpc.ClientInterceptor clientTracingInterceptor(io.opentelemetry.api.OpenTelemetry openTelemetry)
      Parameters:
      openTelemetry - OpenTelemetry
      Returns:
      the client interceptor