Class NettyHttpServerTracer
- java.lang.Object
-
- io.opentelemetry.instrumentation.api.tracer.BaseTracer
-
- io.opentelemetry.instrumentation.api.tracer.HttpServerTracer<org.jboss.netty.handler.codec.http.HttpRequest,org.jboss.netty.handler.codec.http.HttpResponse,org.jboss.netty.channel.Channel,ChannelTraceContext>
-
- io.opentelemetry.javaagent.instrumentation.netty.v3_8.server.NettyHttpServerTracer
-
public class NettyHttpServerTracer extends io.opentelemetry.instrumentation.api.tracer.HttpServerTracer<org.jboss.netty.handler.codec.http.HttpRequest,org.jboss.netty.handler.codec.http.HttpResponse,org.jboss.netty.channel.Channel,ChannelTraceContext>
-
-
Constructor Summary
Constructors Constructor Description NettyHttpServerTracer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description io.opentelemetry.context.ContextgetServerContext(ChannelTraceContext channelTraceContext)static NettyHttpServerTracertracer()-
Methods inherited from class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
end, end, endExceptionally, endExceptionally, endExceptionally, getServerSpan, startSpan, startSpan, startSpan
-
-
-
-
Method Detail
-
tracer
public static NettyHttpServerTracer tracer()
-
getServerContext
public io.opentelemetry.context.Context getServerContext(ChannelTraceContext channelTraceContext)
- Specified by:
getServerContextin classio.opentelemetry.instrumentation.api.tracer.HttpServerTracer<org.jboss.netty.handler.codec.http.HttpRequest,org.jboss.netty.handler.codec.http.HttpResponse,org.jboss.netty.channel.Channel,ChannelTraceContext>
-
-