Package io.micronaut.grpc.client.tracing
Class GrpcClientTracingInterceptorFactory
java.lang.Object
io.micronaut.grpc.client.tracing.GrpcClientTracingInterceptorFactory
Factory that builds the Tracing interceptors.
- Since:
- 1.0
- Author:
- graemerocher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected @NonNull io.grpc.ClientInterceptor
clientTracingInterceptor
(@NonNull GrpcClientTracingInterceptorConfiguration configuration) The client interceptor.
-
Constructor Details
-
GrpcClientTracingInterceptorFactory
public GrpcClientTracingInterceptorFactory()
-
-
Method Details
-
clientTracingInterceptor
@Requires(beans=GrpcClientTracingInterceptorConfiguration.class) @Singleton @Bean @NonNull protected @NonNull io.grpc.ClientInterceptor clientTracingInterceptor(@NonNull @NonNull GrpcClientTracingInterceptorConfiguration configuration) The client interceptor.- Parameters:
configuration
- The configuration- Returns:
- The client interceptor
-