otel-dotnet

.NET zero-code OpenTelemetry.AutoInstrumentation1.16.0

attach CLR profiler env (OpenTelemetry.AutoInstrumentation)

32/64 cells pass
  • Pass
  • Partial
  • New trace
  • Fail
  • Undelivered
  • Not run

Not compared with the uninstrumented .NET relay (no run on this site measured it on .NET 8.0.33 (CLR 8.0.33)).

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

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 measured

Tracer
open-telemetry/opentelemetry-dotnet-instrumentation 1.16.0 1.16.0 on github-releases github
Runtime
.NET 8.0.33 (CLR 8.0.33)
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
CLR profiler env (OpenTelemetry.AutoInstrumentation)
Relay source
relays/dotnet
Ran at
9 Nov 2026, 13:06 UTC
Harness
9beafb3 · measured in run-2026-11-09.3
Raw JSON
1.16.0.json → variants[id = "otel-dotnet"]

Libraries

grpcGrpc.AspNetCore + Grpc.Net.Client 2.83.0
httpHttpClient
kafkaConfluent.Kafka 2.14.2
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-936e2bb0,team=alpha
ot-baggage-routing-key rk-936e2bb0
traceparent 00-39a5a94ae7a549951d5dcc35fa9acd93-a7385efc6c1ddc37-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-http--9480e6bf

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-936e2bb0,team=alpha
content-type application/json; charset=utf-8
traceparent 00-39a5a94ae7a549951d5dcc35fa9acd93-86bb1f628b0d7324-01
tracestate cptest=v1
test id
otel-dotnet--http-http--9480e6bf
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-52aa0781,team=alpha
ot-baggage-routing-key rk-52aa0781
traceparent 00-a76fe1f0319c9014de972f9b3aaafafa-528b5be23f73a02e-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-grpc--32129a02

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-52aa0781,team=alpha
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-a76fe1f0319c9014de972f9b3aaafafa-1569f8e1ab30342a-01
tracestate cptest=v1
user-agent grpc-dotnet/2.83.0 (.NET 8.0.33; CLR 8.0.33; net8.0; linux; x64)
test id
otel-dotnet--http-grpc--32129a02
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-d8db0993,team=alpha
ot-baggage-routing-key rk-d8db0993
traceparent 00-3867056429915fd420655bdb8fd6eca8-dd6a71189df4b28e-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-kafka--48cdb671

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-d8db0993,team=alpha
traceparent 00-3867056429915fd420655bdb8fd6eca8-736a999e5501d22c-01
tracestate cptest=v1
test id
otel-dotnet--http-kafka--48cdb671
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-68295423,team=alpha
ot-baggage-routing-key rk-68295423
traceparent 00-67f5192707a2c58e78ef4b1f9d2d7ec9-3873ebe0f2fafcbc-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-rabbitmq--bbc61bf9

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

baggage routing-key = rk-68295423, team = alpha
traceparent 00-67f5192707a2c58e78ef4b1f9d2d7ec9-dd037cc8120a1344-01
tracestate cptest=v1
test id
otel-dotnet--http-rabbitmq--bbc61bf9
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-52dfc2dd,team=alpha
ot-baggage-routing-key rk-52dfc2dd
traceparent 00-03bd4b79089cd1cc8b5954faf20763a6-390eb06897bae27f-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-http--a11f59c5

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-52dfc2dd,team=alpha
content-type application/json; charset=utf-8
traceparent 00-03bd4b79089cd1cc8b5954faf20763a6-af0d097adaad5a1e-01
tracestate cptest=v1
test id
otel-dotnet--grpc-http--a11f59c5
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-97aaa877,team=alpha
ot-baggage-routing-key rk-97aaa877
traceparent 00-b32d327859c9704bcaa7ca86d777b11e-0e412e04e55425b8-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-grpc--26b4123c

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-97aaa877,team=alpha
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-b32d327859c9704bcaa7ca86d777b11e-51c5f8d6b1a38905-01
tracestate cptest=v1
user-agent grpc-dotnet/2.83.0 (.NET 8.0.33; CLR 8.0.33; net8.0; linux; x64)
test id
otel-dotnet--grpc-grpc--26b4123c
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-c7ee4438,team=alpha
ot-baggage-routing-key rk-c7ee4438
traceparent 00-416da270ccc6c80c4fc0fa0a22cd3d7b-321799fd90d704dc-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-kafka--71556e11

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-c7ee4438,team=alpha
traceparent 00-416da270ccc6c80c4fc0fa0a22cd3d7b-942aa6260de5def0-01
tracestate cptest=v1
test id
otel-dotnet--grpc-kafka--71556e11
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-90850897,team=alpha
ot-baggage-routing-key rk-90850897
traceparent 00-bf1ebe5181ae56fd2f00752618579076-7bf1ddef4f57a944-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-rabbitmq--0d786798

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

baggage routing-key = rk-90850897, team = alpha
traceparent 00-bf1ebe5181ae56fd2f00752618579076-9bf268b22b35118e-01
tracestate cptest=v1
test id
otel-dotnet--grpc-rabbitmq--0d786798
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-2dea7a2c,team=alpha
ot-baggage-routing-key rk-2dea7a2c
traceparent 00-c5ccc724c218c72bf624e0148aef78f7-fd3056a687a32eb2-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-http--1bd04bcb

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-3707c4f91ee58bee5a8f7993f17c215a-9e4603ec632406d0-01
test id
otel-dotnet--kafka-http--1bd04bcb
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-8d28949f,team=alpha
ot-baggage-routing-key rk-8d28949f
traceparent 00-403d5d078cbec22f037bbb44d503fbd1-e7905944e0216a83-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-grpc--d4096928

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-df4124558f0cb85b8c03173264ad5366-1d884d41b8172597-01
user-agent grpc-dotnet/2.83.0 (.NET 8.0.33; CLR 8.0.33; net8.0; linux; x64)
test id
otel-dotnet--kafka-grpc--d4096928
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-3a650e02,team=alpha
ot-baggage-routing-key rk-3a650e02
traceparent 00-81334394674ec44d5a0cfc32dda1cd72-44878263633125d9-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-kafka--fbae2922

Observed at the sink on the outbound Kafka record headers

traceparent 00-84ccb66fcb87ea8811ba984dde00ef9e-c347761805a0864e-01
test id
otel-dotnet--kafka-kafka--fbae2922
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-57711771,team=alpha
ot-baggage-routing-key rk-57711771
traceparent 00-914bfe2657e9316392dd11d15fcf5eb6-f1ebdcab7a596263-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-rabbitmq--8e8073b2

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

traceparent 00-335a8201d45e07fb3d1a8e42e16a0a76-bd5422d6fccc7562-01
test id
otel-dotnet--kafka-rabbitmq--8e8073b2
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-293774be,team=alpha
ot-baggage-routing-key rk-293774be
traceparent 00-0bf138e481dad65404a27ecc793a7019-65f99dfd18da3004-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-http--7cd498dd

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-0bf138e481dad65404a27ecc793a7019-ada0fa6deff85f72-01
tracestate cptest=v1
test id
otel-dotnet--rabbitmq-http--7cd498dd
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-bc9fc601,team=alpha
ot-baggage-routing-key rk-bc9fc601
traceparent 00-da3d7663b7d11eff3af406457261f7cd-6570c72891717f54-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-grpc--f228e9c7

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-da3d7663b7d11eff3af406457261f7cd-e6c40d13d11e5e52-01
tracestate cptest=v1
user-agent grpc-dotnet/2.83.0 (.NET 8.0.33; CLR 8.0.33; net8.0; linux; x64)
test id
otel-dotnet--rabbitmq-grpc--f228e9c7
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-e94cf12b,team=alpha
ot-baggage-routing-key rk-e94cf12b
traceparent 00-e768b046875219be2d774fcf3e7fceb7-0129e52ed3a39280-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-kafka--17b3cf0c

Observed at the sink on the outbound Kafka record headers

traceparent 00-e768b046875219be2d774fcf3e7fceb7-75f902168d90f09e-01
tracestate cptest=v1
test id
otel-dotnet--rabbitmq-kafka--17b3cf0c
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-dc5c656f,team=alpha
ot-baggage-routing-key rk-dc5c656f
traceparent 00-d98beeba24b427d5ea0569a98e966984-c8260cd359170371-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-rabbitmq--4d4293da

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

traceparent 00-d98beeba24b427d5ea0569a98e966984-f547295ba699b3cc-01
tracestate cptest=v1
test id
otel-dotnet--rabbitmq-rabbitmq--4d4293da
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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