otel-go

Go in-code go.opentelemetry.io/otel1.42.0

attach otelhttp / otelgrpc wrappers + hand-written Kafka and AMQP carriers

48/64 cells pass
  • Pass
  • Partial
  • New trace
  • Fail
  • Undelivered
  • Not run

Explanations

OpenTelemetry carries the OpenTracing-era ot-baggage-* headers only with the opt-in ottrace propagator

config ot-baggage-* is a legacy OpenTracing convention. OpenTelemetry's default propagators are tracecontext and baggage; the OT Trace propagator that carries ot-baggage-* has to be selected.

The seeded ot-baggage-routing-key header is neither extracted nor re-emitted by any OpenTelemetry variant on any delivered boundary. Every variant here runs the SDK's default propagator set, tracecontext,baggage, and that set does not include the OpenTracing header format: OpenTelemetry standardised on W3C baggage, and the same values travel there instead.

The OpenTelemetry specification does list an opt-in OT Trace propagator (OTEL_PROPAGATORS=ottrace, marked deprecated) that reads and writes ot-tracer-traceid, ot-tracer-spanid, ot-tracer-sampled and ot-baggage-*, for applications migrating from OpenTracing. Several SDKs ship it as a separate package; it is never in the default set, and the harness has not measured it, so whether it makes these cells pass is documented, not verified.

The header outlives its deprecation only in Datadog's Java, Node and Go tracers, where it crosses all 16 boundaries as legacy behaviour of the datadog style (see datadog-ot-baggage-not-implemented for the Datadog tracers that do not carry it).

16 cells affected

otel-ot-baggage-not-default

Versions measured

Tracer
go.opentelemetry.io/otel 1.42.0 reported as v1.42.0 1.42.0 on goproxy github
Runtime
go1.26.11
Setup tier
in-code Instrumentation is woven into application code: wrappers at every client/server construction site and contexts threaded through (Go contribs, Rust propagator API with hand-written carriers).
Attach
otelhttp / otelgrpc wrappers + hand-written Kafka and AMQP carriers
Relay source
relays/go/otel
Ran at
11 Nov 2026, 12:55 UTC
Harness
20ceb46 · measured in backtest-otel-go-1.42.0
Raw JSON
1.42.0.json → variants[id = "otel-go"]

Libraries

grpcotelgrpc v0.67.0
httpotelhttp v0.67.0
kafkafranz-go v1.22.2 + kotel v1.6.0
rabbitmqamqp091-go v1.16.0 (manual otel.GetTextMapPropagator inject/extract; no official contrib)

Configuration

OTEL_PROPAGATORStracecontext,baggage
OTEL_TRACES_EXPORTERnone

Evidence per hop

What the driver seeded and what the sink observed, one entry per boundary.

HTTP HTTP baggage tracestate traceparent ot-baggage delivered via http

Seeded on the inbound HTTP request headers

baggage routing-key=rk-12604d13,team=alpha
ot-baggage-routing-key rk-12604d13
traceparent 00-59a7b6f2df9cebddb98517b94c5864e2-182d44d2e4012741-01
tracestate cptest=v1
x-cp-canary otel-go--http-http--574fe1ae

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-12604d13,team=alpha
content-length 42
content-type application/json
traceparent 00-59a7b6f2df9cebddb98517b94c5864e2-ac8384521cdabe34-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--http-http--574fe1ae
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent
HTTP gRPC baggage tracestate traceparent ot-baggage delivered via grpc

Seeded on the inbound HTTP request headers

baggage routing-key=rk-5b35bfe1,team=alpha
ot-baggage-routing-key rk-5b35bfe1
traceparent 00-1315f02d34b839a26bfeb3630be4748f-27b240659977dd1b-01
tracestate cptest=v1
x-cp-canary otel-go--http-grpc--f9729bf6

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-5b35bfe1,team=alpha
content-type application/grpc
traceparent 00-1315f02d34b839a26bfeb3630be4748f-9d3747c0d0cd69c6-01
tracestate cptest=v1
user-agent grpc-go/1.81.0-dev
test id
otel-go--http-grpc--f9729bf6
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent
HTTP Kafka baggage tracestate traceparent ot-baggage delivered via kafka

Seeded on the inbound HTTP request headers

baggage routing-key=rk-fbcfff2b,team=alpha
ot-baggage-routing-key rk-fbcfff2b
traceparent 00-2ba71028ed334f019289f98ceee5d299-c41e2eee75dab43a-01
tracestate cptest=v1
x-cp-canary otel-go--http-kafka--ecd0a082

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-fbcfff2b,team=alpha
traceparent 00-2ba71028ed334f019289f98ceee5d299-0fc246234c63ec6b-01
tracestate cptest=v1
test id
otel-go--http-kafka--ecd0a082
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent
HTTP RabbitMQ baggage tracestate traceparent ot-baggage delivered via rabbitmq

Seeded on the inbound HTTP request headers

baggage routing-key=rk-55c2fd3b,team=alpha
ot-baggage-routing-key rk-55c2fd3b
traceparent 00-86b8256ace834b0de33dd3887a4346f3-3953a4f5bce6314a-01
tracestate cptest=v1
x-cp-canary otel-go--http-rabbitmq--eab29c46

Observed at the sink on the outbound AMQP 0-9-1 message headers

baggage routing-key=rk-55c2fd3b,team=alpha
traceparent 00-86b8256ace834b0de33dd3887a4346f3-3ed6bccf0ac984a0-01
tracestate cptest=v1
test id
otel-go--http-rabbitmq--eab29c46
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent
gRPC HTTP baggage tracestate traceparent ot-baggage delivered via http

Seeded on the inbound gRPC metadata

baggage routing-key=rk-f3f48ddd,team=alpha
ot-baggage-routing-key rk-f3f48ddd
traceparent 00-f2e1e64cae1badf4f8eb07a437ce4c49-6ff9f5ccada606b6-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-http--ef802d74

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage team=alpha,routing-key=rk-f3f48ddd
content-length 42
content-type application/json
traceparent 00-f2e1e64cae1badf4f8eb07a437ce4c49-aa94aeb7d25d7d6a-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--grpc-http--ef802d74
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent
gRPC gRPC baggage tracestate traceparent ot-baggage delivered via grpc

Seeded on the inbound gRPC metadata

baggage routing-key=rk-e8abea1a,team=alpha
ot-baggage-routing-key rk-e8abea1a
traceparent 00-39874f93e934df3090ebda41d1773a17-c256c31c4b831c15-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-grpc--ad98d25a

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-e8abea1a,team=alpha
content-type application/grpc
traceparent 00-39874f93e934df3090ebda41d1773a17-8c5a317025c24d35-01
tracestate cptest=v1
user-agent grpc-go/1.81.0-dev
test id
otel-go--grpc-grpc--ad98d25a
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent
gRPC Kafka baggage tracestate traceparent ot-baggage delivered via kafka

Seeded on the inbound gRPC metadata

baggage routing-key=rk-857d3ad5,team=alpha
ot-baggage-routing-key rk-857d3ad5
traceparent 00-21d65b135de94109ac34ca0177f2e886-932763e5577d9da8-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-kafka--1eb057b1

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-857d3ad5,team=alpha
traceparent 00-21d65b135de94109ac34ca0177f2e886-ab47ef8bd2fe4d8f-01
tracestate cptest=v1
test id
otel-go--grpc-kafka--1eb057b1
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent
gRPC RabbitMQ baggage tracestate traceparent ot-baggage delivered via rabbitmq

Seeded on the inbound gRPC metadata

baggage routing-key=rk-e67f6948,team=alpha
ot-baggage-routing-key rk-e67f6948
traceparent 00-bab79f2bf36063b5d7739a16f59725ea-f15509ea5740d9a0-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-rabbitmq--79eb1f1c

Observed at the sink on the outbound AMQP 0-9-1 message headers

baggage routing-key=rk-e67f6948,team=alpha
traceparent 00-bab79f2bf36063b5d7739a16f59725ea-174c7d636b04fa46-01
tracestate cptest=v1
test id
otel-go--grpc-rabbitmq--79eb1f1c
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent
Kafka HTTP baggage tracestate traceparent ot-baggage delivered via http

Seeded on the inbound Kafka record headers

baggage routing-key=rk-e77b743d,team=alpha
ot-baggage-routing-key rk-e77b743d
traceparent 00-38a54037c259df96bd6e720cbcd3a1ed-8dea50bb6cddc30b-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-http--36f0f5f1

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-e77b743d,team=alpha
content-length 43
content-type application/json
traceparent 00-38a54037c259df96bd6e720cbcd3a1ed-ede52105e21d6c34-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--kafka-http--36f0f5f1
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent
Kafka gRPC baggage tracestate traceparent ot-baggage delivered via grpc

Seeded on the inbound Kafka record headers

baggage routing-key=rk-51c15071,team=alpha
ot-baggage-routing-key rk-51c15071
traceparent 00-0d36102050f314c2ba47c82a00ce5ab2-95031d9282d86351-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-grpc--464d5cc4

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-51c15071,team=alpha
content-type application/grpc
traceparent 00-0d36102050f314c2ba47c82a00ce5ab2-41aba9dd525dded6-01
tracestate cptest=v1
user-agent grpc-go/1.81.0-dev
test id
otel-go--kafka-grpc--464d5cc4
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent
Kafka Kafka baggage tracestate traceparent ot-baggage delivered via kafka

Seeded on the inbound Kafka record headers

baggage routing-key=rk-ef674e0f,team=alpha
ot-baggage-routing-key rk-ef674e0f
traceparent 00-cc8faa046d359ef1b6a711c2acdf8365-61f5a340822ca1cb-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-kafka--7fd5a31d

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-ef674e0f,team=alpha
traceparent 00-cc8faa046d359ef1b6a711c2acdf8365-642a62ea26b68b04-01
tracestate cptest=v1
test id
otel-go--kafka-kafka--7fd5a31d
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent
Kafka RabbitMQ baggage tracestate traceparent ot-baggage delivered via rabbitmq

Seeded on the inbound Kafka record headers

baggage routing-key=rk-de558db5,team=alpha
ot-baggage-routing-key rk-de558db5
traceparent 00-703e1b18725e4ffd17ed6c43d35e627e-6cd2b380040ab186-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-rabbitmq--747a209e

Observed at the sink on the outbound AMQP 0-9-1 message headers

baggage routing-key=rk-de558db5,team=alpha
traceparent 00-703e1b18725e4ffd17ed6c43d35e627e-5d2a9d697e9b4915-01
tracestate cptest=v1
test id
otel-go--kafka-rabbitmq--747a209e
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent
RabbitMQ HTTP baggage tracestate traceparent ot-baggage delivered via http

Seeded on the inbound AMQP 0-9-1 message headers

baggage routing-key=rk-7dfe44ab,team=alpha
ot-baggage-routing-key rk-7dfe44ab
traceparent 00-a919a84b68b5dfb3403bf40461be6763-59d248b8763366e3-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-http--b77158ae

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-7dfe44ab,team=alpha
content-length 46
content-type application/json
traceparent 00-a919a84b68b5dfb3403bf40461be6763-b4f143fd32daaf1a-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--rabbitmq-http--b77158ae
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent
RabbitMQ gRPC baggage tracestate traceparent ot-baggage delivered via grpc

Seeded on the inbound AMQP 0-9-1 message headers

baggage routing-key=rk-350b56fd,team=alpha
ot-baggage-routing-key rk-350b56fd
traceparent 00-c1782576f332cbdc65e404b770182137-deacf5a14ed03d46-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-grpc--3dae3cbf

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-350b56fd,team=alpha
content-type application/grpc
traceparent 00-c1782576f332cbdc65e404b770182137-4a330d8c8dba7363-01
tracestate cptest=v1
user-agent grpc-go/1.81.0-dev
test id
otel-go--rabbitmq-grpc--3dae3cbf
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent
RabbitMQ Kafka baggage tracestate traceparent ot-baggage delivered via kafka

Seeded on the inbound AMQP 0-9-1 message headers

baggage routing-key=rk-ee6c5e43,team=alpha
ot-baggage-routing-key rk-ee6c5e43
traceparent 00-492cc24abb5c455725de89a53ddf8483-741fe980c63f8eee-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-kafka--a70129cc

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-ee6c5e43,team=alpha
traceparent 00-492cc24abb5c455725de89a53ddf8483-9840b691e18b2141-01
tracestate cptest=v1
test id
otel-go--rabbitmq-kafka--a70129cc
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent
RabbitMQ RabbitMQ baggage tracestate traceparent ot-baggage delivered via rabbitmq

Seeded on the inbound AMQP 0-9-1 message headers

baggage routing-key=rk-2b145bc0,team=alpha
ot-baggage-routing-key rk-2b145bc0
traceparent 00-d14fd9550e37786825ca4ef183ab4b6c-33a3602af03a1ee0-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-rabbitmq--544d3fb3

Observed at the sink on the outbound AMQP 0-9-1 message headers

baggage routing-key=rk-2b145bc0,team=alpha
traceparent 00-d14fd9550e37786825ca4ef183ab4b6c-8a00cedaab0b3a03-01
tracestate cptest=v1
test id
otel-go--rabbitmq-rabbitmq--544d3fb3
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent

Cells are generated by the harness, never transcribed from documentation. Report a wrong one.