otel-dotnet

.NET zero-code OpenTelemetry.AutoInstrumentation1.5.0

attach CLR profiler env (OpenTelemetry.AutoInstrumentation)

18/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.5.0 1.5.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, 07:44 UTC
Harness
9b99070 · measured in backtest-otel-dotnet-1.5.0
Raw JSON
1.5.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-34838f12,team=alpha
ot-baggage-routing-key rk-34838f12
traceparent 00-23cfe6b1d393d64533667b121afb570b-955d04fe9f25e688-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-http--8b7c4257

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-34838f12,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-34838f12, team=alpha
traceparent 00-23cfe6b1d393d64533667b121afb570b-0a49db08185e7c9c-01
tracestate cptest=v1
test id
otel-dotnet--http-http--8b7c4257
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-fca7a211,team=alpha
ot-baggage-routing-key rk-fca7a211
traceparent 00-08e998a418aabaa8ffd3a0096170567a-2bab224244841db9-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-grpc--b7dcea9d

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-fca7a211,team=alpha
content-type application/grpc
correlation-context routing-key=rk-fca7a211, team=alpha
grpc-accept-encoding identity,gzip,deflate
traceparent 00-08e998a418aabaa8ffd3a0096170567a-fee55ee08eccd867-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--b7dcea9d
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-517b60ce,team=alpha
ot-baggage-routing-key rk-517b60ce
traceparent 00-982f00ddd9dfb5aac51e12577b2348ac-abb2f53e6b1fc2a8-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-kafka--26ad6b2a

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-517b60ce,team=alpha
traceparent 00-982f00ddd9dfb5aac51e12577b2348ac-f7e4ced107040efd-01
tracestate cptest=v1
test id
otel-dotnet--http-kafka--26ad6b2a
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-fc3aac0e,team=alpha
ot-baggage-routing-key rk-fc3aac0e
traceparent 00-551ebc1fbac1545d8a5f1f9edd1a373c-d2945afcc33b0a48-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-rabbitmq--46d8a44e

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

No headers observed.

test id
otel-dotnet--http-rabbitmq--46d8a44e
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-a1ff40a8,team=alpha
ot-baggage-routing-key rk-a1ff40a8
traceparent 00-0b827df7bbfff672d1541142bb578731-429a89425c87265f-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-http--ead8c391

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-a1ff40a8,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-a1ff40a8, team=alpha
traceparent 00-0b827df7bbfff672d1541142bb578731-e3d7986dfac84578-01
tracestate cptest=v1
test id
otel-dotnet--grpc-http--ead8c391
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-3fab5623,team=alpha
ot-baggage-routing-key rk-3fab5623
traceparent 00-e32cc50228e81777342c16a65f2a04c8-985132de52dcef1f-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-grpc--cc7d9b24

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-3fab5623,team=alpha
content-type application/grpc
correlation-context routing-key=rk-3fab5623, team=alpha
grpc-accept-encoding identity,gzip,deflate
traceparent 00-e32cc50228e81777342c16a65f2a04c8-67d2eea2a49e88ef-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--cc7d9b24
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-2f564599,team=alpha
ot-baggage-routing-key rk-2f564599
traceparent 00-9b377bd5a45df629b60a0cb53dc6d5e5-97d2bf0a92fa63fd-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-kafka--d8d58adf

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-2f564599,team=alpha
traceparent 00-9b377bd5a45df629b60a0cb53dc6d5e5-1956ae7685ad5043-01
tracestate cptest=v1
test id
otel-dotnet--grpc-kafka--d8d58adf
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-49bd42c9,team=alpha
ot-baggage-routing-key rk-49bd42c9
traceparent 00-10abd272e612839b12598825830183f3-4070343bc49692e5-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-rabbitmq--defabfdd

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

No headers observed.

test id
otel-dotnet--grpc-rabbitmq--defabfdd
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-3cbd5241,team=alpha
ot-baggage-routing-key rk-3cbd5241
traceparent 00-55a468c490b972f5f3a76dc9c3bfd024-5c650c4c6ebc2633-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-http--55148a41

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-5eac452cd9f230e16a107bcbaec3851d-e7fdedd28745ad30-01
test id
otel-dotnet--kafka-http--55148a41
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-0d3eeb8b,team=alpha
ot-baggage-routing-key rk-0d3eeb8b
traceparent 00-48914ed4309513c2496fef76e50d5922-4d718ea696f0cef3-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-grpc--5f441b2b

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-e6bf7d1d42be63057623a005e3c9eedd-fb3c7390465005df-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--5f441b2b
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-750dea93,team=alpha
ot-baggage-routing-key rk-750dea93
traceparent 00-9342b7b10028265e8a325333c6027a59-257717d19e571b2d-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-kafka--c765541c

Observed at the sink on the outbound Kafka record headers

traceparent 00-5b4ab0328ccbd3ae467b9fc07cd5eb84-eb6d4cab4946c2e1-01
test id
otel-dotnet--kafka-kafka--c765541c
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-7587a9a6,team=alpha
ot-baggage-routing-key rk-7587a9a6
traceparent 00-756862519acf30111de0ff415c1cea24-f5b5e85be0c6bb1a-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-rabbitmq--31e62031

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

No headers observed.

test id
otel-dotnet--kafka-rabbitmq--31e62031
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-f440a128,team=alpha
ot-baggage-routing-key rk-f440a128
traceparent 00-2237fe0720d68fed7d5e38749d7baa79-629936ebfc4420f0-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-http--4876625a

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-a73adf670dc675312fb80da2c35d4626-d190e433877a88f6-01
test id
otel-dotnet--rabbitmq-http--4876625a
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-f0604de2,team=alpha
ot-baggage-routing-key rk-f0604de2
traceparent 00-897698f056b70ab2ea629a5fc3d626d0-fa23ae219fca26a0-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-grpc--b369eff6

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-509d6ef38546fd543ffe36b43d566fed-d7eb0bea61f13c6e-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--b369eff6
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-4257de8b,team=alpha
ot-baggage-routing-key rk-4257de8b
traceparent 00-3c9c2a75d25cf6677e6f5efa535b7385-9415db4eea7ec7f8-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-kafka--795f21ed

Observed at the sink on the outbound Kafka record headers

traceparent 00-2f0dc5c7b4c698f8dc7f9280b2802178-48dcb4121c1d9d09-01
test id
otel-dotnet--rabbitmq-kafka--795f21ed
raw statuses
baggage=absenttracestate=absenttraceparent=new_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-e099cb77,team=alpha
ot-baggage-routing-key rk-e099cb77
traceparent 00-742efc11606f51a47e2471c9e330346c-1f1b839ec6c52f0f-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-rabbitmq--5b64048b

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

No headers observed.

test id
otel-dotnet--rabbitmq-rabbitmq--5b64048b
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent

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