otel-dotnet

.NET zero-code OpenTelemetry.AutoInstrumentation0.5.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 0.5.0 0.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, 08:34 UTC
Harness
9b99070 · measured in backtest-otel-dotnet-0.5.0
Raw JSON
0.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-81174586,team=alpha
ot-baggage-routing-key rk-81174586
traceparent 00-61616f0ab3e1c7919945b0a5dec6cc0f-ff8885549d304301-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-http--cceed9f3

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-81174586,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-81174586, team=alpha
traceparent 00-61616f0ab3e1c7919945b0a5dec6cc0f-f55d21e6132322b1-01
tracestate cptest=v1
test id
otel-dotnet--http-http--cceed9f3
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-1d277337,team=alpha
ot-baggage-routing-key rk-1d277337
traceparent 00-f97cec2a1bf7b82b28e4e3d3edc44dff-011df7946a4343ea-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-grpc--1d6f17a5

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-1d277337,team=alpha
content-type application/grpc
correlation-context routing-key=rk-1d277337, team=alpha
grpc-accept-encoding identity,gzip,deflate
traceparent 00-f97cec2a1bf7b82b28e4e3d3edc44dff-8d87692fd8d6027f-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--1d6f17a5
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-9a6ec268,team=alpha
ot-baggage-routing-key rk-9a6ec268
traceparent 00-111ece1119aead3e7cec3212e59f93f6-c44c893ab23b1b8f-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-kafka--ad1c4120

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
otel-dotnet--http-kafka--ad1c4120
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-d22f5507,team=alpha
ot-baggage-routing-key rk-d22f5507
traceparent 00-8f3981915ccfdbcd4cfa1d94f9ee4349-1e1d6bde2b8f2cc7-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-rabbitmq--cbf6a789

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

No headers observed.

test id
otel-dotnet--http-rabbitmq--cbf6a789
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-b56f36cf,team=alpha
ot-baggage-routing-key rk-b56f36cf
traceparent 00-51f71ccf85778dc1067280a35776fce9-6bcebfec728b7236-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-http--7319ce0d

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-b56f36cf,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-b56f36cf, team=alpha
traceparent 00-51f71ccf85778dc1067280a35776fce9-eb2cc54f653ce369-01
tracestate cptest=v1
test id
otel-dotnet--grpc-http--7319ce0d
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-a3cd1ed7,team=alpha
ot-baggage-routing-key rk-a3cd1ed7
traceparent 00-959a474b4d9216b8c885df74a60ed94a-c9d198e29505edde-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-grpc--943c4d6f

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-a3cd1ed7,team=alpha
content-type application/grpc
correlation-context routing-key=rk-a3cd1ed7, team=alpha
grpc-accept-encoding identity,gzip,deflate
traceparent 00-959a474b4d9216b8c885df74a60ed94a-ee44b8d3dd9655e0-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--943c4d6f
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-2736948f,team=alpha
ot-baggage-routing-key rk-2736948f
traceparent 00-559cda146e159b404a95fcf024f7c2bf-4e03625339c3f53c-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-kafka--6f13f554

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
otel-dotnet--grpc-kafka--6f13f554
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-38a2a4dc,team=alpha
ot-baggage-routing-key rk-38a2a4dc
traceparent 00-dbd46ebe96fcea51c947aeb88bf64863-080118c6f91dfe1b-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-rabbitmq--7dc326ab

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

No headers observed.

test id
otel-dotnet--grpc-rabbitmq--7dc326ab
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-405b0703,team=alpha
ot-baggage-routing-key rk-405b0703
traceparent 00-2d5fa361a1022bf3e58f367b919f33f7-cb61713b0962654c-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-http--9ef7fd4a

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-64ad30420db810b8c5c0994dd1b9cab5-cec18ff72e8d0e06-01
test id
otel-dotnet--kafka-http--9ef7fd4a
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-5b93472f,team=alpha
ot-baggage-routing-key rk-5b93472f
traceparent 00-7c30e599470f837a0e3b025b135f2581-674beabe7b7708fa-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-grpc--fa082f7e

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-292644cdc22ac18d67fc1d8d028bb9b8-f59ae4fa63232ba8-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--fa082f7e
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-d77587b3,team=alpha
ot-baggage-routing-key rk-d77587b3
traceparent 00-825713cb88a92f87958c0061fed7595d-818ac11c74734e2f-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-kafka--d511b82b

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
otel-dotnet--kafka-kafka--d511b82b
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-d1e613b4,team=alpha
ot-baggage-routing-key rk-d1e613b4
traceparent 00-fc2be67f4ab06d0cd3f7d0802917c885-26f2e53650aaaf3f-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-rabbitmq--8e7701ad

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

No headers observed.

test id
otel-dotnet--kafka-rabbitmq--8e7701ad
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-ec177284,team=alpha
ot-baggage-routing-key rk-ec177284
traceparent 00-dbe19224c57a195666a2fcdf60629c6b-efb563969c75d2d4-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-http--c5f6b9fe

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-ad898e25324e815b345fe1734d91c529-09debb53fc603477-01
test id
otel-dotnet--rabbitmq-http--c5f6b9fe
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-99ca0f13,team=alpha
ot-baggage-routing-key rk-99ca0f13
traceparent 00-5806b9c2c818a164b8bd03719eed07ef-82d9ed516b855d1b-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-grpc--f7571a87

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-d4d9e6e247f0fbe46ecca1342130f22d-a51bd1f029acc13e-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--f7571a87
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-2fc05e51,team=alpha
ot-baggage-routing-key rk-2fc05e51
traceparent 00-2be43ff2ce4e7dc5161b0c944d1fbdd4-8b73b90f7ca0e713-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-kafka--bcec9a3c

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
otel-dotnet--rabbitmq-kafka--bcec9a3c
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-fc8de4b7,team=alpha
ot-baggage-routing-key rk-fc8de4b7
traceparent 00-c1ac95358f6e8de350cf102c555cf62c-7a18c2de35b84752-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-rabbitmq--9852970a

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

No headers observed.

test id
otel-dotnet--rabbitmq-rabbitmq--9852970a
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent

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