Class TracingUtils
java.lang.Object
io.smallrye.reactive.messaging.tracing.TracingUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic io.opentelemetry.api.OpenTelemetrygetOpenTelemetry(jakarta.enterprise.inject.Instance<io.opentelemetry.api.OpenTelemetry> openTelemetryInstance) static <T> org.eclipse.microprofile.reactive.messaging.Message<?> traceIncoming(io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<T, Void> instrumenter, org.eclipse.microprofile.reactive.messaging.Message<?> msg, T trace) static <T> org.eclipse.microprofile.reactive.messaging.Message<?> traceIncoming(io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<T, Void> instrumenter, org.eclipse.microprofile.reactive.messaging.Message<?> msg, T trace, boolean makeCurrent) static <T> voidtraceOutgoing(io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<T, Void> instrumenter, org.eclipse.microprofile.reactive.messaging.Message<?> message, T trace)
-
Method Details
-
getOpenTelemetry
public static io.opentelemetry.api.OpenTelemetry getOpenTelemetry(jakarta.enterprise.inject.Instance<io.opentelemetry.api.OpenTelemetry> openTelemetryInstance) -
traceOutgoing
public static <T> void traceOutgoing(io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<T, Void> instrumenter, org.eclipse.microprofile.reactive.messaging.Message<?> message, T trace) -
traceIncoming
public static <T> org.eclipse.microprofile.reactive.messaging.Message<?> traceIncoming(io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<T, Void> instrumenter, org.eclipse.microprofile.reactive.messaging.Message<?> msg, T trace) -
traceIncoming
public static <T> org.eclipse.microprofile.reactive.messaging.Message<?> traceIncoming(io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<T, Void> instrumenter, org.eclipse.microprofile.reactive.messaging.Message<?> msg, T trace, boolean makeCurrent)
-