Class JavaxServletHttpServerTracer<RESPONSE>


  • public abstract class JavaxServletHttpServerTracer<RESPONSE>
    extends io.opentelemetry.instrumentation.servlet.ServletHttpServerTracer<javax.servlet.http.HttpServletRequest,​RESPONSE>
    • Field Summary

      • Fields inherited from class io.opentelemetry.instrumentation.servlet.ServletHttpServerTracer

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

        CONTEXT_ATTRIBUTE, USER_AGENT
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected String errorExceptionAttributeName()  
      protected io.opentelemetry.context.propagation.TextMapGetter<javax.servlet.http.HttpServletRequest> getGetter()  
      • Methods inherited from class io.opentelemetry.instrumentation.servlet.ServletHttpServerTracer

        addUnwrappedThrowable, attachAsyncListener, attachServerContext, customizeContext, endExceptionally, errorException, flavor, getServerContext, getSpanName, isAsyncListenerAttached, method, needsRescoping, onTimeout, peerHostIp, peerPort, requestHeader, responseStatus, setAsyncListenerResponse, setPrincipal, startSpan, unwrapThrowable, updateContext, updateSpanName, url
      • Methods inherited from class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer

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

        end, end, endExceptionally, extract, getInstrumentationName, getVersion, inject, onException, shouldStartSpan, spanBuilder, startSpan, startSpan, startSpan, withClientSpan, withConsumerSpan, withServerSpan
    • Method Detail

      • getGetter

        protected io.opentelemetry.context.propagation.TextMapGetter<javax.servlet.http.HttpServletRequest> getGetter()
        Specified by:
        getGetter in class io.opentelemetry.instrumentation.servlet.ServletHttpServerTracer<javax.servlet.http.HttpServletRequest,​RESPONSE>
      • errorExceptionAttributeName

        protected String errorExceptionAttributeName()
        Specified by:
        errorExceptionAttributeName in class io.opentelemetry.instrumentation.servlet.ServletHttpServerTracer<javax.servlet.http.HttpServletRequest,​RESPONSE>