otel-dotnet

.NET zero-code OpenTelemetry.AutoInstrumentation1.4.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.4.0 1.4.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:48 UTC
Harness
9b99070 · measured in backtest-otel-dotnet-1.4.0
Raw JSON
1.4.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-be1b67c1,team=alpha
ot-baggage-routing-key rk-be1b67c1
traceparent 00-2837b1da7438d28e52c9f9e206081b31-98baff6db1742f39-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-http--ad265def

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-be1b67c1,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-be1b67c1, team=alpha
traceparent 00-2837b1da7438d28e52c9f9e206081b31-3f87a27303f52a85-01
tracestate cptest=v1
test id
otel-dotnet--http-http--ad265def
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-2cccb0ee,team=alpha
ot-baggage-routing-key rk-2cccb0ee
traceparent 00-9438c12d9ea219fbfc678356e6572a1c-fd865a5ea6267bd5-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-grpc--aea62c07

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-2cccb0ee,team=alpha
content-type application/grpc
correlation-context routing-key=rk-2cccb0ee, team=alpha
grpc-accept-encoding identity,gzip,deflate
traceparent 00-9438c12d9ea219fbfc678356e6572a1c-ddf571b9c97061c5-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--aea62c07
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-3c14e142,team=alpha
ot-baggage-routing-key rk-3c14e142
traceparent 00-3e68f6adb07aa8e154a9fc48ccb809ee-178c1441c6f4cd6c-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-kafka--c5725c93

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-3c14e142,team=alpha
traceparent 00-3e68f6adb07aa8e154a9fc48ccb809ee-33242c337582b32f-01
tracestate cptest=v1
test id
otel-dotnet--http-kafka--c5725c93
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-ed76fff6,team=alpha
ot-baggage-routing-key rk-ed76fff6
traceparent 00-1fd0acb4570b7d746ecf53ca45b0ab4b-7ac87ef9dc1effc5-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-rabbitmq--d3e1b90b

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

No headers observed.

test id
otel-dotnet--http-rabbitmq--d3e1b90b
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-f02ea08b,team=alpha
ot-baggage-routing-key rk-f02ea08b
traceparent 00-0bd8a3bca509639c6cb6a442fc45c384-20dc63f702763c66-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-http--cad1691d

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-f02ea08b,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-f02ea08b, team=alpha
traceparent 00-0bd8a3bca509639c6cb6a442fc45c384-ec25af44b4750562-01
tracestate cptest=v1
test id
otel-dotnet--grpc-http--cad1691d
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-384e518d,team=alpha
ot-baggage-routing-key rk-384e518d
traceparent 00-78b7ccc18be24f769a4ce5e2ab19282e-14f1fe64fb0fdee6-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-grpc--d6eb8395

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-384e518d,team=alpha
content-type application/grpc
correlation-context routing-key=rk-384e518d, team=alpha
grpc-accept-encoding identity,gzip,deflate
traceparent 00-78b7ccc18be24f769a4ce5e2ab19282e-8aa31fd904bb99e1-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--d6eb8395
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-60f7d5e8,team=alpha
ot-baggage-routing-key rk-60f7d5e8
traceparent 00-db526508db94b58b0f8d655647427170-53c1ed9e200fe219-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-kafka--fe829c5a

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-60f7d5e8,team=alpha
traceparent 00-db526508db94b58b0f8d655647427170-f5709a1c21df4898-01
tracestate cptest=v1
test id
otel-dotnet--grpc-kafka--fe829c5a
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-d45c2fe0,team=alpha
ot-baggage-routing-key rk-d45c2fe0
traceparent 00-16cd9b51d913f552924286c22f80890e-4fee962de50d9aaa-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-rabbitmq--c041239b

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

No headers observed.

test id
otel-dotnet--grpc-rabbitmq--c041239b
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-5312979b,team=alpha
ot-baggage-routing-key rk-5312979b
traceparent 00-b95429c00b2b42ea01c0bf5e9deb25de-f8c2b1748dc612a3-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-http--907303c4

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-54cd1a37fcd4df163d338929bb149971-7c2f37caeb40f653-01
test id
otel-dotnet--kafka-http--907303c4
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-7db18ae1,team=alpha
ot-baggage-routing-key rk-7db18ae1
traceparent 00-44ed2e41dbd65473b7554f3f8eebdb45-1eca85fdb0c088bd-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-grpc--e014f79f

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-7a6adee154a833aac732089625d69d8d-69c9fa2e96651e87-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--e014f79f
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-f766d115,team=alpha
ot-baggage-routing-key rk-f766d115
traceparent 00-e67ebb0b70e387f2c5124410d152c329-c29cb267be3df145-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-kafka--51259e85

Observed at the sink on the outbound Kafka record headers

traceparent 00-5a55654b6f93293444f0c48c857a0504-05cf304d43b186e5-01
test id
otel-dotnet--kafka-kafka--51259e85
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-b4241591,team=alpha
ot-baggage-routing-key rk-b4241591
traceparent 00-b082ee7f977d2f7c5ad04def3b693432-294152ff9c8ed1a3-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-rabbitmq--72fd9edf

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

No headers observed.

test id
otel-dotnet--kafka-rabbitmq--72fd9edf
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-d2cbae2d,team=alpha
ot-baggage-routing-key rk-d2cbae2d
traceparent 00-f0e2962d7f9517094175c862878746df-0b5e69237eb13d66-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-http--e8bdc44f

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-2642121f79f13788e5934991f5c27469-686b48fd616cfd72-01
test id
otel-dotnet--rabbitmq-http--e8bdc44f
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-8079b86c,team=alpha
ot-baggage-routing-key rk-8079b86c
traceparent 00-29b6886346db735873305f9bf7588d2c-4f1621467f670228-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-grpc--5106282a

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-d385035015652e898e64a348bece43f2-94ba42f33b1eeeaf-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--5106282a
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-7377bf94,team=alpha
ot-baggage-routing-key rk-7377bf94
traceparent 00-4b4c7cedf7b79ec1c80c37aa21030c1a-0bff14df7006e023-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-kafka--bcacc2b0

Observed at the sink on the outbound Kafka record headers

traceparent 00-9fcdd8dc2ee885cf3a49b6b6ddbbd422-faf996118108233d-01
test id
otel-dotnet--rabbitmq-kafka--bcacc2b0
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-396713a2,team=alpha
ot-baggage-routing-key rk-396713a2
traceparent 00-a267f4e7e25bb5c4a9c9015867793e17-7c8419f0eba83243-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-rabbitmq--cb09a1c2

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

No headers observed.

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

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