otel-dotnet

.NET zero-code OpenTelemetry.AutoInstrumentation1.3.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.3.0 1.3.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:51 UTC
Harness
9b99070 · measured in backtest-otel-dotnet-1.3.0
Raw JSON
1.3.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-2f65890e,team=alpha
ot-baggage-routing-key rk-2f65890e
traceparent 00-5a0818fd43873d7d860667b6009ac2cf-225160a0f194a687-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-http--37f919b7

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-2f65890e,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-2f65890e, team=alpha
traceparent 00-5a0818fd43873d7d860667b6009ac2cf-4f4e4aa5224f5eec-01
tracestate cptest=v1
test id
otel-dotnet--http-http--37f919b7
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-497bc0cd,team=alpha
ot-baggage-routing-key rk-497bc0cd
traceparent 00-c05b0f9478d23f8d3a36d24e38ffb728-cc5fa1b6918dab35-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-grpc--d693229f

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-497bc0cd,team=alpha
content-type application/grpc
correlation-context routing-key=rk-497bc0cd, team=alpha
grpc-accept-encoding identity,gzip,deflate
traceparent 00-c05b0f9478d23f8d3a36d24e38ffb728-c196f5db7ac32ea8-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--d693229f
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-71c44f94,team=alpha
ot-baggage-routing-key rk-71c44f94
traceparent 00-02306156fa6dac3cd2a88aeda86b2ca3-0a49e9f7a0982e8a-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-kafka--f3b3c6fa

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-71c44f94,team=alpha
traceparent 00-02306156fa6dac3cd2a88aeda86b2ca3-fbbe12e17fc87c03-01
tracestate cptest=v1
test id
otel-dotnet--http-kafka--f3b3c6fa
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-680da626,team=alpha
ot-baggage-routing-key rk-680da626
traceparent 00-b86e1978791fd728d511c0d49e516368-6ba5e9f10f2a215a-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-rabbitmq--b09ce68a

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

No headers observed.

test id
otel-dotnet--http-rabbitmq--b09ce68a
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-1399f701,team=alpha
ot-baggage-routing-key rk-1399f701
traceparent 00-961e3c33b9d3ef55dc802ace3eb0de8b-b04feae30b9e917d-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-http--6159bc2c

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-1399f701,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-1399f701, team=alpha
traceparent 00-961e3c33b9d3ef55dc802ace3eb0de8b-240bc64d28dfb459-01
tracestate cptest=v1
test id
otel-dotnet--grpc-http--6159bc2c
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-46bfe6df,team=alpha
ot-baggage-routing-key rk-46bfe6df
traceparent 00-ed6f251956ece30e21abccecf404b48d-0078e857c9a15e64-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-grpc--bb591b13

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-46bfe6df,team=alpha
content-type application/grpc
correlation-context routing-key=rk-46bfe6df, team=alpha
grpc-accept-encoding identity,gzip,deflate
traceparent 00-ed6f251956ece30e21abccecf404b48d-4fd41963e0e7aa11-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--bb591b13
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-62533922,team=alpha
ot-baggage-routing-key rk-62533922
traceparent 00-4ac27bd9e06e897bae4867620f3b23b2-8ce68abe3ba2e198-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-kafka--be515ca3

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-62533922,team=alpha
traceparent 00-4ac27bd9e06e897bae4867620f3b23b2-1bf6fbc668c26828-01
tracestate cptest=v1
test id
otel-dotnet--grpc-kafka--be515ca3
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-d0c80e7b,team=alpha
ot-baggage-routing-key rk-d0c80e7b
traceparent 00-c0dc039266c1f71edd6860a1ecee9407-e8abf6eb7c0a040c-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-rabbitmq--ab208fc4

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

No headers observed.

test id
otel-dotnet--grpc-rabbitmq--ab208fc4
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-e2b12311,team=alpha
ot-baggage-routing-key rk-e2b12311
traceparent 00-4bd7bdda4db66fdc06c4e5d99d1e010d-44ec19f8603fefb6-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-http--f38e9662

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-e966c531e5fed41d02c7269e45f19b1b-b799f23f2121b193-01
test id
otel-dotnet--kafka-http--f38e9662
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-1ab09abc,team=alpha
ot-baggage-routing-key rk-1ab09abc
traceparent 00-c6d6ff978bf69c474231d8c2032339e9-054b5b9251436c68-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-grpc--735e92de

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-76aa17e96e33f67688a65bd607c22947-c12bc53f1f7235b2-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--735e92de
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-fa524fde,team=alpha
ot-baggage-routing-key rk-fa524fde
traceparent 00-0fa5de854f507a61ebbf75ef6c6a3733-dbf7856df5aae3bc-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-kafka--40cd99f1

Observed at the sink on the outbound Kafka record headers

traceparent 00-fafb1f5710fb72bd590fb0790f5dda6a-709c7c2e3702e81a-01
test id
otel-dotnet--kafka-kafka--40cd99f1
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-194bdf37,team=alpha
ot-baggage-routing-key rk-194bdf37
traceparent 00-65436db16338354d8503df2364fd09d0-22ecd583e538e389-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-rabbitmq--f7becc97

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

No headers observed.

test id
otel-dotnet--kafka-rabbitmq--f7becc97
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-60b8368d,team=alpha
ot-baggage-routing-key rk-60b8368d
traceparent 00-0bddc40d264dc1e4566d51e6959868fb-c86ab451bd620673-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-http--40bc9ae9

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-2b57fd4b372c528955035c0b81c9ca77-b75f850c840ea9df-01
test id
otel-dotnet--rabbitmq-http--40bc9ae9
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-82956af3,team=alpha
ot-baggage-routing-key rk-82956af3
traceparent 00-90aa496cb64a9c7bc35299e5ca9141d3-bd60c6dcaecb8f8b-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-grpc--3a34595a

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-0552b07da106f8ea7fbfdf6597339049-c323a450950b3f7a-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--3a34595a
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-e4a44eb2,team=alpha
ot-baggage-routing-key rk-e4a44eb2
traceparent 00-6dc8be8539abd174ca9ead09383397bd-65784b9e0d563594-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-kafka--29a71c6d

Observed at the sink on the outbound Kafka record headers

traceparent 00-eee6db6f87a31819f812122a757d8562-54a18953c8aa2d65-01
test id
otel-dotnet--rabbitmq-kafka--29a71c6d
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-8b697c41,team=alpha
ot-baggage-routing-key rk-8b697c41
traceparent 00-c6e032b5f06926f2de197ae2752de27a-4579636bebd75496-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-rabbitmq--631ceda2

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

No headers observed.

test id
otel-dotnet--rabbitmq-rabbitmq--631ceda2
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent

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