otel-rust

Rust in-code opentelemetry0.31.0

attach opentelemetry propagator API + hand-written 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
opentelemetry 0.31.0 0.31.0 on crates github
Runtime
rustc 1.93.1 (01f6ddf75 2026-02-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
opentelemetry propagator API + hand-written carriers
Relay source
relays/rust
Ran at
1 Nov 2026, 03:58 UTC
Harness
e793604 · measured in backtest-otel-rust-0.31.0
Raw JSON
0.31.0.json → variants[id = "otel-rust"]

Libraries

grpctonic 0.14.6
http_clientreqwest 0.13.4
http_serveraxum 0.8.9
kafkarust-rdkafka 0.39.0
propagationopentelemetry 0.31.0 + opentelemetry_sdk 0.31.0 + opentelemetry-http 0.31.0
rabbitmqlapin 4.10.0

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-b60160c4,team=alpha
ot-baggage-routing-key rk-b60160c4
traceparent 00-85e9a25959e600a88e7ca0fc2baecf28-bf6abeaefc9a0a11-01
tracestate cptest=v1
x-cp-canary otel-rust--http-http--bd67e471

Observed at the sink on the outbound HTTP request headers

accept */*
baggage routing-key=rk-b60160c4,team=alpha
content-length 44
content-type application/json
traceparent 00-85e9a25959e600a88e7ca0fc2baecf28-1c775723aa49fd3d-01
tracestate cptest=v1
test id
otel-rust--http-http--bd67e471
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-b55ff254,team=alpha
ot-baggage-routing-key rk-b55ff254
traceparent 00-036e7b9d3d72e106b616d71afb16cbda-f4b3bf217d1587fe-01
tracestate cptest=v1
x-cp-canary otel-rust--http-grpc--d29a1ef5

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage team=alpha,routing-key=rk-b55ff254
content-type application/grpc
traceparent 00-036e7b9d3d72e106b616d71afb16cbda-b931875695e299ee-01
tracestate cptest=v1
user-agent tonic/0.14.6
test id
otel-rust--http-grpc--d29a1ef5
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-de84d7d6,team=alpha
ot-baggage-routing-key rk-de84d7d6
traceparent 00-40ce84f4dcd8ec01cbbef66f3525cbff-138d4bb20a0fe1a8-01
tracestate cptest=v1
x-cp-canary otel-rust--http-kafka--3ddfaf5b

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-de84d7d6,team=alpha
traceparent 00-40ce84f4dcd8ec01cbbef66f3525cbff-ce003ab1c8af3864-01
tracestate cptest=v1
test id
otel-rust--http-kafka--3ddfaf5b
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-5fbd09a1,team=alpha
ot-baggage-routing-key rk-5fbd09a1
traceparent 00-7dff7e70878f54c426fed0987be81fa5-39307ffef986b516-01
tracestate cptest=v1
x-cp-canary otel-rust--http-rabbitmq--13e479a8

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

baggage routing-key=rk-5fbd09a1,team=alpha
traceparent 00-7dff7e70878f54c426fed0987be81fa5-64eee383bcb8a5af-01
tracestate cptest=v1
test id
otel-rust--http-rabbitmq--13e479a8
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-fa3b689c,team=alpha
ot-baggage-routing-key rk-fa3b689c
traceparent 00-193952c6b130c37b6c74bf47f44972ce-7532c083971b9461-01
tracestate cptest=v1
x-cp-canary otel-rust--grpc-http--627b6ffe

Observed at the sink on the outbound HTTP request headers

accept */*
baggage team=alpha,routing-key=rk-fa3b689c
content-length 44
content-type application/json
traceparent 00-193952c6b130c37b6c74bf47f44972ce-bf244260734fe4a5-01
tracestate cptest=v1
test id
otel-rust--grpc-http--627b6ffe
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-8349dd37,team=alpha
ot-baggage-routing-key rk-8349dd37
traceparent 00-9ff51c216470ac82752b172cf7ba1d6d-1ce926b1bc0df723-01
tracestate cptest=v1
x-cp-canary otel-rust--grpc-grpc--b4000471

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-8349dd37,team=alpha
content-type application/grpc
traceparent 00-9ff51c216470ac82752b172cf7ba1d6d-5a7c3274f2de869a-01
tracestate cptest=v1
user-agent tonic/0.14.6
test id
otel-rust--grpc-grpc--b4000471
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-8014eac0,team=alpha
ot-baggage-routing-key rk-8014eac0
traceparent 00-dd9979fbc4e272a86971abef561a2e14-8914e634adfd3111-01
tracestate cptest=v1
x-cp-canary otel-rust--grpc-kafka--26839261

Observed at the sink on the outbound Kafka record headers

baggage team=alpha,routing-key=rk-8014eac0
traceparent 00-dd9979fbc4e272a86971abef561a2e14-07ea230f0e5115c2-01
tracestate cptest=v1
test id
otel-rust--grpc-kafka--26839261
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-f29fa19b,team=alpha
ot-baggage-routing-key rk-f29fa19b
traceparent 00-0feb9e35d02a32ca87fec99b372eabe7-66a24e1e7d265884-01
tracestate cptest=v1
x-cp-canary otel-rust--grpc-rabbitmq--bde98c65

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

baggage routing-key=rk-f29fa19b,team=alpha
traceparent 00-0feb9e35d02a32ca87fec99b372eabe7-82aeed204bfc1b59-01
tracestate cptest=v1
test id
otel-rust--grpc-rabbitmq--bde98c65
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-eaae1793,team=alpha
ot-baggage-routing-key rk-eaae1793
traceparent 00-5ec52d50ef4e571c41c5afcccf323ab5-9d9c03af560435bb-01
tracestate cptest=v1
x-cp-canary otel-rust--kafka-http--5236bd9e

Observed at the sink on the outbound HTTP request headers

accept */*
baggage team=alpha,routing-key=rk-eaae1793
content-length 45
content-type application/json
traceparent 00-5ec52d50ef4e571c41c5afcccf323ab5-81d723796666c202-01
tracestate cptest=v1
test id
otel-rust--kafka-http--5236bd9e
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-ed5a3602,team=alpha
ot-baggage-routing-key rk-ed5a3602
traceparent 00-c557ed2fcbd34eb56da3f4b3c2a34746-1c2f909b50990f64-01
tracestate cptest=v1
x-cp-canary otel-rust--kafka-grpc--c564a930

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage team=alpha,routing-key=rk-ed5a3602
content-type application/grpc
traceparent 00-c557ed2fcbd34eb56da3f4b3c2a34746-05448e82f2840942-01
tracestate cptest=v1
user-agent tonic/0.14.6
test id
otel-rust--kafka-grpc--c564a930
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-e06fe7a9,team=alpha
ot-baggage-routing-key rk-e06fe7a9
traceparent 00-8d652628eaad029b509cca3968b28923-0e406c8dd1a47362-01
tracestate cptest=v1
x-cp-canary otel-rust--kafka-kafka--b0e21268

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-e06fe7a9,team=alpha
traceparent 00-8d652628eaad029b509cca3968b28923-4f0458d557b9bba4-01
tracestate cptest=v1
test id
otel-rust--kafka-kafka--b0e21268
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-2bc7ebba,team=alpha
ot-baggage-routing-key rk-2bc7ebba
traceparent 00-dec2e4d2770831c3b5962c74f51aaabd-89101d57ef47b3e7-01
tracestate cptest=v1
x-cp-canary otel-rust--kafka-rabbitmq--038a3282

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

baggage team=alpha,routing-key=rk-2bc7ebba
traceparent 00-dec2e4d2770831c3b5962c74f51aaabd-d1a10ee928428c33-01
tracestate cptest=v1
test id
otel-rust--kafka-rabbitmq--038a3282
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-19495566,team=alpha
ot-baggage-routing-key rk-19495566
traceparent 00-2742fe0e9e16e0f3e31b8d4a796001fb-94efb2844f927446-01
tracestate cptest=v1
x-cp-canary otel-rust--rabbitmq-http--e10df7b8

Observed at the sink on the outbound HTTP request headers

accept */*
baggage team=alpha,routing-key=rk-19495566
content-length 48
content-type application/json
traceparent 00-2742fe0e9e16e0f3e31b8d4a796001fb-b4393720e66d3486-01
tracestate cptest=v1
test id
otel-rust--rabbitmq-http--e10df7b8
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-c7f4541b,team=alpha
ot-baggage-routing-key rk-c7f4541b
traceparent 00-3d30534b4986528cab2a06154fee3508-4ab4e6b5ca8eb652-01
tracestate cptest=v1
x-cp-canary otel-rust--rabbitmq-grpc--7c6dae2a

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-c7f4541b,team=alpha
content-type application/grpc
traceparent 00-3d30534b4986528cab2a06154fee3508-d2744e861bce7013-01
tracestate cptest=v1
user-agent tonic/0.14.6
test id
otel-rust--rabbitmq-grpc--7c6dae2a
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-c77f3be8,team=alpha
ot-baggage-routing-key rk-c77f3be8
traceparent 00-23cdab8a87a53a751292c56db2ef6ec0-2b7e65cc2d400e03-01
tracestate cptest=v1
x-cp-canary otel-rust--rabbitmq-kafka--d503b443

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-c77f3be8,team=alpha
traceparent 00-23cdab8a87a53a751292c56db2ef6ec0-1d616a238773f7f2-01
tracestate cptest=v1
test id
otel-rust--rabbitmq-kafka--d503b443
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-d249ff5e,team=alpha
ot-baggage-routing-key rk-d249ff5e
traceparent 00-3bd68de0159c04367f734965779e1f58-4c396d3e2cc3275a-01
tracestate cptest=v1
x-cp-canary otel-rust--rabbitmq-rabbitmq--8389056b

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

baggage routing-key=rk-d249ff5e,team=alpha
traceparent 00-3bd68de0159c04367f734965779e1f58-e0c52e3925f64c57-01
tracestate cptest=v1
test id
otel-rust--rabbitmq-rabbitmq--8389056b
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent

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