otel-dotnet

.NET zero-code OpenTelemetry.AutoInstrumentation0.6.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.6.0 0.6.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:31 UTC
Harness
9b99070 · measured in backtest-otel-dotnet-0.6.0
Raw JSON
0.6.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-774bbf72,team=alpha
ot-baggage-routing-key rk-774bbf72
traceparent 00-e7a0334453f0e53b52f0d85ec5cd5706-9b4aa10934a6ede4-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-http--34e1ee04

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-774bbf72,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-774bbf72, team=alpha
traceparent 00-e7a0334453f0e53b52f0d85ec5cd5706-abcef7f60df8588d-01
tracestate cptest=v1
test id
otel-dotnet--http-http--34e1ee04
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-b09eb5e8,team=alpha
ot-baggage-routing-key rk-b09eb5e8
traceparent 00-3c69fe4258c26e79de30758bbe0c2ab7-415d840c0a2bafc1-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-grpc--e383c079

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-b09eb5e8,team=alpha
content-type application/grpc
correlation-context routing-key=rk-b09eb5e8, team=alpha
grpc-accept-encoding identity,gzip,deflate
traceparent 00-3c69fe4258c26e79de30758bbe0c2ab7-1b02762d45d0debe-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--e383c079
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-a42d2960,team=alpha
ot-baggage-routing-key rk-a42d2960
traceparent 00-efe812b6760864e803bc688d50814c93-f3c966620a3e7261-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-kafka--416dbc8c

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
otel-dotnet--http-kafka--416dbc8c
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-f69c5509,team=alpha
ot-baggage-routing-key rk-f69c5509
traceparent 00-503880d5c373df930e11cefd4b419c43-206a165035bad1c0-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-rabbitmq--59374758

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

No headers observed.

test id
otel-dotnet--http-rabbitmq--59374758
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-74943650,team=alpha
ot-baggage-routing-key rk-74943650
traceparent 00-76d35b8db20dff1c992487eba3c5b247-4301d7f74bea2f34-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-http--d6dfcaee

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-74943650,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-74943650, team=alpha
traceparent 00-76d35b8db20dff1c992487eba3c5b247-15d1f66a9d3f4334-01
tracestate cptest=v1
test id
otel-dotnet--grpc-http--d6dfcaee
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-9aff6476,team=alpha
ot-baggage-routing-key rk-9aff6476
traceparent 00-118da652ed1eba6ff773b9f4d6a8a13a-2b13a0524f468659-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-grpc--bab5f7ca

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-9aff6476,team=alpha
content-type application/grpc
correlation-context routing-key=rk-9aff6476, team=alpha
grpc-accept-encoding identity,gzip,deflate
traceparent 00-118da652ed1eba6ff773b9f4d6a8a13a-5349532861118f03-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--bab5f7ca
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-4f540d6a,team=alpha
ot-baggage-routing-key rk-4f540d6a
traceparent 00-27d35ed0041c3a341172c56c1c6ec112-ac350f69dbedad44-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-kafka--0063f00e

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
otel-dotnet--grpc-kafka--0063f00e
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-4ecc66e8,team=alpha
ot-baggage-routing-key rk-4ecc66e8
traceparent 00-00bb0ce17ad9c4182d5cf3fc90040290-eed647bfe47606fc-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-rabbitmq--36fd22b5

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

No headers observed.

test id
otel-dotnet--grpc-rabbitmq--36fd22b5
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-9e98f83b,team=alpha
ot-baggage-routing-key rk-9e98f83b
traceparent 00-cf59cc3537041c3f61825789bb6cbda6-29a177b7994a1db9-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-http--cebe6453

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-98314c45f28b4eb6a3c6b8604d30a3ae-2c0e895187f1c8ff-01
test id
otel-dotnet--kafka-http--cebe6453
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-37c67726,team=alpha
ot-baggage-routing-key rk-37c67726
traceparent 00-8253a595ca9cc7e77bda01ab8da225bd-56c269ce31cabf07-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-grpc--b4e7aa73

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-818363011d3d51c0641cc7d273e7aaef-4a62908c99062364-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--b4e7aa73
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-4bde326e,team=alpha
ot-baggage-routing-key rk-4bde326e
traceparent 00-b00a11e50bd6f000ce4fc25f420027e9-67086747801c0ef3-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-kafka--9f8db9a5

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
otel-dotnet--kafka-kafka--9f8db9a5
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-864691fa,team=alpha
ot-baggage-routing-key rk-864691fa
traceparent 00-89f36b5e77292844d3f0749117251b65-e4a5e34f46a411f7-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-rabbitmq--9b9c8136

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

No headers observed.

test id
otel-dotnet--kafka-rabbitmq--9b9c8136
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-e6cb96be,team=alpha
ot-baggage-routing-key rk-e6cb96be
traceparent 00-b9c1fb7b533d70e746b44756de239534-14a173b026ec0628-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-http--a7c89f25

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-d28f06cf6dba63596778b272e5ac375b-b8c5631f6e4104be-01
test id
otel-dotnet--rabbitmq-http--a7c89f25
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-92d76019,team=alpha
ot-baggage-routing-key rk-92d76019
traceparent 00-505846a9efc323a88ae585f85e1a535f-1c829687b5186d3c-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-grpc--755726d6

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-5503ad4e76964ca8cc7736690795c81e-18acf7b6956f4548-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--755726d6
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-b0b654b2,team=alpha
ot-baggage-routing-key rk-b0b654b2
traceparent 00-a9fb223199f3edcee900a516aa7bc09c-bb76df28a6f9a0d6-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-kafka--c92ced1e

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
otel-dotnet--rabbitmq-kafka--c92ced1e
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-333c60da,team=alpha
ot-baggage-routing-key rk-333c60da
traceparent 00-ed4631267ff40fa8803168f672224aa4-2268b5e96cce67ab-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-rabbitmq--02233f33

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

No headers observed.

test id
otel-dotnet--rabbitmq-rabbitmq--02233f33
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent

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