public static class TracingServerInterceptor.Builder extends Object
public TracingServerInterceptor.Builder withTracer(io.opentracing.Tracer tracer)
Tracer.tracer - the tracerpublic TracingServerInterceptor.Builder withOperationName(OperationNameConstructor operationNameConstructor)
operationNameConstructor - for all spans created by this interceptorpublic TracingServerInterceptor.Builder withTracedAttributes(TracingServerInterceptor.ServerRequestAttribute... attributes)
attributes - to set as tags on server spans created by this interceptorpublic TracingServerInterceptor.Builder withStreaming()
public TracingServerInterceptor.Builder withVerbosity()
public TracingServerInterceptor.Builder withServerSpanDecorator(ServerSpanDecorator serverSpanDecorator)
serverSpanDecorator - used to decorate the server spanpublic TracingServerInterceptor.Builder withServerCloseDecorator(ServerCloseDecorator serverCloseDecorator)
serverCloseDecorator - used to decorate the server spanpublic TracingServerInterceptor build()
Copyright © 2017-2019–2019. All rights reserved.