otel-go

Go in-code go.opentelemetry.io/otel1.21.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.21.0 reported as v1.21.0 1.21.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.21.0
Raw JSON
1.21.0.json → variants[id = "otel-go"]

Libraries

grpcotelgrpc v0.46.1
httpotelhttp v0.46.1
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-9de046b5,team=alpha
ot-baggage-routing-key rk-9de046b5
traceparent 00-31d28489f43972bee4e0cdd2507850d1-f917c4522b567e2c-01
tracestate cptest=v1
x-cp-canary otel-go--http-http--084aabe4

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-9de046b5,team=alpha
content-length 42
content-type application/json
traceparent 00-31d28489f43972bee4e0cdd2507850d1-5c1cde9c3737f2cd-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--http-http--084aabe4
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-aaeeec4b,team=alpha
ot-baggage-routing-key rk-aaeeec4b
traceparent 00-d695b69904e765ee8430a7f2bd9c70b5-6964d0d981c1be62-01
tracestate cptest=v1
x-cp-canary otel-go--http-grpc--fe830917

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-aaeeec4b,team=alpha
content-type application/grpc
traceparent 00-d695b69904e765ee8430a7f2bd9c70b5-a112f7fc53b2393b-01
tracestate cptest=v1
user-agent grpc-go/1.69.0-dev
test id
otel-go--http-grpc--fe830917
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-3084be57,team=alpha
ot-baggage-routing-key rk-3084be57
traceparent 00-7210bce0901785ed088e4e1810ed50df-2baf7a6f81696339-01
tracestate cptest=v1
x-cp-canary otel-go--http-kafka--a7fb41af

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-3084be57,team=alpha
traceparent 00-7210bce0901785ed088e4e1810ed50df-7c521de6cbd5fdf5-01
tracestate cptest=v1
test id
otel-go--http-kafka--a7fb41af
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-7553c7fa,team=alpha
ot-baggage-routing-key rk-7553c7fa
traceparent 00-c70631d01de372572a62fb5853f0799b-d1873ade6d88d19c-01
tracestate cptest=v1
x-cp-canary otel-go--http-rabbitmq--a50bec5e

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

baggage team=alpha,routing-key=rk-7553c7fa
traceparent 00-c70631d01de372572a62fb5853f0799b-7571c05aa48954ad-01
tracestate cptest=v1
test id
otel-go--http-rabbitmq--a50bec5e
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-553778cd,team=alpha
ot-baggage-routing-key rk-553778cd
traceparent 00-396f7fff02fc1a56d321b5387c9943a4-0435ada229f391f2-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-http--1517a21e

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-553778cd,team=alpha
content-length 42
content-type application/json
traceparent 00-396f7fff02fc1a56d321b5387c9943a4-f53c66508291a9ba-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--grpc-http--1517a21e
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-a0a657b7,team=alpha
ot-baggage-routing-key rk-a0a657b7
traceparent 00-7c90c94346d5a8f7d63fb438ae5d5e98-e226bad15a3d295d-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-grpc--c18638a8

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-a0a657b7,team=alpha
content-type application/grpc
traceparent 00-7c90c94346d5a8f7d63fb438ae5d5e98-dd847f0968c0452f-01
tracestate cptest=v1
user-agent grpc-go/1.69.0-dev
test id
otel-go--grpc-grpc--c18638a8
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-115a8315,team=alpha
ot-baggage-routing-key rk-115a8315
traceparent 00-b142ce7b673d7c2752c9338c73df15cb-ce43e120e53a46ee-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-kafka--a712a22f

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-115a8315,team=alpha
traceparent 00-b142ce7b673d7c2752c9338c73df15cb-e16ec26164a46f57-01
tracestate cptest=v1
test id
otel-go--grpc-kafka--a712a22f
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-90998c92,team=alpha
ot-baggage-routing-key rk-90998c92
traceparent 00-0d425600c6d3dae80a96aa4b57fc5638-d83160d6aa174c67-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-rabbitmq--9d5ceb50

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

baggage routing-key=rk-90998c92,team=alpha
traceparent 00-0d425600c6d3dae80a96aa4b57fc5638-3d87aa13c188743d-01
tracestate cptest=v1
test id
otel-go--grpc-rabbitmq--9d5ceb50
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-6385dd62,team=alpha
ot-baggage-routing-key rk-6385dd62
traceparent 00-9e22b640430780eb109496621a44d6a0-ba66465a9fbcf0a1-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-http--763fb180

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-6385dd62,team=alpha
content-length 43
content-type application/json
traceparent 00-9e22b640430780eb109496621a44d6a0-9e829b69b38eafcf-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--kafka-http--763fb180
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-d45613c9,team=alpha
ot-baggage-routing-key rk-d45613c9
traceparent 00-a3fbafc31c6a371fe98c15a3c7f17def-c80b433d8d15625c-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-grpc--596af2d1

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-d45613c9,team=alpha
content-type application/grpc
traceparent 00-a3fbafc31c6a371fe98c15a3c7f17def-2f0b816f1cdf554a-01
tracestate cptest=v1
user-agent grpc-go/1.69.0-dev
test id
otel-go--kafka-grpc--596af2d1
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-58a6b0d3,team=alpha
ot-baggage-routing-key rk-58a6b0d3
traceparent 00-58e508faeb87cd1ab546a51c1e504b76-ddffcc00cdf95454-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-kafka--437481bf

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-58a6b0d3,team=alpha
traceparent 00-58e508faeb87cd1ab546a51c1e504b76-57a24b3956505947-01
tracestate cptest=v1
test id
otel-go--kafka-kafka--437481bf
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-b310119f,team=alpha
ot-baggage-routing-key rk-b310119f
traceparent 00-d5493374c49fa9840e36ca08b10db53e-7e6d1e983740f077-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-rabbitmq--04477658

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

baggage routing-key=rk-b310119f,team=alpha
traceparent 00-d5493374c49fa9840e36ca08b10db53e-8e7686f9e93733c9-01
tracestate cptest=v1
test id
otel-go--kafka-rabbitmq--04477658
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-c47ec313,team=alpha
ot-baggage-routing-key rk-c47ec313
traceparent 00-6d06f92c97de80f7515e291628ee70a6-8b8d6adfff36508f-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-http--08886220

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage team=alpha,routing-key=rk-c47ec313
content-length 46
content-type application/json
traceparent 00-6d06f92c97de80f7515e291628ee70a6-a08306bb03cf15a9-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--rabbitmq-http--08886220
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-27a73ccf,team=alpha
ot-baggage-routing-key rk-27a73ccf
traceparent 00-1adc5368341bf4faaf9102b0ff02e90b-fcafc604f7d3a84d-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-grpc--204f95d1

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage team=alpha,routing-key=rk-27a73ccf
content-type application/grpc
traceparent 00-1adc5368341bf4faaf9102b0ff02e90b-a1607709403e4ab3-01
tracestate cptest=v1
user-agent grpc-go/1.69.0-dev
test id
otel-go--rabbitmq-grpc--204f95d1
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-6e4f9bd2,team=alpha
ot-baggage-routing-key rk-6e4f9bd2
traceparent 00-0c3a7eb0d32f78f1753b61be46a7ac97-9743a19eca342ef7-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-kafka--190daf97

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-6e4f9bd2,team=alpha
traceparent 00-0c3a7eb0d32f78f1753b61be46a7ac97-45ca9dcd484abfd3-01
tracestate cptest=v1
test id
otel-go--rabbitmq-kafka--190daf97
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-2873ac11,team=alpha
ot-baggage-routing-key rk-2873ac11
traceparent 00-0a3ac87fdb36489fbe14f7fecb22df1c-19ef60999fb5b730-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-rabbitmq--de8bedce

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

baggage routing-key=rk-2873ac11,team=alpha
traceparent 00-0a3ac87fdb36489fbe14f7fecb22df1c-ee554329fdb9d64e-01
tracestate cptest=v1
test id
otel-go--rabbitmq-rabbitmq--de8bedce
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent

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