otel-dotnet

.NET zero-code OpenTelemetry.AutoInstrumentation1.18.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.18.0 1.18.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
9 Nov 2026, 19:40 UTC
Harness
9b99070 · measured in backtest-otel-dotnet-1.18.0
Raw JSON
1.18.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-923bfaa8,team=alpha
ot-baggage-routing-key rk-923bfaa8
traceparent 00-fb233f813c60bbcbe28e92f0972d1f2b-942f587951f99647-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-http--7aa216c7

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-923bfaa8,team=alpha
content-type application/json; charset=utf-8
traceparent 00-fb233f813c60bbcbe28e92f0972d1f2b-a300af908675b1df-01
tracestate cptest=v1
test id
otel-dotnet--http-http--7aa216c7
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-6e97a9ca,team=alpha
ot-baggage-routing-key rk-6e97a9ca
traceparent 00-bf08dcea4ad340dda2f79b76e7797974-0758cdd348b0a729-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-grpc--0c88a988

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-6e97a9ca,team=alpha
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-bf08dcea4ad340dda2f79b76e7797974-ff8cd8d303c9ff90-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--0c88a988
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-bbc145d2,team=alpha
ot-baggage-routing-key rk-bbc145d2
traceparent 00-e1ccf6a19b43cc3cfb2125676c374422-bd9288b47f4570fa-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-kafka--4c0468c5

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-bbc145d2,team=alpha
traceparent 00-e1ccf6a19b43cc3cfb2125676c374422-aefd7ccc764dbdc2-01
tracestate cptest=v1
test id
otel-dotnet--http-kafka--4c0468c5
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-72901faf,team=alpha
ot-baggage-routing-key rk-72901faf
traceparent 00-1b656827c816ed983e2e91284c5c5ee2-7a54d5b9689d84f0-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-rabbitmq--806a6fc8

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

baggage routing-key = rk-72901faf, team = alpha
traceparent 00-1b656827c816ed983e2e91284c5c5ee2-fcba1164f7d61c7c-01
tracestate cptest=v1
test id
otel-dotnet--http-rabbitmq--806a6fc8
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-7fb884ea,team=alpha
ot-baggage-routing-key rk-7fb884ea
traceparent 00-4091d2b49c1727aed71899ce818c0e6b-bbea3e9b85959846-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-http--2ba4f731

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-7fb884ea,team=alpha
content-type application/json; charset=utf-8
traceparent 00-4091d2b49c1727aed71899ce818c0e6b-1566962b4bd18a24-01
tracestate cptest=v1
test id
otel-dotnet--grpc-http--2ba4f731
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-01b60347,team=alpha
ot-baggage-routing-key rk-01b60347
traceparent 00-fc71d9a4f027cd596dc7fbcdda084e80-2f95b52888b8ae62-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-grpc--875cc332

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-01b60347,team=alpha
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-fc71d9a4f027cd596dc7fbcdda084e80-4cefb8823c2c4fe2-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--875cc332
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-e84f46a7,team=alpha
ot-baggage-routing-key rk-e84f46a7
traceparent 00-4dcea453b56b74191fa28adc5fbd0fce-955a78a38a0b9b4d-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-kafka--d39fb508

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-e84f46a7,team=alpha
traceparent 00-4dcea453b56b74191fa28adc5fbd0fce-48f08856ab30c4cd-01
tracestate cptest=v1
test id
otel-dotnet--grpc-kafka--d39fb508
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-27a811e7,team=alpha
ot-baggage-routing-key rk-27a811e7
traceparent 00-372787fcd661eaac9198d252dde46861-15df3e20dbd6a2eb-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-rabbitmq--eac0bcb1

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

baggage routing-key = rk-27a811e7, team = alpha
traceparent 00-372787fcd661eaac9198d252dde46861-f51fac06b879ae0f-01
tracestate cptest=v1
test id
otel-dotnet--grpc-rabbitmq--eac0bcb1
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-cbc09a36,team=alpha
ot-baggage-routing-key rk-cbc09a36
traceparent 00-157fc97b66058b2b1fe03bd778d89488-fa629c1ab6b6947b-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-http--bc82ea2e

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-24bd4d54b3e6c9659136aadb2906f007-ceac902f9809003b-01
test id
otel-dotnet--kafka-http--bc82ea2e
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-79c90875,team=alpha
ot-baggage-routing-key rk-79c90875
traceparent 00-055a927432066e58549a8491abb55a9d-4a08f0d6ae712dd4-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-grpc--9601fe7b

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-9d377fe83b4e9898ed1aca492672bd41-348cab1accae5fee-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--9601fe7b
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-451d452f,team=alpha
ot-baggage-routing-key rk-451d452f
traceparent 00-90436adaccdcad904696e3704645ca1b-5f4efe71b09eb176-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-kafka--4da78544

Observed at the sink on the outbound Kafka record headers

traceparent 00-8903add9d57f00b9f319c3400365f3ad-4386cbb89dae82e8-01
test id
otel-dotnet--kafka-kafka--4da78544
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-1b36be99,team=alpha
ot-baggage-routing-key rk-1b36be99
traceparent 00-95188177024eeb38aeaea016739112ac-4dfdc31fbce368c1-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-rabbitmq--5029264b

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

traceparent 00-ce7144732ccf609817523ad587f3cb21-bf05c1cff4e8b0ca-01
test id
otel-dotnet--kafka-rabbitmq--5029264b
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-c6bbd7c0,team=alpha
ot-baggage-routing-key rk-c6bbd7c0
traceparent 00-7f51a3ee3ebf0f011a8a8179b0479cdf-3cef487185e854dd-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-http--c8531373

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-7f51a3ee3ebf0f011a8a8179b0479cdf-f8a442254b40e636-01
tracestate cptest=v1
test id
otel-dotnet--rabbitmq-http--c8531373
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-4c8299e7,team=alpha
ot-baggage-routing-key rk-4c8299e7
traceparent 00-a08a317af42bbe894bb21f841ed0d6e2-7d8076bac7455624-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-grpc--25818fb4

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-a08a317af42bbe894bb21f841ed0d6e2-c1055dd72a1b9338-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--25818fb4
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-81ed51d3,team=alpha
ot-baggage-routing-key rk-81ed51d3
traceparent 00-6e90e783ef8db21839c34267117a251b-913a5981369cf1fe-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-kafka--5f846818

Observed at the sink on the outbound Kafka record headers

traceparent 00-6e90e783ef8db21839c34267117a251b-b4452f3e7fd28e7d-01
tracestate cptest=v1
test id
otel-dotnet--rabbitmq-kafka--5f846818
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-0d42edcf,team=alpha
ot-baggage-routing-key rk-0d42edcf
traceparent 00-aa71dd754fd94945e4984397429164f1-5ff3a25bd1747ab6-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-rabbitmq--bd2c99ce

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

traceparent 00-aa71dd754fd94945e4984397429164f1-2d581e67e4e3c352-01
tracestate cptest=v1
test id
otel-dotnet--rabbitmq-rabbitmq--bd2c99ce
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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