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
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThemessaging.client.operation.durationhistogram.Themessaging.client.consumed.messagescounter.Themessaging.process.durationhistogram.Themessaging.client.sent.messagescounter.The span describing the operation. -
Method Summary
Modifier and TypeMethodDescriptionstatic MessagingTelemetrySignalReturns the enum constant of this type with the specified name.static MessagingTelemetrySignal[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SPAN
The span describing the operation. -
CLIENT_OPERATION_DURATION
Themessaging.client.operation.durationhistogram. -
PROCESS_DURATION
Themessaging.process.durationhistogram. -
SENT_MESSAGES
Themessaging.client.sent.messagescounter. -
CONSUMED_MESSAGES
Themessaging.client.consumed.messagescounter.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-