Enum Class RedisClientInstrumenterVertxTracer.RedisClientAttributesExtractor
java.lang.Object
java.lang.Enum<RedisClientInstrumenterVertxTracer.RedisClientAttributesExtractor>
io.quarkus.opentelemetry.runtime.tracing.instrumentation.vertx.RedisClientInstrumenterVertxTracer.RedisClientAttributesExtractor
- All Implemented Interfaces:
io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor<RedisClientInstrumenterVertxTracer.CommandTrace,,Object> Serializable,Comparable<RedisClientInstrumenterVertxTracer.RedisClientAttributesExtractor>,Constable
- Enclosing class:
RedisClientInstrumenterVertxTracer
static enum RedisClientInstrumenterVertxTracer.RedisClientAttributesExtractor
extends Enum<RedisClientInstrumenterVertxTracer.RedisClientAttributesExtractor>
implements io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor<RedisClientInstrumenterVertxTracer.CommandTrace,Object>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionvoidonEnd(io.opentelemetry.api.common.AttributesBuilder attributes, io.opentelemetry.context.Context context, RedisClientInstrumenterVertxTracer.CommandTrace request, Object response, Throwable error) voidonStart(io.opentelemetry.api.common.AttributesBuilder attributes, io.opentelemetry.context.Context parentContext, RedisClientInstrumenterVertxTracer.CommandTrace request) Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
public static RedisClientInstrumenterVertxTracer.RedisClientAttributesExtractor valueOf(String name) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
onStart
public void onStart(io.opentelemetry.api.common.AttributesBuilder attributes, io.opentelemetry.context.Context parentContext, RedisClientInstrumenterVertxTracer.CommandTrace request) - Specified by:
onStartin interfaceio.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor<RedisClientInstrumenterVertxTracer.CommandTrace,Object>
-
onEnd
public void onEnd(io.opentelemetry.api.common.AttributesBuilder attributes, io.opentelemetry.context.Context context, RedisClientInstrumenterVertxTracer.CommandTrace request, Object response, Throwable error) - Specified by:
onEndin interfaceio.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor<RedisClientInstrumenterVertxTracer.CommandTrace,Object>
-