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
25 Nov 2026, 00:15 UTC
Harness
b33e402 · run run-2026-11-26
Raw JSON
run-2026-11-26.json → variants[id = "otel-dotnet"]

Libraries

grpcGrpc.AspNetCore + Grpc.Net.Client 2.85.0
httpHttpClient
kafkaConfluent.Kafka 2.16.0
rabbitmqRabbitMQ.Client 7.3.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-1e2f693f,team=alpha
ot-baggage-routing-key rk-1e2f693f
traceparent 00-28478029a6737b6f3ccca73216833286-4979c20a53eb0dce-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-http--49de0d0c

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-1e2f693f,team=alpha
content-type application/json; charset=utf-8
traceparent 00-28478029a6737b6f3ccca73216833286-87bda50ccaa51022-01
tracestate cptest=v1
test id
otel-dotnet--http-http--49de0d0c
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-ad9f3318,team=alpha
ot-baggage-routing-key rk-ad9f3318
traceparent 00-4f450e313a51884dbeaf8e260b2da9c3-b11d61fb04474805-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-grpc--cb52bc98

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-ad9f3318,team=alpha
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-4f450e313a51884dbeaf8e260b2da9c3-2572952d1d1319df-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--cb52bc98
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-41bebe4b,team=alpha
ot-baggage-routing-key rk-41bebe4b
traceparent 00-54e30844a2611e45f34608000fc020a3-7650ca91893765ac-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-kafka--e021ec32

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-41bebe4b,team=alpha
traceparent 00-54e30844a2611e45f34608000fc020a3-136dddd515210ed0-01
tracestate cptest=v1
test id
otel-dotnet--http-kafka--e021ec32
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-9fc9b3dd,team=alpha
ot-baggage-routing-key rk-9fc9b3dd
traceparent 00-c3cba09b0587c30c6ee5108b3b1c63d9-0e8ed29cc1e3be93-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-rabbitmq--58333769

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

baggage routing-key = rk-9fc9b3dd, team = alpha
traceparent 00-c3cba09b0587c30c6ee5108b3b1c63d9-c5a891ea1ed8b0e2-01
tracestate cptest=v1
test id
otel-dotnet--http-rabbitmq--58333769
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-c94fda18,team=alpha
ot-baggage-routing-key rk-c94fda18
traceparent 00-024ba648e803bb0253dac0cced842494-3594a644302b34b4-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-http--44f6d0c7

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-c94fda18,team=alpha
content-type application/json; charset=utf-8
traceparent 00-024ba648e803bb0253dac0cced842494-d212bd9d8dc520fc-01
tracestate cptest=v1
test id
otel-dotnet--grpc-http--44f6d0c7
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-e13ab900,team=alpha
ot-baggage-routing-key rk-e13ab900
traceparent 00-abddcbfdc53ab0b21b0d7a56e9030a6a-df8b75541e660b64-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-grpc--eb7eb49f

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-e13ab900,team=alpha
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-abddcbfdc53ab0b21b0d7a56e9030a6a-d43e8db4e6f45865-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--eb7eb49f
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-a2100b1e,team=alpha
ot-baggage-routing-key rk-a2100b1e
traceparent 00-3b24991df9bdff16a6c5f4976f336a83-124f9da1d58212ac-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-kafka--280e9067

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-a2100b1e,team=alpha
traceparent 00-3b24991df9bdff16a6c5f4976f336a83-a2406a9bf7d8e7a8-01
tracestate cptest=v1
test id
otel-dotnet--grpc-kafka--280e9067
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-875b1655,team=alpha
ot-baggage-routing-key rk-875b1655
traceparent 00-d5a3d9768a1b9e12f76e41aae5e88f11-c912e0d2880f1639-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-rabbitmq--0cedd683

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

baggage routing-key = rk-875b1655, team = alpha
traceparent 00-d5a3d9768a1b9e12f76e41aae5e88f11-3c845772cc1f996a-01
tracestate cptest=v1
test id
otel-dotnet--grpc-rabbitmq--0cedd683
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-d2c22e03,team=alpha
ot-baggage-routing-key rk-d2c22e03
traceparent 00-7fd26ff425f2a0e134650e6accac13aa-5261d258e2cd281d-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-http--c14c2fd0

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-52fa08cb3a6671c279e611d8666e684a-93f1c5cecd53cf54-03
test id
otel-dotnet--kafka-http--c14c2fd0
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-d3059e3d,team=alpha
ot-baggage-routing-key rk-d3059e3d
traceparent 00-ccb65376cf16b64715ef8dad4ea72329-43f59ad67881982a-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-grpc--b53ad6ba

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-0c7979a294c8673585f1cb4f1c8d79d6-962ec3866f92f2ac-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--b53ad6ba
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-5e4cc5af,team=alpha
ot-baggage-routing-key rk-5e4cc5af
traceparent 00-94dc96372339bbfa8708c713eb378dbe-efdf55230fc9d324-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-kafka--bd201d1b

Observed at the sink on the outbound Kafka record headers

traceparent 00-e39782cfb69bc855a5b8bf86a7c45251-85c872dd9ef0e55c-03
test id
otel-dotnet--kafka-kafka--bd201d1b
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-2f49812c,team=alpha
ot-baggage-routing-key rk-2f49812c
traceparent 00-c763404bff09d61c6b67b25e81821e89-ee4c05a13e4b55ef-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-rabbitmq--b961727a

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

traceparent 00-7d167576a21ee60d13b461dc58da0f84-abf5cdf8960bd91f-03
test id
otel-dotnet--kafka-rabbitmq--b961727a
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-492ac389,team=alpha
ot-baggage-routing-key rk-492ac389
traceparent 00-42f3eea47f8247ec4e72557b5cd4302f-d0fd576863acee92-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-http--394a2e0b

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-42f3eea47f8247ec4e72557b5cd4302f-f087929d2c99494f-01
tracestate cptest=v1
test id
otel-dotnet--rabbitmq-http--394a2e0b
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-c450d463,team=alpha
ot-baggage-routing-key rk-c450d463
traceparent 00-8e074f167b9d6b17ab967581d5addd21-0a9497515afc313a-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-grpc--ed41a09d

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-8e074f167b9d6b17ab967581d5addd21-09d1dd14b8581c06-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--ed41a09d
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-943e38fd,team=alpha
ot-baggage-routing-key rk-943e38fd
traceparent 00-619a7c0abb61a78c2d993dd2ff73c7e6-da77ffcd96386327-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-kafka--ed444153

Observed at the sink on the outbound Kafka record headers

traceparent 00-619a7c0abb61a78c2d993dd2ff73c7e6-f6310517994bb49a-01
tracestate cptest=v1
test id
otel-dotnet--rabbitmq-kafka--ed444153
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-9fcc0919,team=alpha
ot-baggage-routing-key rk-9fcc0919
traceparent 00-67487bc8112d6976352adf7a1afa7b10-751e96edaa92aa74-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-rabbitmq--8c9d1089

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

traceparent 00-67487bc8112d6976352adf7a1afa7b10-ebdaf27417ef041a-01
tracestate cptest=v1
test id
otel-dotnet--rabbitmq-rabbitmq--8c9d1089
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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