otel-dotnet

.NET zero-code OpenTelemetry.AutoInstrumentation1.0.0

attach CLR profiler env (OpenTelemetry.AutoInstrumentation)

12/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.0.0 1.0.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
10 Nov 2026, 08:24 UTC
Harness
9b99070 · measured in backtest-otel-dotnet-1.0.0
Raw JSON
1.0.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-f8315a75,team=alpha
ot-baggage-routing-key rk-f8315a75
traceparent 00-658ea73786f78e5afe16ea1cba03d439-ec0f98f63ef9c8f9-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-http--efa5489d

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-f8315a75,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-f8315a75, team=alpha
traceparent 00-658ea73786f78e5afe16ea1cba03d439-40118fced1ce1903-01
tracestate cptest=v1
test id
otel-dotnet--http-http--efa5489d
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-3ddceb59,team=alpha
ot-baggage-routing-key rk-3ddceb59
traceparent 00-27a3c08f8495bebb7c160af3bbe43310-c0d8260bf48cb4c9-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-grpc--7e7093e6

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-3ddceb59,team=alpha
content-type application/grpc
correlation-context routing-key=rk-3ddceb59, team=alpha
grpc-accept-encoding identity,gzip,deflate
traceparent 00-27a3c08f8495bebb7c160af3bbe43310-7ab9ab3dfc5ae04d-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--7e7093e6
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-9e6c9d08,team=alpha
ot-baggage-routing-key rk-9e6c9d08
traceparent 00-4b3cbe6001c37d34a5e9ae480d4ea290-6276621b1b12b2ba-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-kafka--95fe16ec

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
otel-dotnet--http-kafka--95fe16ec
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent
HTTP RabbitMQ baggage tracestate traceparent ot-baggage delivered via rabbitmq

Seeded on the inbound HTTP request headers

baggage routing-key=rk-44adb5c3,team=alpha
ot-baggage-routing-key rk-44adb5c3
traceparent 00-bedbbdd73e4ff355db5e4907094980e7-ccac5a428ee31933-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-rabbitmq--d26ed354

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

No headers observed.

test id
otel-dotnet--http-rabbitmq--d26ed354
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent
gRPC HTTP baggage tracestate traceparent ot-baggage delivered via http

Seeded on the inbound gRPC metadata

baggage routing-key=rk-0f08efea,team=alpha
ot-baggage-routing-key rk-0f08efea
traceparent 00-7ba8178705e96ebd632e09bc92a20e6b-034c25f0be24bc24-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-http--ca6e6349

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-0f08efea,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-0f08efea, team=alpha
traceparent 00-7ba8178705e96ebd632e09bc92a20e6b-c484f70eec28a833-01
tracestate cptest=v1
test id
otel-dotnet--grpc-http--ca6e6349
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-5a0598df,team=alpha
ot-baggage-routing-key rk-5a0598df
traceparent 00-dfdac25c064e3b542ff95dbbec54c4d4-a7a7862646c5c5fa-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-grpc--38e14d13

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-5a0598df,team=alpha
content-type application/grpc
correlation-context routing-key=rk-5a0598df, team=alpha
grpc-accept-encoding identity,gzip,deflate
traceparent 00-dfdac25c064e3b542ff95dbbec54c4d4-a9d0b79c75a68016-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--38e14d13
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-946fb30c,team=alpha
ot-baggage-routing-key rk-946fb30c
traceparent 00-1b39bd06d848ff2215427e92ddd5463c-91fde821b16f9176-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-kafka--6aa0fb82

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
otel-dotnet--grpc-kafka--6aa0fb82
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent
gRPC RabbitMQ baggage tracestate traceparent ot-baggage delivered via rabbitmq

Seeded on the inbound gRPC metadata

baggage routing-key=rk-5005c5dc,team=alpha
ot-baggage-routing-key rk-5005c5dc
traceparent 00-5d72c32eb19656b28099ff7c81a7ef67-ca7a3fec0fac4989-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-rabbitmq--d360f354

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

No headers observed.

test id
otel-dotnet--grpc-rabbitmq--d360f354
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent
Kafka HTTP baggage tracestate traceparent ot-baggage delivered via http

Seeded on the inbound Kafka record headers

baggage routing-key=rk-546dea72,team=alpha
ot-baggage-routing-key rk-546dea72
traceparent 00-281b75eb1437d9e90dbb52f58ddd4793-f06740c3b96766dc-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-http--cb8922e3

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-2444feeb4a61519fa84b414b135664af-71810f1774749322-01
test id
otel-dotnet--kafka-http--cb8922e3
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-b2a7f91b,team=alpha
ot-baggage-routing-key rk-b2a7f91b
traceparent 00-c833b9192a7b544febef8b34c45a7149-dca25a7e5f1667be-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-grpc--b9b5e1ca

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-9f9b22a06638c09d64a2d33a27c68742-6c64d0075cbbb9a1-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--b9b5e1ca
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-a80e9984,team=alpha
ot-baggage-routing-key rk-a80e9984
traceparent 00-4ef17d3c1e57df6a74439dc21e033fb6-34610d35f6a57c37-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-kafka--4d58bf70

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
otel-dotnet--kafka-kafka--4d58bf70
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent
Kafka RabbitMQ baggage tracestate traceparent ot-baggage delivered via rabbitmq

Seeded on the inbound Kafka record headers

baggage routing-key=rk-b4a956a3,team=alpha
ot-baggage-routing-key rk-b4a956a3
traceparent 00-27e9f339c17937f0bb55662891b276ff-349b5761bdf135d9-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-rabbitmq--805ef635

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

No headers observed.

test id
otel-dotnet--kafka-rabbitmq--805ef635
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_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-4b8b4227,team=alpha
ot-baggage-routing-key rk-4b8b4227
traceparent 00-a8a4f3af23b6234e6661d94e386bffec-b6ba46f20dd14ff6-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-http--2161e7d0

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-668877391e68ed864c1fc98c34facc02-bc2c3df228a3f507-01
test id
otel-dotnet--rabbitmq-http--2161e7d0
raw statuses
baggage=absenttracestate=absenttraceparent=new_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-545a793a,team=alpha
ot-baggage-routing-key rk-545a793a
traceparent 00-cce7fc0dcad67969f3bc495730b1b28e-185b0df7ab79269a-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-grpc--210ddaac

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-c52a667972760d7cd1e11b4252c5a3ef-445adfe5d588131f-01
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--210ddaac
raw statuses
baggage=absenttracestate=absenttraceparent=new_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-a8264252,team=alpha
ot-baggage-routing-key rk-a8264252
traceparent 00-249c4e8d041e364a74e9bfe0211c3044-c9dc8f2ca0885dd4-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-kafka--28cd73a8

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
otel-dotnet--rabbitmq-kafka--28cd73a8
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_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-a72c1ff3,team=alpha
ot-baggage-routing-key rk-a72c1ff3
traceparent 00-ca58b8ce89bf34f74925646e0f2e03e1-5b491b4158693032-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-rabbitmq--307f9bed

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

No headers observed.

test id
otel-dotnet--rabbitmq-rabbitmq--307f9bed
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent

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