Class MessagingExceptionEventExtractors

java.lang.Object
io.opentelemetry.instrumentation.api.incubator.semconv.messaging.internal.MessagingExceptionEventExtractors

public final class MessagingExceptionEventExtractors extends Object
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
  • Method Details

    • setMessagingCreateExceptionEventExtractor

      public static <REQUEST> void setMessagingCreateExceptionEventExtractor(io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder<REQUEST,?> builder)
      Configures the messaging create exception event name and severity. Only takes effect when emitting exceptions as logs is enabled via the otel.semconv.exception.signal.preview flag.
    • setMessagingSendExceptionEventExtractor

      public static <REQUEST> void setMessagingSendExceptionEventExtractor(io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder<REQUEST,?> builder)
      Configures the messaging send exception event name and severity. Only takes effect when emitting exceptions as logs is enabled via the otel.semconv.exception.signal.preview flag.
    • setMessagingReceiveExceptionEventExtractor

      public static <REQUEST> void setMessagingReceiveExceptionEventExtractor(io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder<REQUEST,?> builder)
      Configures the messaging receive exception event name and severity. Only takes effect when emitting exceptions as logs is enabled via the otel.semconv.exception.signal.preview flag.
    • setMessagingSettleExceptionEventExtractor

      public static <REQUEST> void setMessagingSettleExceptionEventExtractor(io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder<REQUEST,?> builder)
      Configures the messaging settle exception event name and severity. Only takes effect when emitting exceptions as logs is enabled via the otel.semconv.exception.signal.preview flag.
    • setMessagingProcessExceptionEventExtractor

      public static <REQUEST> void setMessagingProcessExceptionEventExtractor(io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder<REQUEST,?> builder)
      Configures the messaging process exception event name and severity. Only takes effect when emitting exceptions as logs is enabled via the otel.semconv.exception.signal.preview flag.