otel-dotnet

.NET zero-code OpenTelemetry.AutoInstrumentation0.7.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 0.7.0 0.7.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, 08:27 UTC
Harness
9b99070 · measured in backtest-otel-dotnet-0.7.0
Raw JSON
0.7.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-c0b0a892,team=alpha
ot-baggage-routing-key rk-c0b0a892
traceparent 00-e692429bc799c7641e2571038d4a7e33-f3f07226b6bbf8ff-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-http--75e4cbc8

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-c0b0a892,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-c0b0a892, team=alpha
traceparent 00-e692429bc799c7641e2571038d4a7e33-b94488dfc3879407-01
tracestate cptest=v1
test id
otel-dotnet--http-http--75e4cbc8
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-9c3105a2,team=alpha
ot-baggage-routing-key rk-9c3105a2
traceparent 00-dbfc51249da26919f05bcbee7b73f76b-c1ce76a548bcbc0d-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-grpc--97c9be0e

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-9c3105a2,team=alpha
content-type application/grpc
correlation-context routing-key=rk-9c3105a2, team=alpha
grpc-accept-encoding identity,gzip,deflate
traceparent 00-dbfc51249da26919f05bcbee7b73f76b-8dc622f69fcabff1-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--97c9be0e
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-f242cc67,team=alpha
ot-baggage-routing-key rk-f242cc67
traceparent 00-f7c2b5d1ee4764bf5dcd51e10e15f93c-6945ffc54ed58c9d-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-kafka--026cea97

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
otel-dotnet--http-kafka--026cea97
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-6536f85d,team=alpha
ot-baggage-routing-key rk-6536f85d
traceparent 00-897fe7784e92bfa1b31d6a6b560707b0-e12bba3ca109f09c-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-rabbitmq--f3c1655c

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

No headers observed.

test id
otel-dotnet--http-rabbitmq--f3c1655c
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-74948f77,team=alpha
ot-baggage-routing-key rk-74948f77
traceparent 00-47e05f815057292f2024cdaf005e6fe9-605ccde2e8151f69-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-http--264c2d69

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-74948f77,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-74948f77, team=alpha
traceparent 00-47e05f815057292f2024cdaf005e6fe9-97c92e691147e507-01
tracestate cptest=v1
test id
otel-dotnet--grpc-http--264c2d69
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-d5617b6f,team=alpha
ot-baggage-routing-key rk-d5617b6f
traceparent 00-f232391e9e6bcaf9825ec0a80fe93ad5-758683f7b1e9db94-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-grpc--22eee310

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-d5617b6f,team=alpha
content-type application/grpc
correlation-context routing-key=rk-d5617b6f, team=alpha
grpc-accept-encoding identity,gzip,deflate
traceparent 00-f232391e9e6bcaf9825ec0a80fe93ad5-836f4a19438f53f2-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--22eee310
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-36e504e9,team=alpha
ot-baggage-routing-key rk-36e504e9
traceparent 00-46e953905f06432657ff4fe2f1450766-51af732312f2be6b-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-kafka--50cf515e

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
otel-dotnet--grpc-kafka--50cf515e
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-097e9acb,team=alpha
ot-baggage-routing-key rk-097e9acb
traceparent 00-bbb1b5caa366a529b29b01a35bb00da2-8d5190d49b376c61-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-rabbitmq--cb025a3e

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

No headers observed.

test id
otel-dotnet--grpc-rabbitmq--cb025a3e
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-72e26a82,team=alpha
ot-baggage-routing-key rk-72e26a82
traceparent 00-cc79ae9006a3781c0f528e68f6e81aff-212ca920b1010653-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-http--8b20a81e

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-939d6cdb42217a8c33b1330c8eb161e7-51e1c8b850e5e677-01
test id
otel-dotnet--kafka-http--8b20a81e
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-970f6047,team=alpha
ot-baggage-routing-key rk-970f6047
traceparent 00-9308925f80207df983c57b9c29065fa7-4863a56a78916810-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-grpc--92e852bf

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-c41be06b8e8eef99a00ea6952b9f03b3-6298dfc38242bae1-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--92e852bf
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-91f50000,team=alpha
ot-baggage-routing-key rk-91f50000
traceparent 00-76d423b536b36e4fe063308605b73ab9-c0be9ebad69a6009-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-kafka--72f3799f

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
otel-dotnet--kafka-kafka--72f3799f
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-2580e26a,team=alpha
ot-baggage-routing-key rk-2580e26a
traceparent 00-2087fdc48d5c2c1bee7db27da109aeda-6a279a6e78bccd94-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-rabbitmq--d2662059

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

No headers observed.

test id
otel-dotnet--kafka-rabbitmq--d2662059
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-8fb73161,team=alpha
ot-baggage-routing-key rk-8fb73161
traceparent 00-b11fd76cdfe876d17754d1ce563954ea-993e5b7bdf66e316-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-http--ea80db75

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-f81bb3802fd5be61e287b66b075fbd31-1380dbf05d3f8543-01
test id
otel-dotnet--rabbitmq-http--ea80db75
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-b8ff47e9,team=alpha
ot-baggage-routing-key rk-b8ff47e9
traceparent 00-f33147e0c4531df7f29948e437a67c24-fa5edb1af040f4f6-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-grpc--9c2eb089

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-af86978a558776f09b90029aec4c62e2-a590fcf581d50680-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--9c2eb089
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-6ae3d783,team=alpha
ot-baggage-routing-key rk-6ae3d783
traceparent 00-da340c1c66ecd410f0ad4144dbc0f58f-2cc97060c9edbb84-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-kafka--4df070d0

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
otel-dotnet--rabbitmq-kafka--4df070d0
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-2956171d,team=alpha
ot-baggage-routing-key rk-2956171d
traceparent 00-0af17ce6811bbb8353770593c9ad8da9-c49017a3d74808f4-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-rabbitmq--6b40a7cd

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

No headers observed.

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

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