Class 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>
    • Field Summary

      • Fields inherited from class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer

        CONTEXT_ATTRIBUTE
      • Fields inherited from class io.opentelemetry.instrumentation.api.tracer.BaseTracer

        CONTEXT_CLIENT_SPAN_KEY, CONTEXT_SERVER_SPAN_KEY
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.opentelemetry.context.Context getServerContext​(ChannelTraceContext channelTraceContext)  
      static NettyHttpServerTracer tracer()  
      • Methods inherited from class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer

        end, end, endExceptionally, endExceptionally, endExceptionally, getServerSpan, startSpan, startSpan, startSpan
      • Methods inherited from class io.opentelemetry.instrumentation.api.tracer.BaseTracer

        addThrowable, end, end, endExceptionally, endExceptionally, extract, getCurrentServerSpan, getCurrentServerSpan, getCurrentSpan, spanNameForClass, spanNameForMethod, startScope, startSpan, startSpan, startSpan
    • Constructor Detail

      • NettyHttpServerTracer

        public NettyHttpServerTracer()
    • Method Detail

      • getServerContext

        public io.opentelemetry.context.Context getServerContext​(ChannelTraceContext channelTraceContext)
        Specified by:
        getServerContext in class 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>