otel-go

Go in-code go.opentelemetry.io/otel1.37.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.37.0 reported as v1.37.0 1.37.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:54 UTC
Harness
20ceb46 · measured in backtest-otel-go-1.37.0
Raw JSON
1.37.0.json → variants[id = "otel-go"]

Libraries

grpcotelgrpc v0.62.0
httpotelhttp v0.62.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-bf5d2824,team=alpha
ot-baggage-routing-key rk-bf5d2824
traceparent 00-fcbebb9b487c87bcf1eb60e563b71357-a15ee8214581a362-01
tracestate cptest=v1
x-cp-canary otel-go--http-http--02d137a1

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage team=alpha,routing-key=rk-bf5d2824
content-length 42
content-type application/json
traceparent 00-fcbebb9b487c87bcf1eb60e563b71357-bb2206320c9fc585-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--http-http--02d137a1
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-ca10ca93,team=alpha
ot-baggage-routing-key rk-ca10ca93
traceparent 00-b137df2fe283da74ea984eb6b1ba433c-4ae262223a95c08c-01
tracestate cptest=v1
x-cp-canary otel-go--http-grpc--ca095600

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-ca10ca93,team=alpha
content-type application/grpc
traceparent 00-b137df2fe283da74ea984eb6b1ba433c-3384ef445c2f91f7-01
tracestate cptest=v1
user-agent grpc-go/1.77.0-dev
test id
otel-go--http-grpc--ca095600
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-e069f9f3,team=alpha
ot-baggage-routing-key rk-e069f9f3
traceparent 00-bd621004541de9f6a86846dc426f1002-b691f62848b524da-01
tracestate cptest=v1
x-cp-canary otel-go--http-kafka--129245b8

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-e069f9f3,team=alpha
traceparent 00-bd621004541de9f6a86846dc426f1002-6bac61149b870118-01
tracestate cptest=v1
test id
otel-go--http-kafka--129245b8
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-41577be7,team=alpha
ot-baggage-routing-key rk-41577be7
traceparent 00-a5cc3103f388578dddcd3b4db7752454-2fd0b269f2b2ea43-01
tracestate cptest=v1
x-cp-canary otel-go--http-rabbitmq--1c9be771

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

baggage routing-key=rk-41577be7,team=alpha
traceparent 00-a5cc3103f388578dddcd3b4db7752454-29dd7c26e602471b-01
tracestate cptest=v1
test id
otel-go--http-rabbitmq--1c9be771
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-3c26b2f5,team=alpha
ot-baggage-routing-key rk-3c26b2f5
traceparent 00-c0d8ebf928a6a3c5df01c689657d2b99-d2dedcf531fb778d-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-http--e29e843d

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-3c26b2f5,team=alpha
content-length 42
content-type application/json
traceparent 00-c0d8ebf928a6a3c5df01c689657d2b99-38034ffd04e4ebbe-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--grpc-http--e29e843d
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-c1af72ce,team=alpha
ot-baggage-routing-key rk-c1af72ce
traceparent 00-7e4908b052528d88208d651741b0dccc-480bddfce614dc0f-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-grpc--000b3ba2

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-c1af72ce,team=alpha
content-type application/grpc
traceparent 00-7e4908b052528d88208d651741b0dccc-d0a48f7ca831d8d8-01
tracestate cptest=v1
user-agent grpc-go/1.77.0-dev
test id
otel-go--grpc-grpc--000b3ba2
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-55e80655,team=alpha
ot-baggage-routing-key rk-55e80655
traceparent 00-3acf388f7817395c194e0ee037aedf32-70e6b37dea72d58f-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-kafka--d9783d32

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-55e80655,team=alpha
traceparent 00-3acf388f7817395c194e0ee037aedf32-4006997b3761d96d-01
tracestate cptest=v1
test id
otel-go--grpc-kafka--d9783d32
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-0af3d87b,team=alpha
ot-baggage-routing-key rk-0af3d87b
traceparent 00-42420d0aecdafd771445353a0a4f2b9a-f49ae068d37f736d-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-rabbitmq--e9b6e474

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

baggage routing-key=rk-0af3d87b,team=alpha
traceparent 00-42420d0aecdafd771445353a0a4f2b9a-92d0c67f4b301add-01
tracestate cptest=v1
test id
otel-go--grpc-rabbitmq--e9b6e474
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-38574461,team=alpha
ot-baggage-routing-key rk-38574461
traceparent 00-a217669b864c6c6d2932d4734c421c00-736fc8a28cd7f3fb-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-http--fb6966e7

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-38574461,team=alpha
content-length 43
content-type application/json
traceparent 00-a217669b864c6c6d2932d4734c421c00-18b27f9d1e96015a-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--kafka-http--fb6966e7
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-6c8525a4,team=alpha
ot-baggage-routing-key rk-6c8525a4
traceparent 00-320a5dab627cada1396d3895718c20ef-566d19bf52f8d1d0-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-grpc--5f8c3755

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-6c8525a4,team=alpha
content-type application/grpc
traceparent 00-320a5dab627cada1396d3895718c20ef-479f76af5ea4972d-01
tracestate cptest=v1
user-agent grpc-go/1.77.0-dev
test id
otel-go--kafka-grpc--5f8c3755
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-fac16666,team=alpha
ot-baggage-routing-key rk-fac16666
traceparent 00-767e690009d0e0479b05d2ca60591566-2f1851127e74f13b-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-kafka--1851a816

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-fac16666,team=alpha
traceparent 00-767e690009d0e0479b05d2ca60591566-9fbacbb64a67ecac-01
tracestate cptest=v1
test id
otel-go--kafka-kafka--1851a816
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-5628810a,team=alpha
ot-baggage-routing-key rk-5628810a
traceparent 00-3c9a8e1270e23be38351797a39237008-75a3551c3e44b355-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-rabbitmq--5deb97e6

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

baggage team=alpha,routing-key=rk-5628810a
traceparent 00-3c9a8e1270e23be38351797a39237008-5d78372eb0a7c756-01
tracestate cptest=v1
test id
otel-go--kafka-rabbitmq--5deb97e6
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-59ca762c,team=alpha
ot-baggage-routing-key rk-59ca762c
traceparent 00-99a50f10b42276de0a0fec4b262ceac8-4d16f5d126cf4cda-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-http--56ed2fd3

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage team=alpha,routing-key=rk-59ca762c
content-length 46
content-type application/json
traceparent 00-99a50f10b42276de0a0fec4b262ceac8-d46e3058d14dd49a-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--rabbitmq-http--56ed2fd3
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-b42ed4f8,team=alpha
ot-baggage-routing-key rk-b42ed4f8
traceparent 00-f0c82cb6d9333910010d37d8c77d0120-84dffab91d231549-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-grpc--8277422a

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-b42ed4f8,team=alpha
content-type application/grpc
traceparent 00-f0c82cb6d9333910010d37d8c77d0120-9475284e1b5cfd0f-01
tracestate cptest=v1
user-agent grpc-go/1.77.0-dev
test id
otel-go--rabbitmq-grpc--8277422a
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-1a766c6a,team=alpha
ot-baggage-routing-key rk-1a766c6a
traceparent 00-936ff18ac04f4383f08e79bd71c0c6a7-0f8b47264f25896b-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-kafka--61df1bd6

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-1a766c6a,team=alpha
traceparent 00-936ff18ac04f4383f08e79bd71c0c6a7-4f3abbedc04b0606-01
tracestate cptest=v1
test id
otel-go--rabbitmq-kafka--61df1bd6
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-e0c911aa,team=alpha
ot-baggage-routing-key rk-e0c911aa
traceparent 00-bf6b0f8bc94b614ba013da7a0aef4e10-6195eb2e31f761e9-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-rabbitmq--f28deea8

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

baggage routing-key=rk-e0c911aa,team=alpha
traceparent 00-bf6b0f8bc94b614ba013da7a0aef4e10-6f61dcac332fb386-01
tracestate cptest=v1
test id
otel-go--rabbitmq-rabbitmq--f28deea8
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent

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