Interface InstrumenterVertxTracer<REQ,RESP>
-
- All Superinterfaces:
io.vertx.core.spi.tracing.VertxTracer<OpenTelemetryVertxTracer.SpanOperation,OpenTelemetryVertxTracer.SpanOperation>
- All Known Implementing Classes:
EventBusInstrumenterVertxTracer,HttpInstrumenterVertxTracer,SqlClientInstrumenterVertxTracer
public interface InstrumenterVertxTracer<REQ,RESP> extends io.vertx.core.spi.tracing.VertxTracer<OpenTelemetryVertxTracer.SpanOperation,OpenTelemetryVertxTracer.SpanOperation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description <R> booleancanHandle(R request, io.vertx.core.spi.tracing.TagExtractor<R> tagExtractor)io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<REQ,RESP>getReceiveRequestInstrumenter()io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<REQ,RESP>getReceiveResponseInstrumenter()io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<REQ,RESP>getSendRequestInstrumenter()io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<REQ,RESP>getSendResponseInstrumenter()default <R> OpenTelemetryVertxTracer.SpanOperationreceiveRequest(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)default <R> voidreceiveResponse(io.vertx.core.Context context, R response, OpenTelemetryVertxTracer.SpanOperation spanOperation, Throwable failure, io.vertx.core.spi.tracing.TagExtractor<R> tagExtractor)default <R> OpenTelemetryVertxTracer.SpanOperationsendRequest(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)default <R> voidsendResponse(io.vertx.core.Context context, R response, OpenTelemetryVertxTracer.SpanOperation spanOperation, Throwable failure, io.vertx.core.spi.tracing.TagExtractor<R> tagExtractor)default OpenTelemetryVertxTracer.SpanOperationspanOperation(io.vertx.core.Context context, REQ request, io.vertx.core.MultiMap headers, io.opentelemetry.context.Context spanContext, io.opentelemetry.context.Scope scope)default REQwritableHeaders(REQ request, BiConsumer<String,String> headers)
-
-
-
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)
-
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)
-
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)
-
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)
-
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)
-
writableHeaders
default REQ writableHeaders(REQ request, BiConsumer<String,String> headers)
-
-