Class HttpClientTracer<REQUEST,​CARRIER,​RESPONSE>


  • public abstract class HttpClientTracer<REQUEST,​CARRIER,​RESPONSE>
    extends BaseTracer
    • Method Detail

      • shouldStartSpan

        public boolean shouldStartSpan​(io.opentelemetry.context.Context parentContext)
      • startSpan

        public io.opentelemetry.context.Context startSpan​(io.opentelemetry.context.Context parentContext,
                                                          REQUEST request,
                                                          CARRIER carrier)
      • startSpan

        public io.opentelemetry.context.Context startSpan​(io.opentelemetry.context.Context parentContext,
                                                          REQUEST request,
                                                          CARRIER carrier,
                                                          long startTimeNanos)
      • end

        public void end​(io.opentelemetry.context.Context context,
                        RESPONSE response)
      • end

        public void end​(io.opentelemetry.context.Context context,
                        RESPONSE response,
                        long endTimeNanos)
      • end

        public void end​(io.opentelemetry.context.Context context)
      • endExceptionally

        public void endExceptionally​(io.opentelemetry.context.Context context,
                                     RESPONSE response,
                                     Throwable throwable)
      • endExceptionally

        public void endExceptionally​(io.opentelemetry.context.Context context,
                                     RESPONSE response,
                                     Throwable throwable,
                                     long endTimeNanos)
      • endExceptionally

        public void endExceptionally​(io.opentelemetry.context.Context context,
                                     Throwable throwable)
      • endMaybeExceptionally

        public void endMaybeExceptionally​(io.opentelemetry.context.Context context,
                                          RESPONSE response,
                                          @Nullable Throwable throwable)