Class OpenTelemetryVertxTracer
- java.lang.Object
-
- io.quarkus.opentelemetry.runtime.tracing.intrumentation.vertx.OpenTelemetryVertxTracer
-
- All Implemented Interfaces:
io.vertx.core.spi.tracing.VertxTracer<OpenTelemetryVertxTracer.SpanOperation,OpenTelemetryVertxTracer.SpanOperation>
public class OpenTelemetryVertxTracer extends Object implements io.vertx.core.spi.tracing.VertxTracer<OpenTelemetryVertxTracer.SpanOperation,OpenTelemetryVertxTracer.SpanOperation>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classOpenTelemetryVertxTracer.SpanOperation
-
Constructor Summary
Constructors Constructor Description OpenTelemetryVertxTracer(List<InstrumenterVertxTracer<?,?>> instrumenterVertxTracers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <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)<R> voidreceiveResponse(io.vertx.core.Context context, R response, OpenTelemetryVertxTracer.SpanOperation spanOperation, Throwable failure, io.vertx.core.spi.tracing.TagExtractor<R> tagExtractor)<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)<R> voidsendResponse(io.vertx.core.Context context, R response, OpenTelemetryVertxTracer.SpanOperation spanOperation, Throwable failure, io.vertx.core.spi.tracing.TagExtractor<R> tagExtractor)
-
-
-
Constructor Detail
-
OpenTelemetryVertxTracer
public OpenTelemetryVertxTracer(List<InstrumenterVertxTracer<?,?>> instrumenterVertxTracers)
-
-
Method Detail
-
receiveRequest
public <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:
receiveRequestin interfaceio.vertx.core.spi.tracing.VertxTracer<OpenTelemetryVertxTracer.SpanOperation,OpenTelemetryVertxTracer.SpanOperation>
-
sendResponse
public <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:
sendResponsein interfaceio.vertx.core.spi.tracing.VertxTracer<OpenTelemetryVertxTracer.SpanOperation,OpenTelemetryVertxTracer.SpanOperation>
-
sendRequest
public <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:
sendRequestin interfaceio.vertx.core.spi.tracing.VertxTracer<OpenTelemetryVertxTracer.SpanOperation,OpenTelemetryVertxTracer.SpanOperation>
-
receiveResponse
public <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:
receiveResponsein interfaceio.vertx.core.spi.tracing.VertxTracer<OpenTelemetryVertxTracer.SpanOperation,OpenTelemetryVertxTracer.SpanOperation>
-
-