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 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:
      onStart in interface io.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:
      onEnd in interface io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor<PulsarTrace,Void>
    • getMessagingAttributesGetter

      public io.opentelemetry.instrumentation.api.instrumenter.messaging.MessagingAttributesGetter<PulsarTrace,Void> getMessagingAttributesGetter()