otel-go

Go in-code go.opentelemetry.io/otel1.25.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.25.0 reported as v1.25.0 1.25.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.25.0
Raw JSON
1.25.0.json → variants[id = "otel-go"]

Libraries

grpcotelgrpc v0.50.0
httpotelhttp v0.50.0
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-32cc1c72,team=alpha
ot-baggage-routing-key rk-32cc1c72
traceparent 00-4dbad27ec8109c0c70ba580e5aefafb9-79ef8121bb7565c8-01
tracestate cptest=v1
x-cp-canary otel-go--http-http--b70bc320

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage team=alpha,routing-key=rk-32cc1c72
content-length 42
content-type application/json
traceparent 00-4dbad27ec8109c0c70ba580e5aefafb9-7ad20abbc0872709-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--http-http--b70bc320
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-0b7c1776,team=alpha
ot-baggage-routing-key rk-0b7c1776
traceparent 00-73b6e251ff8052b5c7d33d2f128add55-f86df4bae3b57d3f-01
tracestate cptest=v1
x-cp-canary otel-go--http-grpc--b0d29897

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage team=alpha,routing-key=rk-0b7c1776
content-type application/grpc
traceparent 00-73b6e251ff8052b5c7d33d2f128add55-8f5bed6826bfe8ca-01
tracestate cptest=v1
user-agent grpc-go/1.69.0-dev
test id
otel-go--http-grpc--b0d29897
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-cf0a535c,team=alpha
ot-baggage-routing-key rk-cf0a535c
traceparent 00-10afe5306234c640ede74754b59a1816-775917209391712c-01
tracestate cptest=v1
x-cp-canary otel-go--http-kafka--f6681990

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-cf0a535c,team=alpha
traceparent 00-10afe5306234c640ede74754b59a1816-e120b44696bd3aff-01
tracestate cptest=v1
test id
otel-go--http-kafka--f6681990
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-1a2072e7,team=alpha
ot-baggage-routing-key rk-1a2072e7
traceparent 00-170ba473cd62b52da321bf999a629ba0-82d0f5060ee5f4c4-01
tracestate cptest=v1
x-cp-canary otel-go--http-rabbitmq--c2e38224

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

baggage routing-key=rk-1a2072e7,team=alpha
traceparent 00-170ba473cd62b52da321bf999a629ba0-d08a1dc65bb448fc-01
tracestate cptest=v1
test id
otel-go--http-rabbitmq--c2e38224
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-a06261b0,team=alpha
ot-baggage-routing-key rk-a06261b0
traceparent 00-adb5fb18ff702f6bd04fd1eb44f759da-c570efe283a3bd32-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-http--a836dbb4

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-a06261b0,team=alpha
content-length 42
content-type application/json
traceparent 00-adb5fb18ff702f6bd04fd1eb44f759da-574101256938cdc0-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--grpc-http--a836dbb4
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-2565f5f0,team=alpha
ot-baggage-routing-key rk-2565f5f0
traceparent 00-6369a990c4da823a54b15bdef7c33782-44bcc07af2c55e2e-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-grpc--9df3bf99

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-2565f5f0,team=alpha
content-type application/grpc
traceparent 00-6369a990c4da823a54b15bdef7c33782-e3f7f2bc43e443f5-01
tracestate cptest=v1
user-agent grpc-go/1.69.0-dev
test id
otel-go--grpc-grpc--9df3bf99
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-9d6d1317,team=alpha
ot-baggage-routing-key rk-9d6d1317
traceparent 00-4b0dc59e15d7a9c041a976d8c861688d-d080da1e720be8a1-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-kafka--dcc9d066

Observed at the sink on the outbound Kafka record headers

baggage team=alpha,routing-key=rk-9d6d1317
traceparent 00-4b0dc59e15d7a9c041a976d8c861688d-176b255a1dfeedb0-01
tracestate cptest=v1
test id
otel-go--grpc-kafka--dcc9d066
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-db473e2e,team=alpha
ot-baggage-routing-key rk-db473e2e
traceparent 00-2a07c7c291be6cba06880d6e9d1b7a39-2a6d48f9c4eac803-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-rabbitmq--09abcdf3

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

baggage routing-key=rk-db473e2e,team=alpha
traceparent 00-2a07c7c291be6cba06880d6e9d1b7a39-e0edfa8773e330ea-01
tracestate cptest=v1
test id
otel-go--grpc-rabbitmq--09abcdf3
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-eb92aaf9,team=alpha
ot-baggage-routing-key rk-eb92aaf9
traceparent 00-7d912b57a8aa0b13814221a5e4ec5392-20dac51f5f597e10-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-http--76b2bcdd

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-eb92aaf9,team=alpha
content-length 43
content-type application/json
traceparent 00-7d912b57a8aa0b13814221a5e4ec5392-a0ef996c84c763ac-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--kafka-http--76b2bcdd
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-90cf8d59,team=alpha
ot-baggage-routing-key rk-90cf8d59
traceparent 00-0fec5e186f95bba5a722a293da2734c2-9717ae0b6629d900-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-grpc--04c37c7d

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-90cf8d59,team=alpha
content-type application/grpc
traceparent 00-0fec5e186f95bba5a722a293da2734c2-87de282c910e339e-01
tracestate cptest=v1
user-agent grpc-go/1.69.0-dev
test id
otel-go--kafka-grpc--04c37c7d
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-ba76a025,team=alpha
ot-baggage-routing-key rk-ba76a025
traceparent 00-47046c9c645b03899579bf576322703b-e131f186fc41481a-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-kafka--b5ae3ad3

Observed at the sink on the outbound Kafka record headers

baggage team=alpha,routing-key=rk-ba76a025
traceparent 00-47046c9c645b03899579bf576322703b-da5cf298ab39b957-01
tracestate cptest=v1
test id
otel-go--kafka-kafka--b5ae3ad3
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-b34c2b80,team=alpha
ot-baggage-routing-key rk-b34c2b80
traceparent 00-ba4155a72da18d77bb1da14fcb394e40-1380d03e67084a69-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-rabbitmq--b593512b

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

baggage routing-key=rk-b34c2b80,team=alpha
traceparent 00-ba4155a72da18d77bb1da14fcb394e40-6b2858be97352f71-01
tracestate cptest=v1
test id
otel-go--kafka-rabbitmq--b593512b
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-98480c2d,team=alpha
ot-baggage-routing-key rk-98480c2d
traceparent 00-7d4be3866c41e9ab952bbe64b703bb31-0cc8af779cc42c92-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-http--38bf4f97

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-98480c2d,team=alpha
content-length 46
content-type application/json
traceparent 00-7d4be3866c41e9ab952bbe64b703bb31-8c8a95821040687f-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--rabbitmq-http--38bf4f97
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-5a7d05a7,team=alpha
ot-baggage-routing-key rk-5a7d05a7
traceparent 00-0546f17cfbd69117b75188fc00e70b2b-65962db5f33072cb-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-grpc--4c680ffa

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage team=alpha,routing-key=rk-5a7d05a7
content-type application/grpc
traceparent 00-0546f17cfbd69117b75188fc00e70b2b-bd23a5fc51d9683c-01
tracestate cptest=v1
user-agent grpc-go/1.69.0-dev
test id
otel-go--rabbitmq-grpc--4c680ffa
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-ef107334,team=alpha
ot-baggage-routing-key rk-ef107334
traceparent 00-b4ebbeee5c12a60930eb7bb9067c9010-6852981670fd9fcc-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-kafka--8cd8cfff

Observed at the sink on the outbound Kafka record headers

baggage team=alpha,routing-key=rk-ef107334
traceparent 00-b4ebbeee5c12a60930eb7bb9067c9010-569154e422b2c652-01
tracestate cptest=v1
test id
otel-go--rabbitmq-kafka--8cd8cfff
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-9a2b866f,team=alpha
ot-baggage-routing-key rk-9a2b866f
traceparent 00-cd54c13efbd4fa26d0c6a484a2de7f34-e614caa6ecbaddcb-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-rabbitmq--955c262f

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

baggage team=alpha,routing-key=rk-9a2b866f
traceparent 00-cd54c13efbd4fa26d0c6a484a2de7f34-f8e7235bb655c5be-01
tracestate cptest=v1
test id
otel-go--rabbitmq-rabbitmq--955c262f
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent

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