otel-go

Go in-code go.opentelemetry.io/otel1.28.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.28.0 reported as v1.28.0 1.28.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.28.0
Raw JSON
1.28.0.json → variants[id = "otel-go"]

Libraries

grpcotelgrpc v0.53.0
httpotelhttp v0.53.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-7b305dc1,team=alpha
ot-baggage-routing-key rk-7b305dc1
traceparent 00-1c56f729b0cdd297c895a5ec7cf37243-dff650bd854d4072-01
tracestate cptest=v1
x-cp-canary otel-go--http-http--bfc5bb6f

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-7b305dc1,team=alpha
content-length 42
content-type application/json
traceparent 00-1c56f729b0cdd297c895a5ec7cf37243-14d463a609dee618-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--http-http--bfc5bb6f
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-65dd2573,team=alpha
ot-baggage-routing-key rk-65dd2573
traceparent 00-44d7ae2e83807cb0b50f334a9038cdf4-318a7d55b8d7e9e8-01
tracestate cptest=v1
x-cp-canary otel-go--http-grpc--a42c1b3e

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-65dd2573,team=alpha
content-type application/grpc
traceparent 00-44d7ae2e83807cb0b50f334a9038cdf4-640954b0d4ce3355-01
tracestate cptest=v1
user-agent grpc-go/1.69.0-dev
test id
otel-go--http-grpc--a42c1b3e
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-c4afdc8c,team=alpha
ot-baggage-routing-key rk-c4afdc8c
traceparent 00-f6b464d490a3c5cbb091c4077502023e-c8689b76ae4de9a4-01
tracestate cptest=v1
x-cp-canary otel-go--http-kafka--5cafbdf6

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-c4afdc8c,team=alpha
traceparent 00-f6b464d490a3c5cbb091c4077502023e-6d5db7d8d967145d-01
tracestate cptest=v1
test id
otel-go--http-kafka--5cafbdf6
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-b40b56de,team=alpha
ot-baggage-routing-key rk-b40b56de
traceparent 00-0c53be9ef85c6bc9b8dc30ad9165d4d5-bcaf0f3724f4160f-01
tracestate cptest=v1
x-cp-canary otel-go--http-rabbitmq--57624f0e

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

baggage routing-key=rk-b40b56de,team=alpha
traceparent 00-0c53be9ef85c6bc9b8dc30ad9165d4d5-b46c7c68cf2c68e2-01
tracestate cptest=v1
test id
otel-go--http-rabbitmq--57624f0e
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-fdbcbd07,team=alpha
ot-baggage-routing-key rk-fdbcbd07
traceparent 00-e57a4d46a2f679a696bb1dcd869ac79b-112d9f31bb42f415-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-http--eec03380

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-fdbcbd07,team=alpha
content-length 42
content-type application/json
traceparent 00-e57a4d46a2f679a696bb1dcd869ac79b-3a7cf6554e91432b-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--grpc-http--eec03380
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-380e29b4,team=alpha
ot-baggage-routing-key rk-380e29b4
traceparent 00-e3ea05500db90960ab16c451d0378e50-3125634dd5896b45-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-grpc--a8965556

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-380e29b4,team=alpha
content-type application/grpc
traceparent 00-e3ea05500db90960ab16c451d0378e50-ab0670a4b56e111e-01
tracestate cptest=v1
user-agent grpc-go/1.69.0-dev
test id
otel-go--grpc-grpc--a8965556
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-2ad6800b,team=alpha
ot-baggage-routing-key rk-2ad6800b
traceparent 00-d03b1b376a20d99f528b45dc3e8e14b6-40c9c554dd4fc510-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-kafka--3c738159

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-2ad6800b,team=alpha
traceparent 00-d03b1b376a20d99f528b45dc3e8e14b6-79faa01cca827322-01
tracestate cptest=v1
test id
otel-go--grpc-kafka--3c738159
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-27b72073,team=alpha
ot-baggage-routing-key rk-27b72073
traceparent 00-39a49733133ac6fdc7942b7a6e9664bd-775ca13b895380b1-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-rabbitmq--474fd9c5

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

baggage routing-key=rk-27b72073,team=alpha
traceparent 00-39a49733133ac6fdc7942b7a6e9664bd-5cd447fa0f3d489c-01
tracestate cptest=v1
test id
otel-go--grpc-rabbitmq--474fd9c5
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-b4d0686a,team=alpha
ot-baggage-routing-key rk-b4d0686a
traceparent 00-8b956503962e00b69d8b6c3b674d162c-eb01bbd59429f565-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-http--8cc4c119

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-b4d0686a,team=alpha
content-length 43
content-type application/json
traceparent 00-8b956503962e00b69d8b6c3b674d162c-c528d6c661367067-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--kafka-http--8cc4c119
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-a9fd3262,team=alpha
ot-baggage-routing-key rk-a9fd3262
traceparent 00-efd3e138c0a18a4ed4198db68451791c-6b9ca54e74ce0385-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-grpc--8c8b3e31

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-a9fd3262,team=alpha
content-type application/grpc
traceparent 00-efd3e138c0a18a4ed4198db68451791c-16526eaa2314468d-01
tracestate cptest=v1
user-agent grpc-go/1.69.0-dev
test id
otel-go--kafka-grpc--8c8b3e31
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-7804b4bc,team=alpha
ot-baggage-routing-key rk-7804b4bc
traceparent 00-8c61f5573c382fc1bba516a22eea8479-cb9cbb1168c53f82-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-kafka--f7d7d5fc

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-7804b4bc,team=alpha
traceparent 00-8c61f5573c382fc1bba516a22eea8479-0541f9d689ac4d57-01
tracestate cptest=v1
test id
otel-go--kafka-kafka--f7d7d5fc
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-0b6e6c4f,team=alpha
ot-baggage-routing-key rk-0b6e6c4f
traceparent 00-2cddcf237306a01ae35938c45a24d073-9edd4f7022d872a3-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-rabbitmq--fcd753d6

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

baggage team=alpha,routing-key=rk-0b6e6c4f
traceparent 00-2cddcf237306a01ae35938c45a24d073-4e178f9f8925497e-01
tracestate cptest=v1
test id
otel-go--kafka-rabbitmq--fcd753d6
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-2b10c273,team=alpha
ot-baggage-routing-key rk-2b10c273
traceparent 00-4acdc2b2859c8dcc0af7a9b36c6a7eb9-9be5c2a6d15ef011-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-http--8d433407

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-2b10c273,team=alpha
content-length 46
content-type application/json
traceparent 00-4acdc2b2859c8dcc0af7a9b36c6a7eb9-3ab443e4fc608fb9-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--rabbitmq-http--8d433407
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-5f8427c2,team=alpha
ot-baggage-routing-key rk-5f8427c2
traceparent 00-824d9828a0815d42d2a3a40499cc75e4-166ba1a902fcad3e-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-grpc--0763f47a

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-5f8427c2,team=alpha
content-type application/grpc
traceparent 00-824d9828a0815d42d2a3a40499cc75e4-3b556508835bee46-01
tracestate cptest=v1
user-agent grpc-go/1.69.0-dev
test id
otel-go--rabbitmq-grpc--0763f47a
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-0c60ed36,team=alpha
ot-baggage-routing-key rk-0c60ed36
traceparent 00-9d07cb23787dd092411591c2a7a7bb8c-c475533319d0c8ca-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-kafka--a782156a

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-0c60ed36,team=alpha
traceparent 00-9d07cb23787dd092411591c2a7a7bb8c-528d01982b404a96-01
tracestate cptest=v1
test id
otel-go--rabbitmq-kafka--a782156a
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-b438d152,team=alpha
ot-baggage-routing-key rk-b438d152
traceparent 00-c271b85a037bd4e4e9df84cb5f98f18c-afdf4f84333323d6-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-rabbitmq--358f7861

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

baggage routing-key=rk-b438d152,team=alpha
traceparent 00-c271b85a037bd4e4e9df84cb5f98f18c-4a03f028ec7fb65a-01
tracestate cptest=v1
test id
otel-go--rabbitmq-rabbitmq--358f7861
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent

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