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