otel-go

Go in-code go.opentelemetry.io/otel1.40.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.40.0 reported as v1.40.0 1.40.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.40.0
Raw JSON
1.40.0.json → variants[id = "otel-go"]

Libraries

grpcotelgrpc v0.65.0
httpotelhttp v0.65.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-d0bbc078,team=alpha
ot-baggage-routing-key rk-d0bbc078
traceparent 00-c65cd08124c3f57ac7b4e68bfa6bfe26-c2e8f9b870744a77-01
tracestate cptest=v1
x-cp-canary otel-go--http-http--de2045af

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-d0bbc078,team=alpha
content-length 42
content-type application/json
traceparent 00-c65cd08124c3f57ac7b4e68bfa6bfe26-f7db7dd5aed85bc3-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--http-http--de2045af
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-8744f6b7,team=alpha
ot-baggage-routing-key rk-8744f6b7
traceparent 00-9391834e6d7efc586f0f540b5a38e91d-72217b2a752aa791-01
tracestate cptest=v1
x-cp-canary otel-go--http-grpc--21769dc3

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage team=alpha,routing-key=rk-8744f6b7
content-type application/grpc
traceparent 00-9391834e6d7efc586f0f540b5a38e91d-e60064f0dfc29c1c-01
tracestate cptest=v1
user-agent grpc-go/1.81.0-dev
test id
otel-go--http-grpc--21769dc3
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-25ef07d0,team=alpha
ot-baggage-routing-key rk-25ef07d0
traceparent 00-cdedac310237885c9b84a4f6feb6377e-7e3d89e96a583a56-01
tracestate cptest=v1
x-cp-canary otel-go--http-kafka--30bc2b3f

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-25ef07d0,team=alpha
traceparent 00-cdedac310237885c9b84a4f6feb6377e-6be01188c7f34f5d-01
tracestate cptest=v1
test id
otel-go--http-kafka--30bc2b3f
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-75746e37,team=alpha
ot-baggage-routing-key rk-75746e37
traceparent 00-cc822fa16694df64ccb7a2546597cc6f-d43e37168330d2b3-01
tracestate cptest=v1
x-cp-canary otel-go--http-rabbitmq--65cf138a

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

baggage routing-key=rk-75746e37,team=alpha
traceparent 00-cc822fa16694df64ccb7a2546597cc6f-6306fbf25da23d83-01
tracestate cptest=v1
test id
otel-go--http-rabbitmq--65cf138a
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-4d3d4d66,team=alpha
ot-baggage-routing-key rk-4d3d4d66
traceparent 00-7bda50ddbdb629784e424476a5460fd6-77c3f7fc384e0d5b-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-http--be84b86e

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-4d3d4d66,team=alpha
content-length 42
content-type application/json
traceparent 00-7bda50ddbdb629784e424476a5460fd6-ef4718e7c343317d-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--grpc-http--be84b86e
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-557415c3,team=alpha
ot-baggage-routing-key rk-557415c3
traceparent 00-53049bf363353c0ec470c90af4211efa-5cc5e3e2da578a3b-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-grpc--a5522c44

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-557415c3,team=alpha
content-type application/grpc
traceparent 00-53049bf363353c0ec470c90af4211efa-a15695241082b88e-01
tracestate cptest=v1
user-agent grpc-go/1.81.0-dev
test id
otel-go--grpc-grpc--a5522c44
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-bf8ebcbb,team=alpha
ot-baggage-routing-key rk-bf8ebcbb
traceparent 00-fef8b565ee8da27da1151fec950e6eed-c6765c6e9008176f-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-kafka--06cb166f

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-bf8ebcbb,team=alpha
traceparent 00-fef8b565ee8da27da1151fec950e6eed-472c3095e8915ba1-01
tracestate cptest=v1
test id
otel-go--grpc-kafka--06cb166f
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-9110e1c5,team=alpha
ot-baggage-routing-key rk-9110e1c5
traceparent 00-064bea1b013c471b829d878bb2d9423c-fca8621db4a18ae0-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-rabbitmq--43b4a47a

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

baggage team=alpha,routing-key=rk-9110e1c5
traceparent 00-064bea1b013c471b829d878bb2d9423c-d60126f33ef54634-01
tracestate cptest=v1
test id
otel-go--grpc-rabbitmq--43b4a47a
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-d00d8f4e,team=alpha
ot-baggage-routing-key rk-d00d8f4e
traceparent 00-0cc909bff7a9e7a46c6097df7283dcf0-6142be2432e49ef0-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-http--60778c12

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage team=alpha,routing-key=rk-d00d8f4e
content-length 43
content-type application/json
traceparent 00-0cc909bff7a9e7a46c6097df7283dcf0-9d2e942073ca6c2a-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--kafka-http--60778c12
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-86923a3f,team=alpha
ot-baggage-routing-key rk-86923a3f
traceparent 00-8bef96bacc5764255b6093e1a838241e-065f3b5db35d11bc-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-grpc--fe1fecff

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-86923a3f,team=alpha
content-type application/grpc
traceparent 00-8bef96bacc5764255b6093e1a838241e-4ade6aaeb2ce4a14-01
tracestate cptest=v1
user-agent grpc-go/1.81.0-dev
test id
otel-go--kafka-grpc--fe1fecff
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-cda87bac,team=alpha
ot-baggage-routing-key rk-cda87bac
traceparent 00-38eeefaf75948ca8f1fa68a9088a6ea0-99cb0c0d8a2d39b4-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-kafka--57f915bb

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-cda87bac,team=alpha
traceparent 00-38eeefaf75948ca8f1fa68a9088a6ea0-e4561a28b292deb7-01
tracestate cptest=v1
test id
otel-go--kafka-kafka--57f915bb
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-3e4c891e,team=alpha
ot-baggage-routing-key rk-3e4c891e
traceparent 00-c046e82ad7d4d4f80c08ec1f3ae9d54b-8d2da80ba1b42e51-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-rabbitmq--ed58af8a

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

baggage team=alpha,routing-key=rk-3e4c891e
traceparent 00-c046e82ad7d4d4f80c08ec1f3ae9d54b-ae3363ae081568cb-01
tracestate cptest=v1
test id
otel-go--kafka-rabbitmq--ed58af8a
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-a72894d3,team=alpha
ot-baggage-routing-key rk-a72894d3
traceparent 00-101022f0728d1c66562bc448bc8384e8-85442810a9a715b6-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-http--ae30ca57

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-a72894d3,team=alpha
content-length 46
content-type application/json
traceparent 00-101022f0728d1c66562bc448bc8384e8-9c953d223649c605-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--rabbitmq-http--ae30ca57
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-431d9f9d,team=alpha
ot-baggage-routing-key rk-431d9f9d
traceparent 00-9dfdf49dc9fcb224f1f060d435d34392-1bbff422fcc9635c-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-grpc--05ff09a6

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-431d9f9d,team=alpha
content-type application/grpc
traceparent 00-9dfdf49dc9fcb224f1f060d435d34392-3275030bdcf91b3d-01
tracestate cptest=v1
user-agent grpc-go/1.81.0-dev
test id
otel-go--rabbitmq-grpc--05ff09a6
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-8ee815b6,team=alpha
ot-baggage-routing-key rk-8ee815b6
traceparent 00-2e322aef201a9fd53ae0da0f46086bf3-f1b862737fa5d836-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-kafka--a090e3e2

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-8ee815b6,team=alpha
traceparent 00-2e322aef201a9fd53ae0da0f46086bf3-fff559ebadf03976-01
tracestate cptest=v1
test id
otel-go--rabbitmq-kafka--a090e3e2
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-689c9e2a,team=alpha
ot-baggage-routing-key rk-689c9e2a
traceparent 00-58abd0bfbf8cee45aa117614c69d6b45-d7ed3a94a89bba64-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-rabbitmq--adc966cb

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

baggage routing-key=rk-689c9e2a,team=alpha
traceparent 00-58abd0bfbf8cee45aa117614c69d6b45-dfde2ef484c0bb2f-01
tracestate cptest=v1
test id
otel-go--rabbitmq-rabbitmq--adc966cb
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent

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