Class ArmeriaServerTracer


  • public class ArmeriaServerTracer
    extends io.opentelemetry.instrumentation.api.tracer.HttpServerTracer<com.linecorp.armeria.common.HttpRequest,​com.linecorp.armeria.common.logging.RequestLog,​com.linecorp.armeria.server.ServiceRequestContext,​Void>
    • Field Summary

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

        CONTEXT_ATTRIBUTE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @Nullable io.opentelemetry.context.Context getServerContext​(Void ctx)  
      • 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
    • Method Detail

      • getServerContext

        public @Nullable io.opentelemetry.context.Context getServerContext​(Void ctx)
        Specified by:
        getServerContext in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer<com.linecorp.armeria.common.HttpRequest,​com.linecorp.armeria.common.logging.RequestLog,​com.linecorp.armeria.server.ServiceRequestContext,​Void>