otel-dotnet

.NET zero-code OpenTelemetry.AutoInstrumentation1.19.1

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.19.1 1.19.1 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
19 Nov 2026, 17:42 UTC
Harness
090c0e3 · measured in run-2026-11-19.5
Raw JSON
1.19.1.json → variants[id = "otel-dotnet"]

Libraries

grpcGrpc.AspNetCore + Grpc.Net.Client 2.85.0
httpHttpClient
kafkaConfluent.Kafka 2.16.0
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-cbc5f010,team=alpha
ot-baggage-routing-key rk-cbc5f010
traceparent 00-d9514df2b32a710039412c69fda23c2a-45c9f8ffb1bed49c-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-http--f1af4691

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-cbc5f010,team=alpha
content-type application/json; charset=utf-8
traceparent 00-d9514df2b32a710039412c69fda23c2a-38ed594ed714d28d-01
tracestate cptest=v1
test id
otel-dotnet--http-http--f1af4691
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-3b602d87,team=alpha
ot-baggage-routing-key rk-3b602d87
traceparent 00-bdf51b654b902c0fa33a4e6a59c49238-6fbd1854e0a4d4af-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-grpc--e27b2342

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-3b602d87,team=alpha
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-bdf51b654b902c0fa33a4e6a59c49238-03c2ddbcbc6a536c-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--e27b2342
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-fa1df7e1,team=alpha
ot-baggage-routing-key rk-fa1df7e1
traceparent 00-45132fd6dcf78c7f3add3b29a30bb877-d33a194e65ab595d-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-kafka--5718cb37

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-fa1df7e1,team=alpha
traceparent 00-45132fd6dcf78c7f3add3b29a30bb877-68b406e020184b68-01
tracestate cptest=v1
test id
otel-dotnet--http-kafka--5718cb37
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-676402da,team=alpha
ot-baggage-routing-key rk-676402da
traceparent 00-ffbfe1a81795040fc544df59ab38faa2-100306fca7431c6e-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-rabbitmq--bbc1a849

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

baggage routing-key = rk-676402da, team = alpha
traceparent 00-ffbfe1a81795040fc544df59ab38faa2-7016f2ecedd9c562-01
tracestate cptest=v1
test id
otel-dotnet--http-rabbitmq--bbc1a849
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-244bce8d,team=alpha
ot-baggage-routing-key rk-244bce8d
traceparent 00-d08c55bcd473c81c0f69e49bc3fcea6d-35bd7704edfda985-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-http--3cff82b7

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-244bce8d,team=alpha
content-type application/json; charset=utf-8
traceparent 00-d08c55bcd473c81c0f69e49bc3fcea6d-abc586d4ca7c74e0-01
tracestate cptest=v1
test id
otel-dotnet--grpc-http--3cff82b7
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-80f3a91d,team=alpha
ot-baggage-routing-key rk-80f3a91d
traceparent 00-4980184564602ce3b9dc91aa9e158e8f-302cdeb6025d48b5-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-grpc--6a79a9a0

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-80f3a91d,team=alpha
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-4980184564602ce3b9dc91aa9e158e8f-f8a4b2921b8c11c9-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--6a79a9a0
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-97b4ebe7,team=alpha
ot-baggage-routing-key rk-97b4ebe7
traceparent 00-8465766e9cd3701660130dabad4fe3c0-a521fedf2e3b5b51-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-kafka--ae224972

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-97b4ebe7,team=alpha
traceparent 00-8465766e9cd3701660130dabad4fe3c0-84e4e4af265d1a36-01
tracestate cptest=v1
test id
otel-dotnet--grpc-kafka--ae224972
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-c7bbacf0,team=alpha
ot-baggage-routing-key rk-c7bbacf0
traceparent 00-4e7805ca3971de9a0eeb8c97a34cd264-4420da368fd36cb7-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-rabbitmq--82011545

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

baggage routing-key = rk-c7bbacf0, team = alpha
traceparent 00-4e7805ca3971de9a0eeb8c97a34cd264-d2e96b04a0a065a0-01
tracestate cptest=v1
test id
otel-dotnet--grpc-rabbitmq--82011545
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-70a9c150,team=alpha
ot-baggage-routing-key rk-70a9c150
traceparent 00-76d585a98677c1c3ee8a6e654018b670-0fd63a1bb070a5d9-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-http--57d6ed18

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-8d0949807b39842cf5f83c3459b51fa0-c84006fb681b11b5-01
test id
otel-dotnet--kafka-http--57d6ed18
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-20f13154,team=alpha
ot-baggage-routing-key rk-20f13154
traceparent 00-876d0540b67c1d92f13c936c500cc82a-f134a06d331a666c-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-grpc--8cb66b9b

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-1865b7995b7c0392322a97e4720689c9-2a13ab9e737643ce-01
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--8cb66b9b
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-646f62d0,team=alpha
ot-baggage-routing-key rk-646f62d0
traceparent 00-42212eda442cbb2a90f0aca0e440294f-90880876ab386f37-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-kafka--4a6ff512

Observed at the sink on the outbound Kafka record headers

traceparent 00-39e063c1cad06d172cdb02c5c07f3625-3a86e6f5ca5938e0-01
test id
otel-dotnet--kafka-kafka--4a6ff512
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-fa42befd,team=alpha
ot-baggage-routing-key rk-fa42befd
traceparent 00-6ee0069aa8066d4dbf5e973870aac44a-7df866340c4cbdbf-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-rabbitmq--8dc6eb22

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

traceparent 00-bef5eed60de2c58f37e824bf54591da5-1c2351e6a6cf7ee9-01
test id
otel-dotnet--kafka-rabbitmq--8dc6eb22
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-002fb0c9,team=alpha
ot-baggage-routing-key rk-002fb0c9
traceparent 00-0fc73c3bf601b0d4e9b37ed52f546157-62a29bdc8392f0da-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-http--199ad70e

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-0fc73c3bf601b0d4e9b37ed52f546157-b8bbf73bf01c8d5a-01
tracestate cptest=v1
test id
otel-dotnet--rabbitmq-http--199ad70e
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-ba3de834,team=alpha
ot-baggage-routing-key rk-ba3de834
traceparent 00-cc5e5add0adc39ce3b05952eae7a34e5-7481c34cf725701d-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-grpc--089468fd

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-cc5e5add0adc39ce3b05952eae7a34e5-e3987d568a3b09ca-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--089468fd
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-2969b751,team=alpha
ot-baggage-routing-key rk-2969b751
traceparent 00-f6d8253a643d5773265b6d947b88da4f-89253b2d5f81be14-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-kafka--492b4a71

Observed at the sink on the outbound Kafka record headers

traceparent 00-f6d8253a643d5773265b6d947b88da4f-9806d8c305e8609c-01
tracestate cptest=v1
test id
otel-dotnet--rabbitmq-kafka--492b4a71
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-b21e7cfa,team=alpha
ot-baggage-routing-key rk-b21e7cfa
traceparent 00-31ebf63505cb65fd2026394c5c6c951a-a4c7097dd53cf17b-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-rabbitmq--7e8d3879

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

traceparent 00-31ebf63505cb65fd2026394c5c6c951a-5fe9ead8477eac52-01
tracestate cptest=v1
test id
otel-dotnet--rabbitmq-rabbitmq--7e8d3879
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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