otel-go

Go in-code go.opentelemetry.io/otel1.20.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.20.0 reported as v1.20.0 1.20.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.20.0
Raw JSON
1.20.0.json → variants[id = "otel-go"]

Libraries

grpcotelgrpc v0.46.0
httpotelhttp v0.46.0
kafkafranz-go v1.22.2 + kotel v1.4.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-406e306b,team=alpha
ot-baggage-routing-key rk-406e306b
traceparent 00-cb39c003144683d238f124af800b0f0c-162740359f743d01-01
tracestate cptest=v1
x-cp-canary otel-go--http-http--c4387d86

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-406e306b,team=alpha
content-length 42
content-type application/json
traceparent 00-cb39c003144683d238f124af800b0f0c-284fe872f9369f36-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--http-http--c4387d86
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-038ac04e,team=alpha
ot-baggage-routing-key rk-038ac04e
traceparent 00-8a44585e90066eaa4a838668612a3b50-2604a9e4fb8ce582-01
tracestate cptest=v1
x-cp-canary otel-go--http-grpc--094e87d0

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-038ac04e,team=alpha
content-type application/grpc
traceparent 00-8a44585e90066eaa4a838668612a3b50-13d03c37a248a4fe-01
tracestate cptest=v1
user-agent grpc-go/1.69.0-dev
test id
otel-go--http-grpc--094e87d0
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-2d23f588,team=alpha
ot-baggage-routing-key rk-2d23f588
traceparent 00-2af74326aca7c6adc0fe59e4c589416d-114c45be65c9f6a4-01
tracestate cptest=v1
x-cp-canary otel-go--http-kafka--1ab2eeb9

Observed at the sink on the outbound Kafka record headers

baggage team=alpha,routing-key=rk-2d23f588
traceparent 00-2af74326aca7c6adc0fe59e4c589416d-a7ad6933d0c045cd-01
tracestate cptest=v1
test id
otel-go--http-kafka--1ab2eeb9
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-aac571eb,team=alpha
ot-baggage-routing-key rk-aac571eb
traceparent 00-bb120e00cac7c1d755cf73eb9ba73a66-04a714adf603622e-01
tracestate cptest=v1
x-cp-canary otel-go--http-rabbitmq--f86f8e48

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

baggage routing-key=rk-aac571eb,team=alpha
traceparent 00-bb120e00cac7c1d755cf73eb9ba73a66-1cea4a19a550f20b-01
tracestate cptest=v1
test id
otel-go--http-rabbitmq--f86f8e48
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-8fd076e5,team=alpha
ot-baggage-routing-key rk-8fd076e5
traceparent 00-08221032c7146cfcc7798cfab5529b76-522405ee4e3849df-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-http--907193c6

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-8fd076e5,team=alpha
content-length 42
content-type application/json
traceparent 00-08221032c7146cfcc7798cfab5529b76-b2210b9aa1e4c211-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--grpc-http--907193c6
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-ff68a74d,team=alpha
ot-baggage-routing-key rk-ff68a74d
traceparent 00-8c0369d198d24305858d06abb2969dd6-b171362e8c530e2b-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-grpc--cda7731e

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-ff68a74d,team=alpha
content-type application/grpc
traceparent 00-8c0369d198d24305858d06abb2969dd6-016f311ff7a3cddc-01
tracestate cptest=v1
user-agent grpc-go/1.69.0-dev
test id
otel-go--grpc-grpc--cda7731e
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-18d0e38b,team=alpha
ot-baggage-routing-key rk-18d0e38b
traceparent 00-64200a68b051571c3853f1c980ffbb4a-700f1c5a0f73fee1-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-kafka--9edc90c3

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-18d0e38b,team=alpha
traceparent 00-64200a68b051571c3853f1c980ffbb4a-941d65fe1d6e4c0b-01
tracestate cptest=v1
test id
otel-go--grpc-kafka--9edc90c3
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-bb82d40b,team=alpha
ot-baggage-routing-key rk-bb82d40b
traceparent 00-a645c8caa567aadfe69622d6ef70115f-fa17e0de1cc34b25-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-rabbitmq--1b1832ce

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

baggage routing-key=rk-bb82d40b,team=alpha
traceparent 00-a645c8caa567aadfe69622d6ef70115f-76afb39681bfed2f-01
tracestate cptest=v1
test id
otel-go--grpc-rabbitmq--1b1832ce
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-05fbb9b0,team=alpha
ot-baggage-routing-key rk-05fbb9b0
traceparent 00-0cf99ff3f7735ad3cc6e423acdea5d1b-a82086e68bd8f114-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-http--0a84f1df

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-05fbb9b0,team=alpha
content-length 43
content-type application/json
traceparent 00-0cf99ff3f7735ad3cc6e423acdea5d1b-bba23052fae41575-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--kafka-http--0a84f1df
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-3154054d,team=alpha
ot-baggage-routing-key rk-3154054d
traceparent 00-aed9813f2b78f540444832eff70b1651-b08e347bd9c6e094-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-grpc--a0fb0fde

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-3154054d,team=alpha
content-type application/grpc
traceparent 00-aed9813f2b78f540444832eff70b1651-186d05766cd04050-01
tracestate cptest=v1
user-agent grpc-go/1.69.0-dev
test id
otel-go--kafka-grpc--a0fb0fde
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-d08ebbdc,team=alpha
ot-baggage-routing-key rk-d08ebbdc
traceparent 00-8d352e5b97acba5656e53fd1b9f060cc-b9a7e33fb599d9e7-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-kafka--1b541711

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-d08ebbdc,team=alpha
traceparent 00-8d352e5b97acba5656e53fd1b9f060cc-b387cb0bd61038c7-01
tracestate cptest=v1
test id
otel-go--kafka-kafka--1b541711
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-b3a9ab65,team=alpha
ot-baggage-routing-key rk-b3a9ab65
traceparent 00-baad0584a04b6fff8faafeb461769a5d-e7546c7a6f0b90e7-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-rabbitmq--0943f491

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

baggage routing-key=rk-b3a9ab65,team=alpha
traceparent 00-baad0584a04b6fff8faafeb461769a5d-d7532d4ae5a53740-01
tracestate cptest=v1
test id
otel-go--kafka-rabbitmq--0943f491
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-80a0c54e,team=alpha
ot-baggage-routing-key rk-80a0c54e
traceparent 00-86e02e87ce80a24b11f478ca12937f1e-4c503becc6b9b562-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-http--21db6740

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-80a0c54e,team=alpha
content-length 46
content-type application/json
traceparent 00-86e02e87ce80a24b11f478ca12937f1e-d61507f4782888eb-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--rabbitmq-http--21db6740
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-51b47782,team=alpha
ot-baggage-routing-key rk-51b47782
traceparent 00-923d4d90f83e8c0cc1824e3bbc117b19-4f3462870e3d24de-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-grpc--b90c509b

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-51b47782,team=alpha
content-type application/grpc
traceparent 00-923d4d90f83e8c0cc1824e3bbc117b19-808f236aee98706f-01
tracestate cptest=v1
user-agent grpc-go/1.69.0-dev
test id
otel-go--rabbitmq-grpc--b90c509b
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-559dcd11,team=alpha
ot-baggage-routing-key rk-559dcd11
traceparent 00-185d445e930319d4941449ad0e49f098-df61639899945716-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-kafka--a4ea7054

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-559dcd11,team=alpha
traceparent 00-185d445e930319d4941449ad0e49f098-fa787882f0d54379-01
tracestate cptest=v1
test id
otel-go--rabbitmq-kafka--a4ea7054
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-2cf52182,team=alpha
ot-baggage-routing-key rk-2cf52182
traceparent 00-d4ed2c782da4249ad0691151fe44106b-6231de3b4361df48-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-rabbitmq--c4e43dbe

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

baggage routing-key=rk-2cf52182,team=alpha
traceparent 00-d4ed2c782da4249ad0691151fe44106b-d93406b756f3eb82-01
tracestate cptest=v1
test id
otel-go--rabbitmq-rabbitmq--c4e43dbe
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent

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