otel-go

Go in-code go.opentelemetry.io/otel1.22.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.22.0 reported as v1.22.0 1.22.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, 08:41 UTC
Harness
5900298 · measured in backtest-otel-go-1.22.0
Raw JSON
1.22.0.json → variants[id = "otel-go"]

Libraries

grpcotelgrpc v0.47.0
httpotelhttp v0.47.0
kafkafranz-go v1.22.2 + kotel v1.4.1
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-7705ef8b,team=alpha
ot-baggage-routing-key rk-7705ef8b
traceparent 00-28447180c05911aede39b65de7d746d8-9f7f940c4b6b7db3-01
tracestate cptest=v1
x-cp-canary otel-go--http-http--650e1099

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-7705ef8b,team=alpha
content-length 42
content-type application/json
traceparent 00-28447180c05911aede39b65de7d746d8-6842621ed33bf440-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--http-http--650e1099
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-2aa3cefc,team=alpha
ot-baggage-routing-key rk-2aa3cefc
traceparent 00-c79056397a2ee468b7d965dd20b0f059-b3e99ccdfdc0e808-01
tracestate cptest=v1
x-cp-canary otel-go--http-grpc--c4407f4c

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-2aa3cefc,team=alpha
content-type application/grpc
traceparent 00-c79056397a2ee468b7d965dd20b0f059-6e91c30e6ce0682c-01
tracestate cptest=v1
user-agent grpc-go/1.69.0-dev
test id
otel-go--http-grpc--c4407f4c
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-a889ea03,team=alpha
ot-baggage-routing-key rk-a889ea03
traceparent 00-d25ba958e45191c32d2ddb291ba63503-86731e311dafa558-01
tracestate cptest=v1
x-cp-canary otel-go--http-kafka--9a646cea

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-a889ea03,team=alpha
traceparent 00-d25ba958e45191c32d2ddb291ba63503-c88d8fa0573118f7-01
tracestate cptest=v1
test id
otel-go--http-kafka--9a646cea
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-9dc902f3,team=alpha
ot-baggage-routing-key rk-9dc902f3
traceparent 00-eef0bfe03cfd9f693266ff2a36c2cd73-c173edaddba5e80b-01
tracestate cptest=v1
x-cp-canary otel-go--http-rabbitmq--aab559d7

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

baggage routing-key=rk-9dc902f3,team=alpha
traceparent 00-eef0bfe03cfd9f693266ff2a36c2cd73-816a3b63cb846c0b-01
tracestate cptest=v1
test id
otel-go--http-rabbitmq--aab559d7
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-4ebeac3c,team=alpha
ot-baggage-routing-key rk-4ebeac3c
traceparent 00-f573e1bf1f2977014cb966571e86dbdf-fafab49de955229a-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-http--2ac2b89c

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-4ebeac3c,team=alpha
content-length 42
content-type application/json
traceparent 00-f573e1bf1f2977014cb966571e86dbdf-ffeeb3d90070ca40-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--grpc-http--2ac2b89c
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-aab9c7a1,team=alpha
ot-baggage-routing-key rk-aab9c7a1
traceparent 00-3eaecf41a05a5206755887999505cedb-5461b42e6112c358-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-grpc--0f8904b1

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage team=alpha,routing-key=rk-aab9c7a1
content-type application/grpc
traceparent 00-3eaecf41a05a5206755887999505cedb-c854bdd1b9a2a7a0-01
tracestate cptest=v1
user-agent grpc-go/1.69.0-dev
test id
otel-go--grpc-grpc--0f8904b1
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-48e07db7,team=alpha
ot-baggage-routing-key rk-48e07db7
traceparent 00-3a631e58c5c6111a24603bb719d69eaf-fc707c33da419087-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-kafka--f579d2dd

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-48e07db7,team=alpha
traceparent 00-3a631e58c5c6111a24603bb719d69eaf-c8fa9597711e191c-01
tracestate cptest=v1
test id
otel-go--grpc-kafka--f579d2dd
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-d93b61a4,team=alpha
ot-baggage-routing-key rk-d93b61a4
traceparent 00-37b81e3b2a1b4697041e5c6965ec076c-29479135f3f44e66-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-rabbitmq--beabf520

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

baggage routing-key=rk-d93b61a4,team=alpha
traceparent 00-37b81e3b2a1b4697041e5c6965ec076c-346912b20703d618-01
tracestate cptest=v1
test id
otel-go--grpc-rabbitmq--beabf520
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-d6130303,team=alpha
ot-baggage-routing-key rk-d6130303
traceparent 00-08ded8c8ad686b9663ce509836dccc3d-a854fd9a65cf60d6-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-http--f4cf5b81

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-d6130303,team=alpha
content-length 43
content-type application/json
traceparent 00-08ded8c8ad686b9663ce509836dccc3d-e153fefd17f38ae0-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--kafka-http--f4cf5b81
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-a8965140,team=alpha
ot-baggage-routing-key rk-a8965140
traceparent 00-6aaa0b1eca22c870f55dce2c7379e60a-b9b430acf5e3e3a9-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-grpc--83d72181

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-a8965140,team=alpha
content-type application/grpc
traceparent 00-6aaa0b1eca22c870f55dce2c7379e60a-aec97818fd50dc1f-01
tracestate cptest=v1
user-agent grpc-go/1.69.0-dev
test id
otel-go--kafka-grpc--83d72181
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-dc60d938,team=alpha
ot-baggage-routing-key rk-dc60d938
traceparent 00-d25318b205e040b82540c56b2cd1a17b-7a18dbbf4cd30261-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-kafka--0aa726e5

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-dc60d938,team=alpha
traceparent 00-d25318b205e040b82540c56b2cd1a17b-2a380e209d8489d6-01
tracestate cptest=v1
test id
otel-go--kafka-kafka--0aa726e5
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-95821600,team=alpha
ot-baggage-routing-key rk-95821600
traceparent 00-3dd400b071052d27d1a59a9851086d41-ad6e11970af71c40-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-rabbitmq--14064461

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

baggage routing-key=rk-95821600,team=alpha
traceparent 00-3dd400b071052d27d1a59a9851086d41-b88ca8bbc3ac24df-01
tracestate cptest=v1
test id
otel-go--kafka-rabbitmq--14064461
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-77b617a3,team=alpha
ot-baggage-routing-key rk-77b617a3
traceparent 00-df487aa39c67ed65e810e32af40f4724-50fae4136aa123ce-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-http--e8aa6668

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-77b617a3,team=alpha
content-length 46
content-type application/json
traceparent 00-df487aa39c67ed65e810e32af40f4724-47e92dfc46c4d88f-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--rabbitmq-http--e8aa6668
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-b0245921,team=alpha
ot-baggage-routing-key rk-b0245921
traceparent 00-571fa3f9d983a174bd2ff653861eb783-f5bdcc364378e58b-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-grpc--9c12c787

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-b0245921,team=alpha
content-type application/grpc
traceparent 00-571fa3f9d983a174bd2ff653861eb783-5a66985f6533cb2f-01
tracestate cptest=v1
user-agent grpc-go/1.69.0-dev
test id
otel-go--rabbitmq-grpc--9c12c787
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-065a269e,team=alpha
ot-baggage-routing-key rk-065a269e
traceparent 00-6813c16790d6fe4286027bb775746305-33a83d5ccb5f0419-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-kafka--1ab0609f

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-065a269e,team=alpha
traceparent 00-6813c16790d6fe4286027bb775746305-e2a47c23e265f3e8-01
tracestate cptest=v1
test id
otel-go--rabbitmq-kafka--1ab0609f
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-bf8c680d,team=alpha
ot-baggage-routing-key rk-bf8c680d
traceparent 00-013d526be3eb277f00d176012959d94c-acf5e386478fe2be-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-rabbitmq--c0b145d5

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

baggage routing-key=rk-bf8c680d,team=alpha
traceparent 00-013d526be3eb277f00d176012959d94c-9db4ee829c09239d-01
tracestate cptest=v1
test id
otel-go--rabbitmq-rabbitmq--c0b145d5
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent

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