Class MessagingTelemetrySignals

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

public final class MessagingTelemetrySignals extends Object
An immutable set of messaging telemetry signals, where each entry is one MessagingTelemetrySignal of one MessagingOperationType.

Signal presence means either that the signal was already emitted or that an outer operation selected it for emission. A nested operation can use that information to avoid emitting the same signal.

Signals are held as one bit per signal of each operation that has any. The representation is small enough to keep in a Context, in a weak map keyed by a message, or in a thread local.

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