Class RedisClientInstrumenterVertxTracer
java.lang.Object
io.quarkus.opentelemetry.runtime.tracing.intrumentation.vertx.RedisClientInstrumenterVertxTracer
- All Implemented Interfaces:
InstrumenterVertxTracer<RedisClientInstrumenterVertxTracer.CommandTrace,,Object> io.vertx.core.spi.tracing.VertxTracer<OpenTelemetryVertxTracer.SpanOperation,OpenTelemetryVertxTracer.SpanOperation>
public class RedisClientInstrumenterVertxTracer
extends Object
implements InstrumenterVertxTracer<RedisClientInstrumenterVertxTracer.CommandTrace,Object>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class(package private) static enum(package private) static enum -
Field Summary
Fields inherited from interface io.vertx.core.spi.tracing.VertxTracer
NOOP -
Constructor Summary
ConstructorsConstructorDescriptionRedisClientInstrumenterVertxTracer(io.opentelemetry.api.OpenTelemetry openTelemetry, OTelRuntimeConfig runtimeConfig) -
Method Summary
Modifier and TypeMethodDescription<R> booleancanHandle(R request, io.vertx.core.spi.tracing.TagExtractor<R> tagExtractor) io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<RedisClientInstrumenterVertxTracer.CommandTrace,Object> io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<RedisClientInstrumenterVertxTracer.CommandTrace,Object> io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<RedisClientInstrumenterVertxTracer.CommandTrace,Object> io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<RedisClientInstrumenterVertxTracer.CommandTrace,Object> <R> voidreceiveResponse(io.vertx.core.Context context, R response, OpenTelemetryVertxTracer.SpanOperation spanOperation, Throwable failure, io.vertx.core.spi.tracing.TagExtractor<R> tagExtractor) 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) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.opentelemetry.runtime.tracing.intrumentation.vertx.InstrumenterVertxTracer
receiveRequest, sendResponse, spanOperation, writableHeadersMethods inherited from interface io.vertx.core.spi.tracing.VertxTracer
close
-
Constructor Details
-
RedisClientInstrumenterVertxTracer
public RedisClientInstrumenterVertxTracer(io.opentelemetry.api.OpenTelemetry openTelemetry, OTelRuntimeConfig runtimeConfig)
-
-
Method Details
-
canHandle
public <R> boolean canHandle(R request, io.vertx.core.spi.tracing.TagExtractor<R> tagExtractor) - Specified by:
canHandlein interfaceInstrumenterVertxTracer<RedisClientInstrumenterVertxTracer.CommandTrace,Object>
-
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 interfaceInstrumenterVertxTracer<RedisClientInstrumenterVertxTracer.CommandTrace,Object> - 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 interfaceInstrumenterVertxTracer<RedisClientInstrumenterVertxTracer.CommandTrace,Object> - Specified by:
receiveResponsein interfaceio.vertx.core.spi.tracing.VertxTracer<OpenTelemetryVertxTracer.SpanOperation,OpenTelemetryVertxTracer.SpanOperation>
-
getReceiveRequestInstrumenter
public io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<RedisClientInstrumenterVertxTracer.CommandTrace,Object> getReceiveRequestInstrumenter()- Specified by:
getReceiveRequestInstrumenterin interfaceInstrumenterVertxTracer<RedisClientInstrumenterVertxTracer.CommandTrace,Object>
-
getSendResponseInstrumenter
public io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<RedisClientInstrumenterVertxTracer.CommandTrace,Object> getSendResponseInstrumenter()- Specified by:
getSendResponseInstrumenterin interfaceInstrumenterVertxTracer<RedisClientInstrumenterVertxTracer.CommandTrace,Object>
-
getSendRequestInstrumenter
public io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<RedisClientInstrumenterVertxTracer.CommandTrace,Object> getSendRequestInstrumenter()- Specified by:
getSendRequestInstrumenterin interfaceInstrumenterVertxTracer<RedisClientInstrumenterVertxTracer.CommandTrace,Object>
-
getReceiveResponseInstrumenter
public io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<RedisClientInstrumenterVertxTracer.CommandTrace,Object> getReceiveResponseInstrumenter()- Specified by:
getReceiveResponseInstrumenterin interfaceInstrumenterVertxTracer<RedisClientInstrumenterVertxTracer.CommandTrace,Object>
-