otel-dotnet

.NET zero-code OpenTelemetry.AutoInstrumentation1.13.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.13.0 1.13.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
1 Nov 2026, 03:46 UTC
Harness
e793604 · measured in backtest-otel-dotnet-1.13.0
Raw JSON
1.13.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-e8d2840f,team=alpha
ot-baggage-routing-key rk-e8d2840f
traceparent 00-f2442a72aa80be718befbb7419fd4a14-e7f06e5e44bb1f0d-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-http--dbd07e99

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-e8d2840f,team=alpha
content-type application/json; charset=utf-8
traceparent 00-f2442a72aa80be718befbb7419fd4a14-9d5308e0527012ff-01
tracestate cptest=v1
test id
otel-dotnet--http-http--dbd07e99
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-e1e8baaf,team=alpha
ot-baggage-routing-key rk-e1e8baaf
traceparent 00-d31c94991e68efe682d7df09b5556d81-e6d4d8039acb3108-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-grpc--52324a8a

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-e1e8baaf,team=alpha
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-d31c94991e68efe682d7df09b5556d81-2bc929155e70f5c4-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--52324a8a
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-d7c175dd,team=alpha
ot-baggage-routing-key rk-d7c175dd
traceparent 00-b94b48657e0817c6b2be98c092b3ca3e-33b6d391d99c6337-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-kafka--a73b3843

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-d7c175dd,team=alpha
traceparent 00-b94b48657e0817c6b2be98c092b3ca3e-48e436fa0284012f-01
tracestate cptest=v1
test id
otel-dotnet--http-kafka--a73b3843
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-dfd0606d,team=alpha
ot-baggage-routing-key rk-dfd0606d
traceparent 00-c079cbaa6762c20e2664074a2b7b9a09-9938e5767e0f7690-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-rabbitmq--510c46a7

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

baggage routing-key = rk-dfd0606d, team = alpha
traceparent 00-c079cbaa6762c20e2664074a2b7b9a09-b28c4ef849bba57b-01
tracestate cptest=v1
test id
otel-dotnet--http-rabbitmq--510c46a7
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-7b6a82ae,team=alpha
ot-baggage-routing-key rk-7b6a82ae
traceparent 00-00e9e4e77af71292a24cd2c1c873a677-49d8b1804d1ea12b-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-http--faa6a520

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-7b6a82ae,team=alpha
content-type application/json; charset=utf-8
traceparent 00-00e9e4e77af71292a24cd2c1c873a677-8e2b30793522e2fc-01
tracestate cptest=v1
test id
otel-dotnet--grpc-http--faa6a520
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-dcf8aacf,team=alpha
ot-baggage-routing-key rk-dcf8aacf
traceparent 00-2c9c714dbfa64445eb8919f97bbb39f1-8694e8a6cb04a4e5-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-grpc--ab43b0c1

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-dcf8aacf,team=alpha
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-2c9c714dbfa64445eb8919f97bbb39f1-7510f0dcc9bdaeef-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--ab43b0c1
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-73781857,team=alpha
ot-baggage-routing-key rk-73781857
traceparent 00-022c84268f88031c916970a44d0a81f3-6dfa312a9568461c-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-kafka--4d628511

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-73781857,team=alpha
traceparent 00-022c84268f88031c916970a44d0a81f3-fa09d7938a4b4bf9-01
tracestate cptest=v1
test id
otel-dotnet--grpc-kafka--4d628511
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-95bb68ac,team=alpha
ot-baggage-routing-key rk-95bb68ac
traceparent 00-a855da825134b021e8ac31ac418e9bc0-a0da4622959986be-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-rabbitmq--84be975b

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

baggage routing-key = rk-95bb68ac, team = alpha
traceparent 00-a855da825134b021e8ac31ac418e9bc0-661922f3e1ee9d56-01
tracestate cptest=v1
test id
otel-dotnet--grpc-rabbitmq--84be975b
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-f026c276,team=alpha
ot-baggage-routing-key rk-f026c276
traceparent 00-12046b9f3ef9cac1535f2c06399e0708-d5cd30e4af1767dd-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-http--a7e776e2

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-194d805c314515d52c25e01ccf46ba45-6351176fe355f897-01
test id
otel-dotnet--kafka-http--a7e776e2
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-1bafa277,team=alpha
ot-baggage-routing-key rk-1bafa277
traceparent 00-6cc88e51baa2f9e107d7ef7c0aec060f-494c3b0cb1866e94-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-grpc--32d23815

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-356f0fc4ba359ad7fda5f1b318fdc5bf-db2429102f94459f-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--32d23815
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-546363e8,team=alpha
ot-baggage-routing-key rk-546363e8
traceparent 00-6f79d2e2a213fcef83a929b2642ebcf0-b64edefa27f0df23-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-kafka--914ee8b5

Observed at the sink on the outbound Kafka record headers

traceparent 00-8832d2874a61c5d739e88b678f7b6efb-d0e3ee3ac9b47880-01
test id
otel-dotnet--kafka-kafka--914ee8b5
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-aeecc788,team=alpha
ot-baggage-routing-key rk-aeecc788
traceparent 00-5bd71854541d9ac43f4bdce529f80bf6-47d6b0bb4983051f-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-rabbitmq--d2f01bee

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

traceparent 00-284d6e01db08e6045ac883e0a0111fd6-ccc1a259e313ce57-01
test id
otel-dotnet--kafka-rabbitmq--d2f01bee
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-36da2fb0,team=alpha
ot-baggage-routing-key rk-36da2fb0
traceparent 00-7abbe055c814d030898949f58bfa1f92-56a66ddd770c38bb-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-http--9aef0c26

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-7abbe055c814d030898949f58bfa1f92-212b2a5ccd7be266-01
tracestate cptest=v1
test id
otel-dotnet--rabbitmq-http--9aef0c26
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-d5366a4c,team=alpha
ot-baggage-routing-key rk-d5366a4c
traceparent 00-8c278c720ba7600d04a4fef3e0c6a63e-df88d654109c32aa-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-grpc--346a641a

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-8c278c720ba7600d04a4fef3e0c6a63e-04975bb8145dbf90-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--346a641a
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-0261d508,team=alpha
ot-baggage-routing-key rk-0261d508
traceparent 00-d0977226a1b0373db7f78d2d08492338-e9022fe924d1ac66-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-kafka--e4e92971

Observed at the sink on the outbound Kafka record headers

traceparent 00-d0977226a1b0373db7f78d2d08492338-af30ad7c28b7982c-01
tracestate cptest=v1
test id
otel-dotnet--rabbitmq-kafka--e4e92971
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-0d0a20b4,team=alpha
ot-baggage-routing-key rk-0d0a20b4
traceparent 00-bd320df9358e8d81fd5908554f2c7ffc-2e11fbd8a0feb19f-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-rabbitmq--dbbd1a84

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

traceparent 00-bd320df9358e8d81fd5908554f2c7ffc-c08646a1191a6112-01
tracestate cptest=v1
test id
otel-dotnet--rabbitmq-rabbitmq--dbbd1a84
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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