otel-dotnet

.NET zero-code OpenTelemetry.AutoInstrumentation1.2.0

attach CLR profiler env (OpenTelemetry.AutoInstrumentation)

12/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.2.0 1.2.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:54 UTC
Harness
9b99070 · measured in backtest-otel-dotnet-1.2.0
Raw JSON
1.2.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-adac9310,team=alpha
ot-baggage-routing-key rk-adac9310
traceparent 00-c96594d601b6f1dab092a86428908af1-3ad2cd8464232452-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-http--4fbd0a07

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-adac9310,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-adac9310, team=alpha
traceparent 00-c96594d601b6f1dab092a86428908af1-32eaf75f80562cce-01
tracestate cptest=v1
test id
otel-dotnet--http-http--4fbd0a07
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-30100877,team=alpha
ot-baggage-routing-key rk-30100877
traceparent 00-735d0a0f182aed13269db8ef44b280ff-30ad282ceeccb1cb-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-grpc--4482ab74

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-30100877,team=alpha
content-type application/grpc
correlation-context routing-key=rk-30100877, team=alpha
grpc-accept-encoding identity,gzip,deflate
traceparent 00-735d0a0f182aed13269db8ef44b280ff-389258a0f8d9a1bc-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--4482ab74
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-893a2b81,team=alpha
ot-baggage-routing-key rk-893a2b81
traceparent 00-41940e52db4ed9ddeeb92846e8210143-a5be726b814ecc3e-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-kafka--f34f0604

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
otel-dotnet--http-kafka--f34f0604
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent
HTTP RabbitMQ baggage tracestate traceparent ot-baggage delivered via rabbitmq

Seeded on the inbound HTTP request headers

baggage routing-key=rk-c062223b,team=alpha
ot-baggage-routing-key rk-c062223b
traceparent 00-89648af4bd8f84f9cf1d882e3b21a4ed-d51caf0762ac5801-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-rabbitmq--433db9d0

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

No headers observed.

test id
otel-dotnet--http-rabbitmq--433db9d0
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-389ddb72,team=alpha
ot-baggage-routing-key rk-389ddb72
traceparent 00-ff492f282257fff2b5d464f7298b45fa-f06cf27eedd9eab0-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-http--e5833815

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-389ddb72,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-389ddb72, team=alpha
traceparent 00-ff492f282257fff2b5d464f7298b45fa-af7d8e79b79c05ea-01
tracestate cptest=v1
test id
otel-dotnet--grpc-http--e5833815
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-8b9ebf8f,team=alpha
ot-baggage-routing-key rk-8b9ebf8f
traceparent 00-7664c13574f79b5221f5e9cc140fe284-346dbe1b50303069-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-grpc--47b8507b

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-8b9ebf8f,team=alpha
content-type application/grpc
correlation-context routing-key=rk-8b9ebf8f, team=alpha
grpc-accept-encoding identity,gzip,deflate
traceparent 00-7664c13574f79b5221f5e9cc140fe284-3f4ae4b23ae94d60-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--47b8507b
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-78fa48ff,team=alpha
ot-baggage-routing-key rk-78fa48ff
traceparent 00-a521965d69795ab71cd795a0e0a56733-96ffa95b27feeab4-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-kafka--672ff975

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
otel-dotnet--grpc-kafka--672ff975
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent
gRPC RabbitMQ baggage tracestate traceparent ot-baggage delivered via rabbitmq

Seeded on the inbound gRPC metadata

baggage routing-key=rk-c017b576,team=alpha
ot-baggage-routing-key rk-c017b576
traceparent 00-cedcf2ddac76db1bca890b66813d8710-8c1be9167a407f63-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-rabbitmq--bc402ca1

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

No headers observed.

test id
otel-dotnet--grpc-rabbitmq--bc402ca1
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-96790b74,team=alpha
ot-baggage-routing-key rk-96790b74
traceparent 00-ac8e7969193c23726ee583fbca37daba-0202c10c94faa592-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-http--d7aab2a0

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-48ed9079fb2a7cc38ad3a1b3395af28a-dbf5f26c6dec1d86-01
test id
otel-dotnet--kafka-http--d7aab2a0
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-cef45aa2,team=alpha
ot-baggage-routing-key rk-cef45aa2
traceparent 00-0e331a23d1b3758cdcd52c8625b7880c-6b9b5fcdf938b720-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-grpc--c1b8d0f4

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-51dfb1a30ace9db7bc2f112e935144a5-a962f4cc30bf36e2-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--c1b8d0f4
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-1eb91c28,team=alpha
ot-baggage-routing-key rk-1eb91c28
traceparent 00-f85034a529f70ce1c295f42b56f4ea83-35e01cb9f42d4727-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-kafka--08df5de3

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
otel-dotnet--kafka-kafka--08df5de3
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent
Kafka RabbitMQ baggage tracestate traceparent ot-baggage delivered via rabbitmq

Seeded on the inbound Kafka record headers

baggage routing-key=rk-0f6b0e17,team=alpha
ot-baggage-routing-key rk-0f6b0e17
traceparent 00-36140cd37a1d9f45900e318400cce761-98f1ee52188f2f2a-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-rabbitmq--77b02373

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

No headers observed.

test id
otel-dotnet--kafka-rabbitmq--77b02373
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-81e0b221,team=alpha
ot-baggage-routing-key rk-81e0b221
traceparent 00-3bea9c9c67708edb679c470967430024-00d82344009ecece-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-http--0f431329

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-aac6f5b9c87eb5538ed9a5668417a43a-0f42caa028fcb5dd-01
test id
otel-dotnet--rabbitmq-http--0f431329
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-774a6c4b,team=alpha
ot-baggage-routing-key rk-774a6c4b
traceparent 00-e388dc3cbf049ce47ffcbfc32eb35890-78860a8eb4c44739-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-grpc--b925f94b

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-391fdc16f5def2d48ed1926aca2ca12e-bae3f7a38f4cc9ca-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--b925f94b
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-38493397,team=alpha
ot-baggage-routing-key rk-38493397
traceparent 00-c7528951c59c3d282b205d23aee6fc01-d6f85768f2418bc7-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-kafka--e2a1f24e

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
otel-dotnet--rabbitmq-kafka--e2a1f24e
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_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-65ceed15,team=alpha
ot-baggage-routing-key rk-65ceed15
traceparent 00-8a180551ef424cc639e41c480e2075cc-d9f73550ba851a1a-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-rabbitmq--6d10ad37

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

No headers observed.

test id
otel-dotnet--rabbitmq-rabbitmq--6d10ad37
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent

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