Class PulsarAttributesExtractor
java.lang.Object
io.smallrye.reactive.messaging.pulsar.tracing.PulsarAttributesExtractor
- All Implemented Interfaces:
io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor<PulsarTrace,Void>
public class PulsarAttributesExtractor
extends Object
implements io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor<PulsarTrace,Void>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.opentelemetry.instrumentation.api.instrumenter.messaging.MessagingAttributesGetter<PulsarTrace,Void> voidonEnd(io.opentelemetry.api.common.AttributesBuilder attributes, io.opentelemetry.context.Context context, PulsarTrace pulsarTrace, Void unused, Throwable error) voidonStart(io.opentelemetry.api.common.AttributesBuilder attributes, io.opentelemetry.context.Context parentContext, PulsarTrace pulsarTrace)
-
Constructor Details
-
PulsarAttributesExtractor
public PulsarAttributesExtractor()
-
-
Method Details
-
onStart
public void onStart(io.opentelemetry.api.common.AttributesBuilder attributes, io.opentelemetry.context.Context parentContext, PulsarTrace pulsarTrace) - Specified by:
onStartin interfaceio.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor<PulsarTrace,Void>
-
onEnd
public void onEnd(io.opentelemetry.api.common.AttributesBuilder attributes, io.opentelemetry.context.Context context, PulsarTrace pulsarTrace, Void unused, Throwable error) - Specified by:
onEndin interfaceio.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor<PulsarTrace,Void>
-
getMessagingAttributesGetter
public io.opentelemetry.instrumentation.api.instrumenter.messaging.MessagingAttributesGetter<PulsarTrace,Void> getMessagingAttributesGetter()
-