otel-dotnet

.NET zero-code OpenTelemetry.AutoInstrumentation1.19.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.19.0 1.19.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:32 UTC
Harness
3bf9ebd · measured in backtest-otel-dotnet-1.19.0
Raw JSON
1.19.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-90aab6f7,team=alpha
ot-baggage-routing-key rk-90aab6f7
traceparent 00-60b19ce7de569bbe484b56ec888b473a-a641f47e6da8438c-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-http--a13e103f

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-90aab6f7,team=alpha
content-type application/json; charset=utf-8
traceparent 00-60b19ce7de569bbe484b56ec888b473a-587bd3cf8bfc5d00-01
tracestate cptest=v1
test id
otel-dotnet--http-http--a13e103f
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-af7c6aca,team=alpha
ot-baggage-routing-key rk-af7c6aca
traceparent 00-e7f03fecb8bc0ca3880f238ed0a82652-c5778357ef8dd1e9-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-grpc--c0502ee7

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-af7c6aca,team=alpha
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-e7f03fecb8bc0ca3880f238ed0a82652-7adf750f3f2aaaab-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--c0502ee7
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-966f2d74,team=alpha
ot-baggage-routing-key rk-966f2d74
traceparent 00-64d2e4d32080bc10e677b2854a3b0ea7-d8224793294f116b-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-kafka--deb43cc4

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-966f2d74,team=alpha
traceparent 00-64d2e4d32080bc10e677b2854a3b0ea7-05bc3ced20b1ea73-01
tracestate cptest=v1
test id
otel-dotnet--http-kafka--deb43cc4
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-8c586836,team=alpha
ot-baggage-routing-key rk-8c586836
traceparent 00-54c951d067753f4c0dd805f16615a8c5-96149dcc2bdf2c53-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-rabbitmq--0b2ae0f6

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

baggage routing-key = rk-8c586836, team = alpha
traceparent 00-54c951d067753f4c0dd805f16615a8c5-f1edfc555942adac-01
tracestate cptest=v1
test id
otel-dotnet--http-rabbitmq--0b2ae0f6
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-69a57606,team=alpha
ot-baggage-routing-key rk-69a57606
traceparent 00-9d4f587d45edbf0b279c22248d4cd62a-36d85a765fd1620a-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-http--ed03c258

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-69a57606,team=alpha
content-type application/json; charset=utf-8
traceparent 00-9d4f587d45edbf0b279c22248d4cd62a-8a4fbc3769153a16-01
tracestate cptest=v1
test id
otel-dotnet--grpc-http--ed03c258
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-b8ac4de7,team=alpha
ot-baggage-routing-key rk-b8ac4de7
traceparent 00-560fe5beaffe0e81f0883ed76063f906-a4798392219cbd1a-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-grpc--40f9f2ba

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-b8ac4de7,team=alpha
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-560fe5beaffe0e81f0883ed76063f906-7166e90d19c53326-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--40f9f2ba
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-31323af2,team=alpha
ot-baggage-routing-key rk-31323af2
traceparent 00-e82f3aaaecd1bea679d0b7f4dd2f620a-e956788c81784ea7-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-kafka--67609175

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-31323af2,team=alpha
traceparent 00-e82f3aaaecd1bea679d0b7f4dd2f620a-17505c718d7b7c28-01
tracestate cptest=v1
test id
otel-dotnet--grpc-kafka--67609175
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-45e7f521,team=alpha
ot-baggage-routing-key rk-45e7f521
traceparent 00-6efff39ee59fba116a24b62e6f0c027c-657fadcdd3383106-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-rabbitmq--54621d87

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

baggage routing-key = rk-45e7f521, team = alpha
traceparent 00-6efff39ee59fba116a24b62e6f0c027c-b0bc45e4d9253a14-01
tracestate cptest=v1
test id
otel-dotnet--grpc-rabbitmq--54621d87
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-e635d6a9,team=alpha
ot-baggage-routing-key rk-e635d6a9
traceparent 00-828f6215d2f55cee9ec2c22f00e278cc-9f146c127247dab3-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-http--108c3100

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-d7a719973d1b4bdc9bc2ececb291e4ac-b3b4441a2f3ed881-01
test id
otel-dotnet--kafka-http--108c3100
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-e936e88e,team=alpha
ot-baggage-routing-key rk-e936e88e
traceparent 00-4f44309cc079b20e6b01bd0c7b212737-033da422b894c5ce-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-grpc--368b8f9a

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-1e520374216c7470f71aaf54d8818407-7678c2a59352ed5e-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--368b8f9a
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-dcf9c838,team=alpha
ot-baggage-routing-key rk-dcf9c838
traceparent 00-1f7dd65809d717115c25c80133cd8cd2-a04ba21dcf2d160d-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-kafka--0fc64ce4

Observed at the sink on the outbound Kafka record headers

traceparent 00-1e8f9520996b9466dbebbb76d4e4e0b9-d3ac511ade4c5c62-01
test id
otel-dotnet--kafka-kafka--0fc64ce4
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-f6f5f021,team=alpha
ot-baggage-routing-key rk-f6f5f021
traceparent 00-44d3d048efa0cff490a63e2bc70902c1-ba003f2e45d122e3-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-rabbitmq--4b9ad276

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

traceparent 00-c9a383d293a64c7975fe9478922622ba-fe68bda126e19a11-01
test id
otel-dotnet--kafka-rabbitmq--4b9ad276
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-1b0636f9,team=alpha
ot-baggage-routing-key rk-1b0636f9
traceparent 00-111743f5fa2c473ea0bebe9b8ff3316e-4a0f3fac57bf5bca-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-http--6d88ba82

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-111743f5fa2c473ea0bebe9b8ff3316e-9dd019340e71ee08-01
tracestate cptest=v1
test id
otel-dotnet--rabbitmq-http--6d88ba82
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-9b4e1780,team=alpha
ot-baggage-routing-key rk-9b4e1780
traceparent 00-a1a0698818cdc59ecebab0422f832d9b-63f6d0ee1ab0cf71-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-grpc--dc3cdb6c

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-a1a0698818cdc59ecebab0422f832d9b-cff3e1d00ce0caff-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--dc3cdb6c
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-8921fac4,team=alpha
ot-baggage-routing-key rk-8921fac4
traceparent 00-3bfadd80ef171e8d1b2fed6f5cb0ee54-4ac06024bffc3575-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-kafka--76b99726

Observed at the sink on the outbound Kafka record headers

traceparent 00-3bfadd80ef171e8d1b2fed6f5cb0ee54-9ba417c2d57db489-01
tracestate cptest=v1
test id
otel-dotnet--rabbitmq-kafka--76b99726
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-b4a78e35,team=alpha
ot-baggage-routing-key rk-b4a78e35
traceparent 00-29279a685aa2eb2b8143099fae3ba463-6e3e1511122034f8-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-rabbitmq--0658e951

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

traceparent 00-29279a685aa2eb2b8143099fae3ba463-e1e052eab8fb10ee-01
tracestate cptest=v1
test id
otel-dotnet--rabbitmq-rabbitmq--0658e951
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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