Enum MessagingTelemetrySignal

java.lang.Object
java.lang.Enum<MessagingTelemetrySignal>
io.opentelemetry.instrumentation.api.incubator.semconv.messaging.internal.MessagingTelemetrySignal
All Implemented Interfaces:
Serializable, Comparable<MessagingTelemetrySignal>, java.lang.constant.Constable

public enum MessagingTelemetrySignal extends Enum<MessagingTelemetrySignal>
An individual telemetry signal that a messaging instrumentation can emit for one messaging operation.

Signals are tracked separately so the presence of a process span, for example, does not affect which instrumentation counts delivered messages.

This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.

  • Enum Constant Details

    • SPAN

      public static final MessagingTelemetrySignal SPAN
      The span describing the operation.
    • CLIENT_OPERATION_DURATION

      public static final MessagingTelemetrySignal CLIENT_OPERATION_DURATION
      The messaging.client.operation.duration histogram.
    • PROCESS_DURATION

      public static final MessagingTelemetrySignal PROCESS_DURATION
      The messaging.process.duration histogram.
    • SENT_MESSAGES

      public static final MessagingTelemetrySignal SENT_MESSAGES
      The messaging.client.sent.messages counter.
    • CONSUMED_MESSAGES

      public static final MessagingTelemetrySignal CONSUMED_MESSAGES
      The messaging.client.consumed.messages counter.
  • Method Details

    • values

      public static MessagingTelemetrySignal[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static MessagingTelemetrySignal valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null