otel-go

Go in-code go.opentelemetry.io/otel1.38.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.38.0 reported as v1.38.0 1.38.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.38.0
Raw JSON
1.38.0.json → variants[id = "otel-go"]

Libraries

grpcotelgrpc v0.63.0
httpotelhttp v0.63.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-53778ffb,team=alpha
ot-baggage-routing-key rk-53778ffb
traceparent 00-5b478500de256e7cc4f8b9310849d028-e39e8de9699b092b-01
tracestate cptest=v1
x-cp-canary otel-go--http-http--416eb628

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage team=alpha,routing-key=rk-53778ffb
content-length 42
content-type application/json
traceparent 00-5b478500de256e7cc4f8b9310849d028-e503df093ec0e694-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--http-http--416eb628
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-bc05edbf,team=alpha
ot-baggage-routing-key rk-bc05edbf
traceparent 00-935ce2e256ac9967296cda798daae1c3-7b49791a27bb5efe-01
tracestate cptest=v1
x-cp-canary otel-go--http-grpc--20829f71

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-bc05edbf,team=alpha
content-type application/grpc
traceparent 00-935ce2e256ac9967296cda798daae1c3-66d0cf07919f0d72-01
tracestate cptest=v1
user-agent grpc-go/1.79.0-dev
test id
otel-go--http-grpc--20829f71
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-ce5b2250,team=alpha
ot-baggage-routing-key rk-ce5b2250
traceparent 00-ef46ed1eb4186cbd4231f5f642e126bb-c414476974f0ff67-01
tracestate cptest=v1
x-cp-canary otel-go--http-kafka--a8fde286

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-ce5b2250,team=alpha
traceparent 00-ef46ed1eb4186cbd4231f5f642e126bb-6d88a555e189f630-01
tracestate cptest=v1
test id
otel-go--http-kafka--a8fde286
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-972f00ab,team=alpha
ot-baggage-routing-key rk-972f00ab
traceparent 00-7559ff525b06b94c44f647d92a3d2db7-8184b93dc81b4398-01
tracestate cptest=v1
x-cp-canary otel-go--http-rabbitmq--6bf2e20c

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

baggage routing-key=rk-972f00ab,team=alpha
traceparent 00-7559ff525b06b94c44f647d92a3d2db7-a82dbe6bebf1db6e-01
tracestate cptest=v1
test id
otel-go--http-rabbitmq--6bf2e20c
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-148a2ad8,team=alpha
ot-baggage-routing-key rk-148a2ad8
traceparent 00-4cfec01bec320557618da00b851e18d7-eb7cb06edcc7569e-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-http--f3969b26

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-148a2ad8,team=alpha
content-length 42
content-type application/json
traceparent 00-4cfec01bec320557618da00b851e18d7-7aef1af4c1016334-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--grpc-http--f3969b26
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-0ad6e70a,team=alpha
ot-baggage-routing-key rk-0ad6e70a
traceparent 00-a5665ae55386b59252b5689429707ce3-33283a07cf68fade-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-grpc--b029e6c3

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-0ad6e70a,team=alpha
content-type application/grpc
traceparent 00-a5665ae55386b59252b5689429707ce3-b553d6f56b46955c-01
tracestate cptest=v1
user-agent grpc-go/1.79.0-dev
test id
otel-go--grpc-grpc--b029e6c3
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-2d65ba5b,team=alpha
ot-baggage-routing-key rk-2d65ba5b
traceparent 00-3937464ae9ee750b9757fa3a7c599513-0689e75c18a6814c-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-kafka--f6f0ee32

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-2d65ba5b,team=alpha
traceparent 00-3937464ae9ee750b9757fa3a7c599513-a21f997d86801d5b-01
tracestate cptest=v1
test id
otel-go--grpc-kafka--f6f0ee32
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-f0c70a37,team=alpha
ot-baggage-routing-key rk-f0c70a37
traceparent 00-4c6bd586f76ccab3b46d07c897bcdfd1-a1c597c271cffa6b-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-rabbitmq--d670135f

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

baggage routing-key=rk-f0c70a37,team=alpha
traceparent 00-4c6bd586f76ccab3b46d07c897bcdfd1-da50d2b5e63931eb-01
tracestate cptest=v1
test id
otel-go--grpc-rabbitmq--d670135f
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-4467bfec,team=alpha
ot-baggage-routing-key rk-4467bfec
traceparent 00-a6c5665b373ec710b6ffae9a9053d0ac-96454e87e7642082-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-http--d94d37d5

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-4467bfec,team=alpha
content-length 43
content-type application/json
traceparent 00-a6c5665b373ec710b6ffae9a9053d0ac-fe60fdb458ff9e15-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--kafka-http--d94d37d5
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-dc7aa6d6,team=alpha
ot-baggage-routing-key rk-dc7aa6d6
traceparent 00-ab715a258390842d1a298ce45b051db4-28049903b09201de-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-grpc--7ace25d2

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-dc7aa6d6,team=alpha
content-type application/grpc
traceparent 00-ab715a258390842d1a298ce45b051db4-765f4d2910ce462f-01
tracestate cptest=v1
user-agent grpc-go/1.79.0-dev
test id
otel-go--kafka-grpc--7ace25d2
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-991757b8,team=alpha
ot-baggage-routing-key rk-991757b8
traceparent 00-811613771d145e1c092d0da77b7b55b4-d2258b58df0580e2-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-kafka--d0d123ed

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-991757b8,team=alpha
traceparent 00-811613771d145e1c092d0da77b7b55b4-ad15ca386b77cfb0-01
tracestate cptest=v1
test id
otel-go--kafka-kafka--d0d123ed
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-d5b53520,team=alpha
ot-baggage-routing-key rk-d5b53520
traceparent 00-9527f4e3f02bdd2678c21824c1ae6bea-ceab17408912ef7c-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-rabbitmq--87238b09

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

baggage routing-key=rk-d5b53520,team=alpha
traceparent 00-9527f4e3f02bdd2678c21824c1ae6bea-93b1c1acccb2b192-01
tracestate cptest=v1
test id
otel-go--kafka-rabbitmq--87238b09
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-5077b50b,team=alpha
ot-baggage-routing-key rk-5077b50b
traceparent 00-7976ef3a35bba8a24891cc5367f0bb31-d8c214f7b3a5b417-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-http--7dd8ced2

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-5077b50b,team=alpha
content-length 46
content-type application/json
traceparent 00-7976ef3a35bba8a24891cc5367f0bb31-c2725ceb95866a35-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--rabbitmq-http--7dd8ced2
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-00f423d2,team=alpha
ot-baggage-routing-key rk-00f423d2
traceparent 00-5382ece8cad1bc13db728d24774251d5-0107708cdbcdd25e-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-grpc--c7a35acc

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage team=alpha,routing-key=rk-00f423d2
content-type application/grpc
traceparent 00-5382ece8cad1bc13db728d24774251d5-5f52bdd93be0785d-01
tracestate cptest=v1
user-agent grpc-go/1.79.0-dev
test id
otel-go--rabbitmq-grpc--c7a35acc
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-04173ebc,team=alpha
ot-baggage-routing-key rk-04173ebc
traceparent 00-c12c0f1f0b033a5f90fbee49e5fe00b4-ce0a8573c7950cbb-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-kafka--b832d46e

Observed at the sink on the outbound Kafka record headers

baggage team=alpha,routing-key=rk-04173ebc
traceparent 00-c12c0f1f0b033a5f90fbee49e5fe00b4-316dfcdb2ba61980-01
tracestate cptest=v1
test id
otel-go--rabbitmq-kafka--b832d46e
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-0994cd20,team=alpha
ot-baggage-routing-key rk-0994cd20
traceparent 00-4413c5e83508451182c3f5ec18b4b0a4-b0e9d79f72038673-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-rabbitmq--c36693bf

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

baggage routing-key=rk-0994cd20,team=alpha
traceparent 00-4413c5e83508451182c3f5ec18b4b0a4-1a83ecae5bede3f7-01
tracestate cptest=v1
test id
otel-go--rabbitmq-rabbitmq--c36693bf
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent

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