Package com.babelqueue.otel
package com.babelqueue.otel
Optional OpenTelemetry tracing for babelqueue (ADR-0025) — the Java mirror of the Go
babelqueue-go/otel module.
Tracing emits a CONSUMER span per handled message and
a PRODUCER span per publish, correlating them across every hop and SDK through the
envelope's trace_id — a UUID, which maps 1:1 to a 32-hex OpenTelemetry trace id. The
wire envelope is untouched, and io.opentelemetry:opentelemetry-api is declared as an
optional dependency, so the core stays zero-dependency for users who do not opt in.
Every hop that shares a trace_id shares one OTel trace. Exact cross-hop span
parent-child linkage (W3C traceparent as a transport header) is a documented follow-up.
-
ClassDescriptionPerforms the actual transport write for
Tracing.publish(io.opentelemetry.api.trace.Tracer, java.lang.String, java.util.Map<java.lang.String, java.lang.Object>, com.babelqueue.otel.Sender).Optional OpenTelemetry tracing for a babelqueue producer or consumer (ADR-0025) — the Java mirror of the Gobabelqueue-go/otel, Pythonbabelqueue.oteland Node@babelqueue/core/otelhelpers.