otel-dotnet

.NET zero-code OpenTelemetry.AutoInstrumentation1.20.0

attach instrument.sh env: CLR profiler + DOTNET_STARTUP_HOOKS (OpenTelemetry.AutoInstrumentation)

32/64 cells pass
  • Pass
  • Partial
  • New trace
  • Fail
  • Undelivered
  • Not run

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.20.0 1.20.0 on github-releases github
Runtime
.NET 10.0.15 (CLR 10.0.15)
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
instrument.sh env: CLR profiler + DOTNET_STARTUP_HOOKS (OpenTelemetry.AutoInstrumentation)
Relay source
relays/dotnet
Ran at
30 Nov 2026, 06:44 UTC
Harness
b33e402 · measured in run-2026-11-30
Raw JSON
1.20.0.json → variants[id = "otel-dotnet"]

Libraries

grpcGrpc.AspNetCore + Grpc.Net.Client 2.85.0
httpHttpClient
kafkaConfluent.Kafka 2.16.0
rabbitmqRabbitMQ.Client 7.3.0

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-c222e601,team=alpha
ot-baggage-routing-key rk-c222e601
traceparent 00-202128524d0d2c751797934fac3a5465-a33b1aa35ab47372-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-http--bd40c15d

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-c222e601,team=alpha
content-type application/json; charset=utf-8
traceparent 00-202128524d0d2c751797934fac3a5465-7449124f875c4950-01
tracestate cptest=v1
test id
otel-dotnet--http-http--bd40c15d
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-0a488985,team=alpha
ot-baggage-routing-key rk-0a488985
traceparent 00-dba695e65665c701b4cf56a9f2b18c61-50b4d4d499364e36-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-grpc--b5f635e9

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-0a488985,team=alpha
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-dba695e65665c701b4cf56a9f2b18c61-608e3fb3d9064151-01
tracestate cptest=v1
user-agent grpc-dotnet/2.85.0 (.NET 10.0.15; CLR 10.0.15; net10.0; linux; x64)
test id
otel-dotnet--http-grpc--b5f635e9
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-bbeb33a5,team=alpha
ot-baggage-routing-key rk-bbeb33a5
traceparent 00-ca9202f59574b35080cf5ab3d129f2f5-4bca00fb05ce0da5-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-kafka--7f53953e

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-bbeb33a5,team=alpha
traceparent 00-ca9202f59574b35080cf5ab3d129f2f5-84b2d8d3ccd57fd6-01
tracestate cptest=v1
test id
otel-dotnet--http-kafka--7f53953e
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-5e038240,team=alpha
ot-baggage-routing-key rk-5e038240
traceparent 00-9d5dff2a5314d492c43461d41e7f681d-8690b66d980018ea-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-rabbitmq--b7fd0743

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

baggage routing-key = rk-5e038240, team = alpha
traceparent 00-9d5dff2a5314d492c43461d41e7f681d-77a226edc83b7265-01
tracestate cptest=v1
test id
otel-dotnet--http-rabbitmq--b7fd0743
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-d83b3181,team=alpha
ot-baggage-routing-key rk-d83b3181
traceparent 00-bb69fedaa6529dca68d2671f4ec57c04-10a6d223430f3f9b-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-http--42f32cf8

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-d83b3181,team=alpha
content-type application/json; charset=utf-8
traceparent 00-bb69fedaa6529dca68d2671f4ec57c04-aaa43320b5870274-01
tracestate cptest=v1
test id
otel-dotnet--grpc-http--42f32cf8
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-3f790b3a,team=alpha
ot-baggage-routing-key rk-3f790b3a
traceparent 00-e70331c8600b9f7d73b7ac59e96fd9f2-586c34c51124860f-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-grpc--858bb9f2

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-3f790b3a,team=alpha
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-e70331c8600b9f7d73b7ac59e96fd9f2-83cb3f70c1dbbcf6-01
tracestate cptest=v1
user-agent grpc-dotnet/2.85.0 (.NET 10.0.15; CLR 10.0.15; net10.0; linux; x64)
test id
otel-dotnet--grpc-grpc--858bb9f2
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-bd8399da,team=alpha
ot-baggage-routing-key rk-bd8399da
traceparent 00-e26e235e28a5294a2ff043ac28afa6d5-bc7eb8abc420bca7-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-kafka--a7105e52

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-bd8399da,team=alpha
traceparent 00-e26e235e28a5294a2ff043ac28afa6d5-17dd12618e4da785-01
tracestate cptest=v1
test id
otel-dotnet--grpc-kafka--a7105e52
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-d6a4857e,team=alpha
ot-baggage-routing-key rk-d6a4857e
traceparent 00-55798c227e4cca26e9d6acf5bc5a699e-ae5c5bb12b14003d-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-rabbitmq--15c9ffce

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

baggage routing-key = rk-d6a4857e, team = alpha
traceparent 00-55798c227e4cca26e9d6acf5bc5a699e-32e5dc2c0184fd73-01
tracestate cptest=v1
test id
otel-dotnet--grpc-rabbitmq--15c9ffce
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-b895d91e,team=alpha
ot-baggage-routing-key rk-b895d91e
traceparent 00-1715a34e7cde4b4ab45c489acae28801-7d3e1085f46ecb74-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-http--4b7b9f9e

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-47e1a441eb26dfa9576a0fa2ca5ba1f6-7f5b07a89cac3e48-03
test id
otel-dotnet--kafka-http--4b7b9f9e
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-8f136f96,team=alpha
ot-baggage-routing-key rk-8f136f96
traceparent 00-2117d5790c03cb5d38a998a597c0ca5e-c1538f33304373d0-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-grpc--5419cd9f

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-43f0c43cbbdda5af1ca089cfeb898263-d1ef50c6f56fa60d-03
user-agent grpc-dotnet/2.85.0 (.NET 10.0.15; CLR 10.0.15; net10.0; linux; x64)
test id
otel-dotnet--kafka-grpc--5419cd9f
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-78bc36d4,team=alpha
ot-baggage-routing-key rk-78bc36d4
traceparent 00-8c1182fdc0be48426f11f26cd1cc2b0d-76f085fdca026f12-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-kafka--4e68f440

Observed at the sink on the outbound Kafka record headers

traceparent 00-2b6aeb1cd21e7d1343e97a89f36cfb22-b2cf6490a9b4fda8-03
test id
otel-dotnet--kafka-kafka--4e68f440
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-fabe0a91,team=alpha
ot-baggage-routing-key rk-fabe0a91
traceparent 00-f545734b567c6404bbf7f4a2255bf861-680c06c787a90b77-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-rabbitmq--f8b538ad

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

traceparent 00-edf9cd6a9aef01b68119874e687794b8-b3b3fc1bfec145cf-03
test id
otel-dotnet--kafka-rabbitmq--f8b538ad
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-742d1c7f,team=alpha
ot-baggage-routing-key rk-742d1c7f
traceparent 00-cb8a7d4f759da15354270ac4dfa1cbd0-31bb0e6d43c22c4b-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-http--752a9254

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-cb8a7d4f759da15354270ac4dfa1cbd0-61a1929b82bbb45e-01
tracestate cptest=v1
test id
otel-dotnet--rabbitmq-http--752a9254
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-6ad1cb46,team=alpha
ot-baggage-routing-key rk-6ad1cb46
traceparent 00-dc337c4f65a3ed9e751ff4cd1ca50f13-460e0e109dd6fd31-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-grpc--dcc1ea4e

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-dc337c4f65a3ed9e751ff4cd1ca50f13-4a6335e67f34d7b6-01
tracestate cptest=v1
user-agent grpc-dotnet/2.85.0 (.NET 10.0.15; CLR 10.0.15; net10.0; linux; x64)
test id
otel-dotnet--rabbitmq-grpc--dcc1ea4e
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-cf12cc56,team=alpha
ot-baggage-routing-key rk-cf12cc56
traceparent 00-918a168e34840b598a7a4d73b8d7cfc9-7edf10a3853f97bf-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-kafka--a3d0235a

Observed at the sink on the outbound Kafka record headers

traceparent 00-918a168e34840b598a7a4d73b8d7cfc9-73d4c72342fca71b-01
tracestate cptest=v1
test id
otel-dotnet--rabbitmq-kafka--a3d0235a
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-e67563e2,team=alpha
ot-baggage-routing-key rk-e67563e2
traceparent 00-afe54b442535130077b0e303b0554c19-0829cb76af8d87c3-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-rabbitmq--f4f75f98

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

traceparent 00-afe54b442535130077b0e303b0554c19-0f6fcf6a061da9b4-01
tracestate cptest=v1
test id
otel-dotnet--rabbitmq-rabbitmq--f4f75f98
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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