otel-dotnet

.NET zero-code OpenTelemetry.AutoInstrumentation1.6.0

attach CLR profiler env (OpenTelemetry.AutoInstrumentation)

18/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.6.0 1.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, 07:42 UTC
Harness
9b99070 · measured in backtest-otel-dotnet-1.6.0
Raw JSON
1.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-7e88edc7,team=alpha
ot-baggage-routing-key rk-7e88edc7
traceparent 00-a9b44a9384549144309af821007c2e07-9e3359acaf442d3d-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-http--24ddff93

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-7e88edc7,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-7e88edc7, team=alpha
traceparent 00-a9b44a9384549144309af821007c2e07-9b1b9712a6543033-01
tracestate cptest=v1
test id
otel-dotnet--http-http--24ddff93
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-7e837588,team=alpha
ot-baggage-routing-key rk-7e837588
traceparent 00-e0b48863d4525d1c71548a8e7829fdc6-c960a3165f08000c-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-grpc--577d0658

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-7e837588,team=alpha
content-type application/grpc
correlation-context routing-key=rk-7e837588, team=alpha
grpc-accept-encoding identity,gzip,deflate
traceparent 00-e0b48863d4525d1c71548a8e7829fdc6-46aedda8ba79aebf-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--577d0658
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-16d39de6,team=alpha
ot-baggage-routing-key rk-16d39de6
traceparent 00-ac7d5eb9a2784f8cd9cc0d9ce7c45d1a-d2ae0f12a56bea13-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-kafka--da737f9b

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-16d39de6,team=alpha
traceparent 00-ac7d5eb9a2784f8cd9cc0d9ce7c45d1a-06ffdd97e6675ae5-01
tracestate cptest=v1
test id
otel-dotnet--http-kafka--da737f9b
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-b96b7430,team=alpha
ot-baggage-routing-key rk-b96b7430
traceparent 00-d4b4661035dcd685b5bf84a55c0a3182-cfd71d6c89995f00-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-rabbitmq--670dc5cd

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

No headers observed.

test id
otel-dotnet--http-rabbitmq--670dc5cd
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-37039ab2,team=alpha
ot-baggage-routing-key rk-37039ab2
traceparent 00-98d77fc3c9b573933bd1c0e00a644243-a26a93e643458a02-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-http--b34ef0f3

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-37039ab2,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-37039ab2, team=alpha
traceparent 00-98d77fc3c9b573933bd1c0e00a644243-05a41401f37bbb7e-01
tracestate cptest=v1
test id
otel-dotnet--grpc-http--b34ef0f3
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-57abf782,team=alpha
ot-baggage-routing-key rk-57abf782
traceparent 00-1a76449351bbcd3291b0cab840db9129-6e24c68a9c4cf822-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-grpc--3e248ffc

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-57abf782,team=alpha
content-type application/grpc
correlation-context routing-key=rk-57abf782, team=alpha
grpc-accept-encoding identity,gzip,deflate
traceparent 00-1a76449351bbcd3291b0cab840db9129-4d8ce313853b0387-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--3e248ffc
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-4e982d98,team=alpha
ot-baggage-routing-key rk-4e982d98
traceparent 00-032002513e9fed35c8c328700706ec47-0b4715e3b3b6f7d4-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-kafka--1b808bff

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-4e982d98,team=alpha
traceparent 00-032002513e9fed35c8c328700706ec47-94313de5dd9ac77f-01
tracestate cptest=v1
test id
otel-dotnet--grpc-kafka--1b808bff
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-211d6147,team=alpha
ot-baggage-routing-key rk-211d6147
traceparent 00-ec3bbada1770717df058db1d4bb6ffc6-c00c0461c2eb7f22-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-rabbitmq--b659b638

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

No headers observed.

test id
otel-dotnet--grpc-rabbitmq--b659b638
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-b2ec24a3,team=alpha
ot-baggage-routing-key rk-b2ec24a3
traceparent 00-e69e0e2a1b7da827419932a25f3883bb-07ed71f77ccc7027-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-http--43124d9f

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-1bf7ee1733aa7388d0b6c634609508f3-1a68b9491e06552b-01
test id
otel-dotnet--kafka-http--43124d9f
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-c30eb9dd,team=alpha
ot-baggage-routing-key rk-c30eb9dd
traceparent 00-62ed6bafa03e610d3ab3fbf51dc92540-b41071f7f9aa92f8-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-grpc--1a420d4c

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-58e200ebbf2670e8268e8dee65a1f362-189d4859a7552307-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--1a420d4c
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-a452e449,team=alpha
ot-baggage-routing-key rk-a452e449
traceparent 00-11bac7598dbfcb9d89c6c34da777cf3b-095d50ff57091de1-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-kafka--14d7f0b2

Observed at the sink on the outbound Kafka record headers

traceparent 00-8669ff29370ed86d768fc1054535957b-a80bc93c9510cbd3-01
test id
otel-dotnet--kafka-kafka--14d7f0b2
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-39ad7fb0,team=alpha
ot-baggage-routing-key rk-39ad7fb0
traceparent 00-7b3d0dfa52e86d61df2f12d08cd6862f-4065796998046fcb-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-rabbitmq--40e7e56d

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

No headers observed.

test id
otel-dotnet--kafka-rabbitmq--40e7e56d
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-513391e4,team=alpha
ot-baggage-routing-key rk-513391e4
traceparent 00-6d67a57f1cb622d5388335afbf3e78f4-d43d7b2993bdc168-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-http--81df94a3

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-b997fa3fda9276f74cfebc25e65e08b0-e284f339c8020f0f-01
test id
otel-dotnet--rabbitmq-http--81df94a3
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-c1ebb5b6,team=alpha
ot-baggage-routing-key rk-c1ebb5b6
traceparent 00-89bb97c7e829e3823b8b3b2e32eef2be-e430249161a6f9f8-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-grpc--be1544fd

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-987b0e14142fae2a6bbad23813bfda7d-03b57e94244229a0-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--be1544fd
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-285e025f,team=alpha
ot-baggage-routing-key rk-285e025f
traceparent 00-53ddd4720af405a3e5da43f31add51c9-485a8262d42f0e1b-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-kafka--21edec4f

Observed at the sink on the outbound Kafka record headers

traceparent 00-f4de271a5147234d589bfb180812597e-e29b729c2d394d16-01
test id
otel-dotnet--rabbitmq-kafka--21edec4f
raw statuses
baggage=absenttracestate=absenttraceparent=new_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-3a59f494,team=alpha
ot-baggage-routing-key rk-3a59f494
traceparent 00-21df41ab08b45492f47778d3906d934e-3a9497ca7fe6c98b-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-rabbitmq--4bb2c163

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

No headers observed.

test id
otel-dotnet--rabbitmq-rabbitmq--4bb2c163
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent

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