Interface InstrumenterVertxTracer<REQ,​RESP>

    • Method Detail

      • receiveRequest

        default <R> OpenTelemetryVertxTracer.SpanOperation receiveRequest​(io.vertx.core.Context context,
                                                                          io.vertx.core.spi.tracing.SpanKind kind,
                                                                          io.vertx.core.tracing.TracingPolicy policy,
                                                                          R request,
                                                                          String operation,
                                                                          Iterable<Map.Entry<String,​String>> headers,
                                                                          io.vertx.core.spi.tracing.TagExtractor<R> tagExtractor)
        Specified by:
        receiveRequest in interface io.vertx.core.spi.tracing.VertxTracer<REQ,​RESP>
      • sendResponse

        default <R> void sendResponse​(io.vertx.core.Context context,
                                      R response,
                                      OpenTelemetryVertxTracer.SpanOperation spanOperation,
                                      Throwable failure,
                                      io.vertx.core.spi.tracing.TagExtractor<R> tagExtractor)
        Specified by:
        sendResponse in interface io.vertx.core.spi.tracing.VertxTracer<REQ,​RESP>
      • sendRequest

        default <R> OpenTelemetryVertxTracer.SpanOperation sendRequest​(io.vertx.core.Context context,
                                                                       io.vertx.core.spi.tracing.SpanKind kind,
                                                                       io.vertx.core.tracing.TracingPolicy policy,
                                                                       R request,
                                                                       String operation,
                                                                       BiConsumer<String,​String> headers,
                                                                       io.vertx.core.spi.tracing.TagExtractor<R> tagExtractor)
        Specified by:
        sendRequest in interface io.vertx.core.spi.tracing.VertxTracer<REQ,​RESP>
      • receiveResponse

        default <R> void receiveResponse​(io.vertx.core.Context context,
                                         R response,
                                         OpenTelemetryVertxTracer.SpanOperation spanOperation,
                                         Throwable failure,
                                         io.vertx.core.spi.tracing.TagExtractor<R> tagExtractor)
        Specified by:
        receiveResponse in interface io.vertx.core.spi.tracing.VertxTracer<REQ,​RESP>
      • canHandle

        <R> boolean canHandle​(R request,
                              io.vertx.core.spi.tracing.TagExtractor<R> tagExtractor)
      • getReceiveRequestInstrumenter

        io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<REQ,​RESP> getReceiveRequestInstrumenter()
      • getSendResponseInstrumenter

        io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<REQ,​RESP> getSendResponseInstrumenter()
      • getSendRequestInstrumenter

        io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<REQ,​RESP> getSendRequestInstrumenter()
      • getReceiveResponseInstrumenter

        io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<REQ,​RESP> getReceiveResponseInstrumenter()
      • spanOperation

        default OpenTelemetryVertxTracer.SpanOperation spanOperation​(io.vertx.core.Context context,
                                                                     REQ request,
                                                                     io.vertx.core.MultiMap headers,
                                                                     io.opentelemetry.context.Context spanContext,
                                                                     io.opentelemetry.context.Scope scope)