otel-go

Go in-code go.opentelemetry.io/otel1.31.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.31.0 reported as v1.31.0 1.31.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.31.0
Raw JSON
1.31.0.json → variants[id = "otel-go"]

Libraries

grpcotelgrpc v0.56.0
httpotelhttp v0.56.0
kafkafranz-go v1.22.2 + kotel v1.5.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-2a29e6fe,team=alpha
ot-baggage-routing-key rk-2a29e6fe
traceparent 00-d0534898bd0fe8475704baf4bbc38577-cfd48cf8eb3d79e6-01
tracestate cptest=v1
x-cp-canary otel-go--http-http--4c07bcfa

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-2a29e6fe,team=alpha
content-length 42
content-type application/json
traceparent 00-d0534898bd0fe8475704baf4bbc38577-59b3232893f3e793-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--http-http--4c07bcfa
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-5ef2a26b,team=alpha
ot-baggage-routing-key rk-5ef2a26b
traceparent 00-46fa4b6d54ec04a09e1e2e006becc016-b78040ddd6927a5c-01
tracestate cptest=v1
x-cp-canary otel-go--http-grpc--235a412f

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-5ef2a26b,team=alpha
content-type application/grpc
traceparent 00-46fa4b6d54ec04a09e1e2e006becc016-b63c6dc9ea82ebe6-01
tracestate cptest=v1
user-agent grpc-go/1.70.0-dev
test id
otel-go--http-grpc--235a412f
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-d9cf4113,team=alpha
ot-baggage-routing-key rk-d9cf4113
traceparent 00-de593b0335b00103ec2f64a4d5c96bb6-7626efbb139dc4ac-01
tracestate cptest=v1
x-cp-canary otel-go--http-kafka--c20e8d9c

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-d9cf4113,team=alpha
traceparent 00-de593b0335b00103ec2f64a4d5c96bb6-e67ba1e4d296b798-01
tracestate cptest=v1
test id
otel-go--http-kafka--c20e8d9c
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-1aa96f53,team=alpha
ot-baggage-routing-key rk-1aa96f53
traceparent 00-dc4ca989d289c649aa35e1de8edb9ab0-7cff3a00f07c1ca0-01
tracestate cptest=v1
x-cp-canary otel-go--http-rabbitmq--06e1299f

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

baggage routing-key=rk-1aa96f53,team=alpha
traceparent 00-dc4ca989d289c649aa35e1de8edb9ab0-96270d55af7f6872-01
tracestate cptest=v1
test id
otel-go--http-rabbitmq--06e1299f
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-1ae6b0ba,team=alpha
ot-baggage-routing-key rk-1ae6b0ba
traceparent 00-f7eb5dc9b2d258dd048055f6609b4dfc-b388a5ed1163635a-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-http--15111355

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-1ae6b0ba,team=alpha
content-length 42
content-type application/json
traceparent 00-f7eb5dc9b2d258dd048055f6609b4dfc-72dab0f513e4dc7b-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--grpc-http--15111355
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-cadc793d,team=alpha
ot-baggage-routing-key rk-cadc793d
traceparent 00-613dfdb3bb87afdec8b2854f26165e67-710156a28870727d-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-grpc--167ed43c

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-cadc793d,team=alpha
content-type application/grpc
traceparent 00-613dfdb3bb87afdec8b2854f26165e67-a07ffc3eb29a70ca-01
tracestate cptest=v1
user-agent grpc-go/1.70.0-dev
test id
otel-go--grpc-grpc--167ed43c
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-9206196e,team=alpha
ot-baggage-routing-key rk-9206196e
traceparent 00-aeba6a4604b4941d6c56ad4cb2856441-63b0ef6cb4d770ed-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-kafka--a123e4e2

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-9206196e,team=alpha
traceparent 00-aeba6a4604b4941d6c56ad4cb2856441-aa75120b0f631e44-01
tracestate cptest=v1
test id
otel-go--grpc-kafka--a123e4e2
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-440097d1,team=alpha
ot-baggage-routing-key rk-440097d1
traceparent 00-61fdc8873966887fc6f9d61eda991057-dee7977a35e3932a-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-rabbitmq--0f9faac1

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

baggage routing-key=rk-440097d1,team=alpha
traceparent 00-61fdc8873966887fc6f9d61eda991057-e9c11e4614c07b35-01
tracestate cptest=v1
test id
otel-go--grpc-rabbitmq--0f9faac1
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-5ab792a0,team=alpha
ot-baggage-routing-key rk-5ab792a0
traceparent 00-2b6a91672f3e7cc3e241f11b9aefdfae-13b12855767f825e-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-http--0c8ccb2d

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-5ab792a0,team=alpha
content-length 43
content-type application/json
traceparent 00-2b6a91672f3e7cc3e241f11b9aefdfae-b3ff589b79f47476-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--kafka-http--0c8ccb2d
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-a4bf68a8,team=alpha
ot-baggage-routing-key rk-a4bf68a8
traceparent 00-b78c08e2eae77f0c726c7cedb22e9064-758c496e1c2d559b-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-grpc--5d5b382c

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-a4bf68a8,team=alpha
content-type application/grpc
traceparent 00-b78c08e2eae77f0c726c7cedb22e9064-c33b9cbe181a1c8f-01
tracestate cptest=v1
user-agent grpc-go/1.70.0-dev
test id
otel-go--kafka-grpc--5d5b382c
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-1785d119,team=alpha
ot-baggage-routing-key rk-1785d119
traceparent 00-27642fec48ddee0ab36d172981178446-b61ac007ce0f3be0-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-kafka--c2045430

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-1785d119,team=alpha
traceparent 00-27642fec48ddee0ab36d172981178446-a181cf52278455ea-01
tracestate cptest=v1
test id
otel-go--kafka-kafka--c2045430
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-07d657b9,team=alpha
ot-baggage-routing-key rk-07d657b9
traceparent 00-b154a43e3d6c1c2d5c8d01ddeb26bf80-cf4e209ece41b08f-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-rabbitmq--f63c832b

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

baggage routing-key=rk-07d657b9,team=alpha
traceparent 00-b154a43e3d6c1c2d5c8d01ddeb26bf80-5fdecb22e33bc9f0-01
tracestate cptest=v1
test id
otel-go--kafka-rabbitmq--f63c832b
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-8c3538be,team=alpha
ot-baggage-routing-key rk-8c3538be
traceparent 00-afa738e5fdd9f0f394da6dd12298ab41-b2c9e69c8edc128c-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-http--84604ada

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-8c3538be,team=alpha
content-length 46
content-type application/json
traceparent 00-afa738e5fdd9f0f394da6dd12298ab41-a90c58ae8a61da46-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--rabbitmq-http--84604ada
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-4a200878,team=alpha
ot-baggage-routing-key rk-4a200878
traceparent 00-adbb2ef628f31297957cc2db2b8012fe-8deba3169c83b77b-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-grpc--78aedcca

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-4a200878,team=alpha
content-type application/grpc
traceparent 00-adbb2ef628f31297957cc2db2b8012fe-909e568b63f5f5e2-01
tracestate cptest=v1
user-agent grpc-go/1.70.0-dev
test id
otel-go--rabbitmq-grpc--78aedcca
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-44a411ed,team=alpha
ot-baggage-routing-key rk-44a411ed
traceparent 00-bf4b17927dbcc0e761a904117dd3dc84-6608266d796dc2c4-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-kafka--034a7213

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-44a411ed,team=alpha
traceparent 00-bf4b17927dbcc0e761a904117dd3dc84-096f9a6eb21141e9-01
tracestate cptest=v1
test id
otel-go--rabbitmq-kafka--034a7213
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-797ce7a9,team=alpha
ot-baggage-routing-key rk-797ce7a9
traceparent 00-6329ae5dd0460f2fa66e32e7b06417d4-4edd6bb5865652ac-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-rabbitmq--54204f10

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

baggage routing-key=rk-797ce7a9,team=alpha
traceparent 00-6329ae5dd0460f2fa66e32e7b06417d4-fcd09701d181ee16-01
tracestate cptest=v1
test id
otel-go--rabbitmq-rabbitmq--54204f10
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent

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