otel-rust

Rust in-code opentelemetry0.30.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.30.0 0.30.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, 04:07 UTC
Harness
e793604 · measured in backtest-otel-rust-0.30.0
Raw JSON
0.30.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.30.0 + opentelemetry_sdk 0.30.0 + opentelemetry-http 0.30.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-95a65e28,team=alpha
ot-baggage-routing-key rk-95a65e28
traceparent 00-1e085e1732351fd9795441b16c8d3da2-4cec607ca4a69304-01
tracestate cptest=v1
x-cp-canary otel-rust--http-http--45f7d9b2

Observed at the sink on the outbound HTTP request headers

accept */*
baggage routing-key=rk-95a65e28,team=alpha
content-length 44
content-type application/json
traceparent 00-1e085e1732351fd9795441b16c8d3da2-db9966ae88355093-01
tracestate cptest=v1
test id
otel-rust--http-http--45f7d9b2
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-c32fedf5,team=alpha
ot-baggage-routing-key rk-c32fedf5
traceparent 00-9f85001b9d8636a387f5628cad692821-15d05e66908dc61b-01
tracestate cptest=v1
x-cp-canary otel-rust--http-grpc--5d4e85f2

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-c32fedf5,team=alpha
content-type application/grpc
traceparent 00-9f85001b9d8636a387f5628cad692821-d5482b16137e8c5f-01
tracestate cptest=v1
user-agent tonic/0.14.6
test id
otel-rust--http-grpc--5d4e85f2
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-e2903cc3,team=alpha
ot-baggage-routing-key rk-e2903cc3
traceparent 00-ed3bc77e1d7b428b3b896f3a41d3a45a-2a967a5447b21394-01
tracestate cptest=v1
x-cp-canary otel-rust--http-kafka--58b65469

Observed at the sink on the outbound Kafka record headers

baggage team=alpha,routing-key=rk-e2903cc3
traceparent 00-ed3bc77e1d7b428b3b896f3a41d3a45a-83d66947a876c9c8-01
tracestate cptest=v1
test id
otel-rust--http-kafka--58b65469
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-fb82ce70,team=alpha
ot-baggage-routing-key rk-fb82ce70
traceparent 00-9ab9c04e6f71f228fbee251de6462f92-6cc786003020f3da-01
tracestate cptest=v1
x-cp-canary otel-rust--http-rabbitmq--6ca9d876

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

baggage routing-key=rk-fb82ce70,team=alpha
traceparent 00-9ab9c04e6f71f228fbee251de6462f92-ed51a215b0e86cf1-01
tracestate cptest=v1
test id
otel-rust--http-rabbitmq--6ca9d876
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-2b75943a,team=alpha
ot-baggage-routing-key rk-2b75943a
traceparent 00-70bb36a4c9748a242e81218f6ed6c3c1-32ab4a06b6be2561-01
tracestate cptest=v1
x-cp-canary otel-rust--grpc-http--139f5433

Observed at the sink on the outbound HTTP request headers

accept */*
baggage routing-key=rk-2b75943a,team=alpha
content-length 44
content-type application/json
traceparent 00-70bb36a4c9748a242e81218f6ed6c3c1-39a0fcf8348a766d-01
tracestate cptest=v1
test id
otel-rust--grpc-http--139f5433
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-4d9a774d,team=alpha
ot-baggage-routing-key rk-4d9a774d
traceparent 00-96792c1054dce2a9cbc973c267502e82-ac16793ea4c68d48-01
tracestate cptest=v1
x-cp-canary otel-rust--grpc-grpc--95014a21

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-4d9a774d,team=alpha
content-type application/grpc
traceparent 00-96792c1054dce2a9cbc973c267502e82-d611359d83239207-01
tracestate cptest=v1
user-agent tonic/0.14.6
test id
otel-rust--grpc-grpc--95014a21
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-7c1b6884,team=alpha
ot-baggage-routing-key rk-7c1b6884
traceparent 00-bc2e43c5ecb359bf83afa3171b30b8e1-9de4f75a678b9454-01
tracestate cptest=v1
x-cp-canary otel-rust--grpc-kafka--c6325fab

Observed at the sink on the outbound Kafka record headers

baggage team=alpha,routing-key=rk-7c1b6884
traceparent 00-bc2e43c5ecb359bf83afa3171b30b8e1-e5cebefcf9e255ba-01
tracestate cptest=v1
test id
otel-rust--grpc-kafka--c6325fab
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-5bf88e4e,team=alpha
ot-baggage-routing-key rk-5bf88e4e
traceparent 00-d76acef9e9ef5431afa00a28b23a84d8-13e927a3aef3df1b-01
tracestate cptest=v1
x-cp-canary otel-rust--grpc-rabbitmq--29ecc601

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

baggage routing-key=rk-5bf88e4e,team=alpha
traceparent 00-d76acef9e9ef5431afa00a28b23a84d8-b9d55740b0e2c576-01
tracestate cptest=v1
test id
otel-rust--grpc-rabbitmq--29ecc601
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-f3191be8,team=alpha
ot-baggage-routing-key rk-f3191be8
traceparent 00-4c58f6721beb45b29d2419213f94f4d5-5d584f85be65b49a-01
tracestate cptest=v1
x-cp-canary otel-rust--kafka-http--59f2493c

Observed at the sink on the outbound HTTP request headers

accept */*
baggage routing-key=rk-f3191be8,team=alpha
content-length 45
content-type application/json
traceparent 00-4c58f6721beb45b29d2419213f94f4d5-a4552271cd2e3cb0-01
tracestate cptest=v1
test id
otel-rust--kafka-http--59f2493c
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-128479f1,team=alpha
ot-baggage-routing-key rk-128479f1
traceparent 00-f403686502c8321ab63f3bc1d039e6d4-21d7a0c3d94648f1-01
tracestate cptest=v1
x-cp-canary otel-rust--kafka-grpc--90429b89

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-128479f1,team=alpha
content-type application/grpc
traceparent 00-f403686502c8321ab63f3bc1d039e6d4-58927ddd8a58eb07-01
tracestate cptest=v1
user-agent tonic/0.14.6
test id
otel-rust--kafka-grpc--90429b89
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-4199c8e7,team=alpha
ot-baggage-routing-key rk-4199c8e7
traceparent 00-7372160e89b4d8dcfb916933ab38f9d5-be7d4f9a137965ea-01
tracestate cptest=v1
x-cp-canary otel-rust--kafka-kafka--099d3a58

Observed at the sink on the outbound Kafka record headers

baggage team=alpha,routing-key=rk-4199c8e7
traceparent 00-7372160e89b4d8dcfb916933ab38f9d5-8568f485fe0dbd8d-01
tracestate cptest=v1
test id
otel-rust--kafka-kafka--099d3a58
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-a8eebd03,team=alpha
ot-baggage-routing-key rk-a8eebd03
traceparent 00-8a58a31932d3d2eb25c077f525c5ba2b-c3a52850dc821187-01
tracestate cptest=v1
x-cp-canary otel-rust--kafka-rabbitmq--4e3f26fa

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

baggage team=alpha,routing-key=rk-a8eebd03
traceparent 00-8a58a31932d3d2eb25c077f525c5ba2b-e67af432a03ad47b-01
tracestate cptest=v1
test id
otel-rust--kafka-rabbitmq--4e3f26fa
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-d37b6e79,team=alpha
ot-baggage-routing-key rk-d37b6e79
traceparent 00-3bc1d74c03ae190820c0168f75b04e79-440ce8b7045c0379-01
tracestate cptest=v1
x-cp-canary otel-rust--rabbitmq-http--68d19126

Observed at the sink on the outbound HTTP request headers

accept */*
baggage team=alpha,routing-key=rk-d37b6e79
content-length 48
content-type application/json
traceparent 00-3bc1d74c03ae190820c0168f75b04e79-196b98af3edd5367-01
tracestate cptest=v1
test id
otel-rust--rabbitmq-http--68d19126
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-ea3aa3e8,team=alpha
ot-baggage-routing-key rk-ea3aa3e8
traceparent 00-a102f7fda3f53f943b0cb3beeefd2af1-b6ab46c391b0bea6-01
tracestate cptest=v1
x-cp-canary otel-rust--rabbitmq-grpc--03e60a59

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage team=alpha,routing-key=rk-ea3aa3e8
content-type application/grpc
traceparent 00-a102f7fda3f53f943b0cb3beeefd2af1-c62c1e01d17fa22d-01
tracestate cptest=v1
user-agent tonic/0.14.6
test id
otel-rust--rabbitmq-grpc--03e60a59
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-4ab1b7f7,team=alpha
ot-baggage-routing-key rk-4ab1b7f7
traceparent 00-83e527861530f4569a54f67d112d07b4-2c02c5ddff00e448-01
tracestate cptest=v1
x-cp-canary otel-rust--rabbitmq-kafka--3ef20ba4

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-4ab1b7f7,team=alpha
traceparent 00-83e527861530f4569a54f67d112d07b4-d8e5d8b5ba081ea8-01
tracestate cptest=v1
test id
otel-rust--rabbitmq-kafka--3ef20ba4
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-7c239a52,team=alpha
ot-baggage-routing-key rk-7c239a52
traceparent 00-6156764ead325debf3d493c44c7dc202-5e7fdfc1bbe60b71-01
tracestate cptest=v1
x-cp-canary otel-rust--rabbitmq-rabbitmq--0078ace7

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

baggage team=alpha,routing-key=rk-7c239a52
traceparent 00-6156764ead325debf3d493c44c7dc202-251bc917e6b8bf33-01
tracestate cptest=v1
test id
otel-rust--rabbitmq-rabbitmq--0078ace7
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent

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