Modifier and Type | Method and Description |
---|---|
static TracingServerInterceptor.Builder |
TracingServerInterceptor.newBuilder()
Creates a new
TracingServerInterceptor.Builder . |
TracingServerInterceptor.Builder |
TracingServerInterceptor.Builder.withOperationName(OperationNameConstructor operationNameConstructor)
Provide operation name.
|
TracingServerInterceptor.Builder |
TracingServerInterceptor.Builder.withServerCloseDecorator(ServerCloseDecorator serverCloseDecorator)
Decorates the server span with custom data when the gRPC call is closed.
|
TracingServerInterceptor.Builder |
TracingServerInterceptor.Builder.withServerSpanDecorator(ServerSpanDecorator serverSpanDecorator)
Decorates the server span with custom data.
|
TracingServerInterceptor.Builder |
TracingServerInterceptor.Builder.withStreaming()
Logs streaming events to server spans.
|
TracingServerInterceptor.Builder |
TracingServerInterceptor.Builder.withTracedAttributes(TracingServerInterceptor.ServerRequestAttribute... attributes)
Provide traced attributes.
|
TracingServerInterceptor.Builder |
TracingServerInterceptor.Builder.withTracer(io.opentracing.Tracer tracer)
Provide the
Tracer . |
TracingServerInterceptor.Builder |
TracingServerInterceptor.Builder.withVerbosity()
Logs all request life-cycle events to server spans.
|
Copyright © 2017-2019–2019. All rights reserved.