otel-go

Go in-code go.opentelemetry.io/otel1.19.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.19.0 reported as v1.19.0 1.19.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.19.0
Raw JSON
1.19.0.json → variants[id = "otel-go"]

Libraries

grpcotelgrpc v0.45.0
httpotelhttp v0.45.0
kafkafranz-go v1.22.2 + kotel v1.4.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-2c9bdc5d,team=alpha
ot-baggage-routing-key rk-2c9bdc5d
traceparent 00-6e4bfddd91414726e2fd73e3a6adc25e-9917e0adf41dc02f-01
tracestate cptest=v1
x-cp-canary otel-go--http-http--893b0559

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-2c9bdc5d,team=alpha
content-length 42
content-type application/json
traceparent 00-6e4bfddd91414726e2fd73e3a6adc25e-317849dd381b710a-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--http-http--893b0559
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-10624866,team=alpha
ot-baggage-routing-key rk-10624866
traceparent 00-da5a8146ef6d20a0bce6b4cc42c71eae-2d77c7d5721781f7-01
tracestate cptest=v1
x-cp-canary otel-go--http-grpc--cb5d3659

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-10624866,team=alpha
content-type application/grpc
traceparent 00-da5a8146ef6d20a0bce6b4cc42c71eae-736a882944513ee5-01
tracestate cptest=v1
user-agent grpc-go/1.69.0-dev
test id
otel-go--http-grpc--cb5d3659
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-3aac85e9,team=alpha
ot-baggage-routing-key rk-3aac85e9
traceparent 00-93e36527c376f11257ef6cb8f692d90a-e26eba8d9e913f40-01
tracestate cptest=v1
x-cp-canary otel-go--http-kafka--5ef6bbf2

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-3aac85e9,team=alpha
traceparent 00-93e36527c376f11257ef6cb8f692d90a-a1567f1bfb35d162-01
tracestate cptest=v1
test id
otel-go--http-kafka--5ef6bbf2
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-325cd58f,team=alpha
ot-baggage-routing-key rk-325cd58f
traceparent 00-f8e0386ee2402c7c220e9b17fdcfa3f5-36b96162d9ddcad6-01
tracestate cptest=v1
x-cp-canary otel-go--http-rabbitmq--ac768594

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

baggage routing-key=rk-325cd58f,team=alpha
traceparent 00-f8e0386ee2402c7c220e9b17fdcfa3f5-3d7564f7c77b660b-01
tracestate cptest=v1
test id
otel-go--http-rabbitmq--ac768594
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-266b3186,team=alpha
ot-baggage-routing-key rk-266b3186
traceparent 00-2d699a083b75e0ffbfb9b5f89b077a1b-c48d82c7c640fa9c-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-http--66b7649c

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage team=alpha,routing-key=rk-266b3186
content-length 42
content-type application/json
traceparent 00-2d699a083b75e0ffbfb9b5f89b077a1b-83465a0f32d97c9d-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--grpc-http--66b7649c
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-02763ed5,team=alpha
ot-baggage-routing-key rk-02763ed5
traceparent 00-69f3b92da760848f403a5137a1a0e890-0b69bd0c7a0acbf9-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-grpc--266bced7

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-02763ed5,team=alpha
content-type application/grpc
traceparent 00-69f3b92da760848f403a5137a1a0e890-46dd66cb68ebad36-01
tracestate cptest=v1
user-agent grpc-go/1.69.0-dev
test id
otel-go--grpc-grpc--266bced7
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-3eef8c26,team=alpha
ot-baggage-routing-key rk-3eef8c26
traceparent 00-8e29c53126ef65834e5cbac7a059fb52-c2f99f8bd2fd91da-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-kafka--87d0a457

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-3eef8c26,team=alpha
traceparent 00-8e29c53126ef65834e5cbac7a059fb52-fc3359d8b474197e-01
tracestate cptest=v1
test id
otel-go--grpc-kafka--87d0a457
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-d108e75d,team=alpha
ot-baggage-routing-key rk-d108e75d
traceparent 00-248103b0a502368ebe5a110ce939da12-462c8ab911f5c5a7-01
tracestate cptest=v1
x-cp-canary otel-go--grpc-rabbitmq--5ea352c6

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

baggage routing-key=rk-d108e75d,team=alpha
traceparent 00-248103b0a502368ebe5a110ce939da12-49c62ff38e8b3f52-01
tracestate cptest=v1
test id
otel-go--grpc-rabbitmq--5ea352c6
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-e05db05d,team=alpha
ot-baggage-routing-key rk-e05db05d
traceparent 00-8ad01a5119586f5a5b12cbcf9572d10b-4c9550f553076c00-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-http--6dabbf80

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-e05db05d,team=alpha
content-length 43
content-type application/json
traceparent 00-8ad01a5119586f5a5b12cbcf9572d10b-619833ee57076420-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--kafka-http--6dabbf80
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-4dda8ddf,team=alpha
ot-baggage-routing-key rk-4dda8ddf
traceparent 00-d056f1ceea921e299144cecc8ec3b652-e69a3d570ca4d2ae-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-grpc--da70d9a6

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-4dda8ddf,team=alpha
content-type application/grpc
traceparent 00-d056f1ceea921e299144cecc8ec3b652-5452ba53b424505b-01
tracestate cptest=v1
user-agent grpc-go/1.69.0-dev
test id
otel-go--kafka-grpc--da70d9a6
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-7c0507ae,team=alpha
ot-baggage-routing-key rk-7c0507ae
traceparent 00-9770aeba37f28b8c420a7f779c6c783a-b73a0873b4adf831-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-kafka--80511c02

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-7c0507ae,team=alpha
traceparent 00-9770aeba37f28b8c420a7f779c6c783a-192c152a6f6cac65-01
tracestate cptest=v1
test id
otel-go--kafka-kafka--80511c02
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-a824ec5e,team=alpha
ot-baggage-routing-key rk-a824ec5e
traceparent 00-c17c7ce513d0f578cc895abca1081e2b-66550dfb0687cbdc-01
tracestate cptest=v1
x-cp-canary otel-go--kafka-rabbitmq--0e1b3f74

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

baggage routing-key=rk-a824ec5e,team=alpha
traceparent 00-c17c7ce513d0f578cc895abca1081e2b-8a8c21709d5ec069-01
tracestate cptest=v1
test id
otel-go--kafka-rabbitmq--0e1b3f74
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-6f3207fd,team=alpha
ot-baggage-routing-key rk-6f3207fd
traceparent 00-98e67ad5a42e6fc7d51fa66c562de82c-424652b86aafabf9-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-http--eb06a525

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
baggage routing-key=rk-6f3207fd,team=alpha
content-length 46
content-type application/json
traceparent 00-98e67ad5a42e6fc7d51fa66c562de82c-0b0495b679f69fb0-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
otel-go--rabbitmq-http--eb06a525
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-069b76eb,team=alpha
ot-baggage-routing-key rk-069b76eb
traceparent 00-ec1d5f27d8de80d0fe1c864c0895bc5d-1eaae448c9f418a0-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-grpc--45a26978

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-069b76eb,team=alpha
content-type application/grpc
traceparent 00-ec1d5f27d8de80d0fe1c864c0895bc5d-2c2071bd97a5d968-01
tracestate cptest=v1
user-agent grpc-go/1.69.0-dev
test id
otel-go--rabbitmq-grpc--45a26978
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-37864284,team=alpha
ot-baggage-routing-key rk-37864284
traceparent 00-3b6c75aaa539200ec40440e60745ab8d-bf83b024021d8820-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-kafka--95f7f1e2

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-37864284,team=alpha
traceparent 00-3b6c75aaa539200ec40440e60745ab8d-20a0814e177c43bc-01
tracestate cptest=v1
test id
otel-go--rabbitmq-kafka--95f7f1e2
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-802bc1dc,team=alpha
ot-baggage-routing-key rk-802bc1dc
traceparent 00-3be5c2f41026c099343157b3ae9877c6-bd5655a8c24ad452-01
tracestate cptest=v1
x-cp-canary otel-go--rabbitmq-rabbitmq--72ed74d4

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

baggage team=alpha,routing-key=rk-802bc1dc
traceparent 00-3be5c2f41026c099343157b3ae9877c6-6bccf25a08e1b9b8-01
tracestate cptest=v1
test id
otel-go--rabbitmq-rabbitmq--72ed74d4
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent

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