otel-dotnet

.NET zero-code OpenTelemetry.AutoInstrumentation1.20.0

attach instrument.sh env: CLR profiler + DOTNET_STARTUP_HOOKS (OpenTelemetry.AutoInstrumentation)

32/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).

140 cells affected

otel-ot-baggage-not-default

OTel .NET: RabbitMQ.Client's native propagation continues the trace but carries no baggage

open RabbitMQ.Client 7's native ActivitySource extractor reads trace id and tracestate only; baggage lives in an opt-in package that never shipped stable.

On rabbitmq->* the trace continues (traceparent and tracestate pass) but baggage is dropped. The propagation here is RabbitMQ.Client's own, not OTel's: 7.x ships native ActivitySource instrumentation (PR #1261) whose DefaultContextExtractor calls ExtractTraceIdAndState(...) only; the word "baggage" does not appear in the propagation code.

Baggage was addressed only via an opt-in companion package (PR #1528: "Making it possible to override the default context propagation … to have proper OpenTelemetry Baggage propagation"). That package, RabbitMQ.Client.OpenTelemetry, has only ever shipped as 1.0.0-rc.1/rc.2 (#1728, open since Nov 2024), and zero-code deployments never wire it in. The OTel auto-instrumentation tracks deliver-span baggage as an unbuilt feature (#3662, open).

Version caveat for the passing half: parent-child continuity on consume is the default only since RabbitMQ.Client 7.2.0 (UsePublisherAsParent, PR #1779); on 7.0–7.1 the deliver activity was link-only. The relay pins 7.2.2.

4 cells affected

otel-dotnet-rabbitmq-consume-drops-baggage

Versions in this run

Tracer
open-telemetry/opentelemetry-dotnet-instrumentation 1.20.0 this version 1.20.0 on github-releases github
Runtime
.NET 10.0.15 (CLR 10.0.15)
Setup tier
zero-code Runtime attach only: an agent flag, a preload require, the CLR profiler environment, a php.ini extension. No application source involved.
Attach
instrument.sh env: CLR profiler + DOTNET_STARTUP_HOOKS (OpenTelemetry.AutoInstrumentation)
Relay source
relays/dotnet
Ran at
23 Nov 2026, 19:00 UTC
Harness
f018f71 · run run-2026-11-24
Raw JSON
run-2026-11-24.json → variants[id = "otel-dotnet"]

Libraries

grpcGrpc.AspNetCore + Grpc.Net.Client 2.85.0
httpHttpClient
kafkaConfluent.Kafka 2.16.0
rabbitmqRabbitMQ.Client 7.2.2

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-a7b9f365,team=alpha
ot-baggage-routing-key rk-a7b9f365
traceparent 00-c2ec0afd9f0b98c47eef6d2237856d5e-61375c3b69b3671f-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-http--9937f6ad

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-a7b9f365,team=alpha
content-type application/json; charset=utf-8
traceparent 00-c2ec0afd9f0b98c47eef6d2237856d5e-fe2df910b2ffce34-01
tracestate cptest=v1
test id
otel-dotnet--http-http--9937f6ad
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-50fa15a2,team=alpha
ot-baggage-routing-key rk-50fa15a2
traceparent 00-2051e14fda9f765caa9d8de4b8d9fa5a-d9360d77c4e321f6-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-grpc--1622643b

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-50fa15a2,team=alpha
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-2051e14fda9f765caa9d8de4b8d9fa5a-7a6520b1f2fb1fba-01
tracestate cptest=v1
user-agent grpc-dotnet/2.85.0 (.NET 10.0.15; CLR 10.0.15; net10.0; linux; x64)
test id
otel-dotnet--http-grpc--1622643b
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-73d3d8fb,team=alpha
ot-baggage-routing-key rk-73d3d8fb
traceparent 00-c59e01c23427775b2882485bd06799fb-6326b7dbd7371b5d-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-kafka--d859c498

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-73d3d8fb,team=alpha
traceparent 00-c59e01c23427775b2882485bd06799fb-c4991257fd644275-01
tracestate cptest=v1
test id
otel-dotnet--http-kafka--d859c498
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-f0b1c589,team=alpha
ot-baggage-routing-key rk-f0b1c589
traceparent 00-ea0f8d691583c58cc2c730d2be21e81e-4866d567c9005a9d-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-rabbitmq--316588cb

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

baggage routing-key = rk-f0b1c589, team = alpha
traceparent 00-ea0f8d691583c58cc2c730d2be21e81e-fcee1328d9beb03f-01
tracestate cptest=v1
test id
otel-dotnet--http-rabbitmq--316588cb
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-bfde31fc,team=alpha
ot-baggage-routing-key rk-bfde31fc
traceparent 00-ec54c882f122a83ff37b8482b1eddf38-9da4d39001a8603f-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-http--75f7a6d1

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-bfde31fc,team=alpha
content-type application/json; charset=utf-8
traceparent 00-ec54c882f122a83ff37b8482b1eddf38-261cea22506b0e5b-01
tracestate cptest=v1
test id
otel-dotnet--grpc-http--75f7a6d1
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-8b5ebca5,team=alpha
ot-baggage-routing-key rk-8b5ebca5
traceparent 00-1d2206483d940b7b2bf0c9c05ffa0e79-1c5fa77cadd62e6f-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-grpc--0d6dfe66

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-8b5ebca5,team=alpha
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-1d2206483d940b7b2bf0c9c05ffa0e79-11e41c33141aa4b5-01
tracestate cptest=v1
user-agent grpc-dotnet/2.85.0 (.NET 10.0.15; CLR 10.0.15; net10.0; linux; x64)
test id
otel-dotnet--grpc-grpc--0d6dfe66
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-11c87de5,team=alpha
ot-baggage-routing-key rk-11c87de5
traceparent 00-94d4ec8e89544c927db87306c17751bf-01964d723bdb9c40-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-kafka--7d4a7a26

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-11c87de5,team=alpha
traceparent 00-94d4ec8e89544c927db87306c17751bf-a65548c283bdde5d-01
tracestate cptest=v1
test id
otel-dotnet--grpc-kafka--7d4a7a26
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-27e4f2b9,team=alpha
ot-baggage-routing-key rk-27e4f2b9
traceparent 00-6cbde60e28fd8913e1fd3c8c862a4dcd-880fa9cec0adfc8b-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-rabbitmq--c2adccb9

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

baggage routing-key = rk-27e4f2b9, team = alpha
traceparent 00-6cbde60e28fd8913e1fd3c8c862a4dcd-eeeffcb21b48bb50-01
tracestate cptest=v1
test id
otel-dotnet--grpc-rabbitmq--c2adccb9
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-41e51cf4,team=alpha
ot-baggage-routing-key rk-41e51cf4
traceparent 00-856491e8494c6c042208fa6a4cbf9394-2abfd808215cfccb-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-http--e0abbf6f

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-20ba414ebf9ffaedda8b1d0af1c528b8-f26903f0ea0509b7-03
test id
otel-dotnet--kafka-http--e0abbf6f
raw statuses
baggage=absenttracestate=absenttraceparent=new_traceot_baggage=absent
Kafka gRPC baggage tracestate traceparent ot-baggage delivered via grpc

Seeded on the inbound Kafka record headers

baggage routing-key=rk-60557f3e,team=alpha
ot-baggage-routing-key rk-60557f3e
traceparent 00-2b37d1ebadabfc06c8d16c7509d85e77-f0d8a9a1f232f173-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-grpc--5fb78095

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-553d82cfc9a4a8a6f140a99ac5f2d59f-51cb162dcf10c5ea-03
user-agent grpc-dotnet/2.85.0 (.NET 10.0.15; CLR 10.0.15; net10.0; linux; x64)
test id
otel-dotnet--kafka-grpc--5fb78095
raw statuses
baggage=absenttracestate=absenttraceparent=new_traceot_baggage=absent
Kafka Kafka baggage tracestate traceparent ot-baggage delivered via kafka

Seeded on the inbound Kafka record headers

baggage routing-key=rk-4e54272d,team=alpha
ot-baggage-routing-key rk-4e54272d
traceparent 00-565d1c944815d9b93c375f29abcfb918-a1cf1959172bba64-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-kafka--dadc5f37

Observed at the sink on the outbound Kafka record headers

traceparent 00-0ba38516f2c0453fe4fa51cf826a884d-13a0b9fc46d6c244-03
test id
otel-dotnet--kafka-kafka--dadc5f37
raw statuses
baggage=absenttracestate=absenttraceparent=new_traceot_baggage=absent
Kafka RabbitMQ baggage tracestate traceparent ot-baggage delivered via rabbitmq

Seeded on the inbound Kafka record headers

baggage routing-key=rk-3d763314,team=alpha
ot-baggage-routing-key rk-3d763314
traceparent 00-c7379f90f5b6a446c4c478e097ddbfbb-d655657634aa2ffc-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-rabbitmq--bfa7b447

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

traceparent 00-16e5612dad6e46f36caa893a7fd9cb79-e34c60db35860310-03
test id
otel-dotnet--kafka-rabbitmq--bfa7b447
raw statuses
baggage=absenttracestate=absenttraceparent=new_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-2ecb5b09,team=alpha
ot-baggage-routing-key rk-2ecb5b09
traceparent 00-5c7f97dda5cffdc7bf0975f2e0813dc9-a7b185e524ec6913-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-http--7af543ff

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-5c7f97dda5cffdc7bf0975f2e0813dc9-04b82421307e703a-01
tracestate cptest=v1
test id
otel-dotnet--rabbitmq-http--7af543ff
raw statuses
baggage=absenttracestate=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-878c3574,team=alpha
ot-baggage-routing-key rk-878c3574
traceparent 00-8f39d937e490db62184bf2b097a0e158-5ec56c18edff91b2-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-grpc--0b2ad60b

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-8f39d937e490db62184bf2b097a0e158-1741d0fbda12bd16-01
tracestate cptest=v1
user-agent grpc-dotnet/2.85.0 (.NET 10.0.15; CLR 10.0.15; net10.0; linux; x64)
test id
otel-dotnet--rabbitmq-grpc--0b2ad60b
raw statuses
baggage=absenttracestate=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-e254bc1a,team=alpha
ot-baggage-routing-key rk-e254bc1a
traceparent 00-74d0ef5e13f44ff0980e544029b81273-495d4875d281fe99-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-kafka--410147b4

Observed at the sink on the outbound Kafka record headers

traceparent 00-74d0ef5e13f44ff0980e544029b81273-d760fdfe134a51cc-01
tracestate cptest=v1
test id
otel-dotnet--rabbitmq-kafka--410147b4
raw statuses
baggage=absenttracestate=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-807ca559,team=alpha
ot-baggage-routing-key rk-807ca559
traceparent 00-7692903bf827c4de3eb308555e8ec6d6-e41090c495126630-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-rabbitmq--7af2ff8a

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

traceparent 00-7692903bf827c4de3eb308555e8ec6d6-e2170cc6d84f2dd0-01
tracestate cptest=v1
test id
otel-dotnet--rabbitmq-rabbitmq--7af2ff8a
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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