io.opentracing.contrib.grpc.TracingServerInterceptor Java Examples
The following examples show how to use
io.opentracing.contrib.grpc.TracingServerInterceptor.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: GrpcServerTracingInterceptorConfiguration.java From micronaut-grpc with Apache License 2.0 | 4 votes |
/** * @return The {@link TracingServerInterceptor.Builder} */ public @Nonnull TracingServerInterceptor.Builder getBuilder() { return builder; }
Example #2
Source File: GrpcAgentIntercept.java From java-specialagent with Apache License 2.0 | 4 votes |
public static Object addService(final Object service) { if (service instanceof ServerServiceDefinition) return TracingServerInterceptor.newBuilder().build().intercept((ServerServiceDefinition)service); return service; }
Example #3
Source File: GrpcServerTracingInterceptorConfiguration.java From micronaut-grpc with Apache License 2.0 | 4 votes |
/** * @return The {@link TracingServerInterceptor.Builder} */ public @Nonnull TracingServerInterceptor.Builder getBuilder() { return builder; }
Example #4
Source File: GrpcServerTracingInterceptorConfiguration.java From micronaut-grpc with Apache License 2.0 | 2 votes |
/** * Default constructor. * @param tracer The tracer */ protected GrpcServerTracingInterceptorConfiguration(Tracer tracer) { this.builder = TracingServerInterceptor.newBuilder().withTracer(tracer); }
Example #5
Source File: GrpcServerTracingInterceptorConfiguration.java From micronaut-grpc with Apache License 2.0 | 2 votes |
/** * Default constructor. * @param tracer The tracer */ protected GrpcServerTracingInterceptorConfiguration(Tracer tracer) { this.builder = TracingServerInterceptor.newBuilder().withTracer(tracer); }