otel-dotnet

.NET zero-code OpenTelemetry.AutoInstrumentation1.20.0

attach instrument.sh env: CLR profiler + DOTNET_STARTUP_HOOKS (OpenTelemetry.AutoInstrumentation)

32/64 cells pass
  • Pass
  • Partial
  • New trace
  • Fail
  • Undelivered
  • Not run

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).

140 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 in this run

Tracer
open-telemetry/opentelemetry-dotnet-instrumentation 1.20.0 this version 1.20.0 on github-releases github
Runtime
.NET 10.0.15 (CLR 10.0.15)
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
instrument.sh env: CLR profiler + DOTNET_STARTUP_HOOKS (OpenTelemetry.AutoInstrumentation)
Relay source
relays/dotnet
Ran at
24 Nov 2026, 14:16 UTC
Harness
bb737a4 · run run-2026-11-24.4
Raw JSON
run-2026-11-24.4.json → variants[id = "otel-dotnet"]

Libraries

grpcGrpc.AspNetCore + Grpc.Net.Client 2.85.0
httpHttpClient
kafkaConfluent.Kafka 2.16.0
rabbitmqRabbitMQ.Client 7.3.0

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-832b950a,team=alpha
ot-baggage-routing-key rk-832b950a
traceparent 00-919f5bfa9521c455704c589e5c4a2b98-68edd7996605598b-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-http--19d3ea8c

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-832b950a,team=alpha
content-type application/json; charset=utf-8
traceparent 00-919f5bfa9521c455704c589e5c4a2b98-820e3fe7588c4127-01
tracestate cptest=v1
test id
otel-dotnet--http-http--19d3ea8c
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-1abac31d,team=alpha
ot-baggage-routing-key rk-1abac31d
traceparent 00-6ee1f7d4f52ece7792f5787693999a9e-8f4318a8b9f5ba33-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-grpc--2c6db782

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-1abac31d,team=alpha
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-6ee1f7d4f52ece7792f5787693999a9e-66ba84893e276a3f-01
tracestate cptest=v1
user-agent grpc-dotnet/2.85.0 (.NET 10.0.15; CLR 10.0.15; net10.0; linux; x64)
test id
otel-dotnet--http-grpc--2c6db782
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-43a90e3a,team=alpha
ot-baggage-routing-key rk-43a90e3a
traceparent 00-d5dc30581b1ff3c26702a9aafa6b3afa-5077bce26e484009-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-kafka--015430ee

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-43a90e3a,team=alpha
traceparent 00-d5dc30581b1ff3c26702a9aafa6b3afa-1ab0ed3af6f34807-01
tracestate cptest=v1
test id
otel-dotnet--http-kafka--015430ee
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-7d38f018,team=alpha
ot-baggage-routing-key rk-7d38f018
traceparent 00-ffa9afcaa826d801e1fe5b8edc4dfe48-473858463ba01fa3-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-rabbitmq--6a5d7b2e

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

baggage routing-key = rk-7d38f018, team = alpha
traceparent 00-ffa9afcaa826d801e1fe5b8edc4dfe48-c2691bbb7b6bbf5c-01
tracestate cptest=v1
test id
otel-dotnet--http-rabbitmq--6a5d7b2e
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent
gRPC HTTP baggage tracestate traceparent ot-baggage delivered via http

Seeded on the inbound gRPC metadata

baggage routing-key=rk-68d2092c,team=alpha
ot-baggage-routing-key rk-68d2092c
traceparent 00-cf7742da6925cb5aa9ac9e9b6152436e-2866fc2332f3de60-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-http--0e0b56dc

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-68d2092c,team=alpha
content-type application/json; charset=utf-8
traceparent 00-cf7742da6925cb5aa9ac9e9b6152436e-498f7e75797337c2-01
tracestate cptest=v1
test id
otel-dotnet--grpc-http--0e0b56dc
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-6fa21bf4,team=alpha
ot-baggage-routing-key rk-6fa21bf4
traceparent 00-5f72f7cc05d7efd37b36a41f9f83cdae-824579f86436f4e3-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-grpc--11764078

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-6fa21bf4,team=alpha
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-5f72f7cc05d7efd37b36a41f9f83cdae-aa85ea93e7218865-01
tracestate cptest=v1
user-agent grpc-dotnet/2.85.0 (.NET 10.0.15; CLR 10.0.15; net10.0; linux; x64)
test id
otel-dotnet--grpc-grpc--11764078
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-1dfd6456,team=alpha
ot-baggage-routing-key rk-1dfd6456
traceparent 00-ab5a5c7ac5a1809762ae30009513314a-2d6d4447d7809399-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-kafka--32ea8c6c

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-1dfd6456,team=alpha
traceparent 00-ab5a5c7ac5a1809762ae30009513314a-a126997ee6b99ffe-01
tracestate cptest=v1
test id
otel-dotnet--grpc-kafka--32ea8c6c
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-1ee433af,team=alpha
ot-baggage-routing-key rk-1ee433af
traceparent 00-21f1a431f1389d0bba77b5ec66e1b60a-8816c11185bc4ecb-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-rabbitmq--350850c1

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

baggage routing-key = rk-1ee433af, team = alpha
traceparent 00-21f1a431f1389d0bba77b5ec66e1b60a-9093a1348ff44e98-01
tracestate cptest=v1
test id
otel-dotnet--grpc-rabbitmq--350850c1
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent
Kafka HTTP baggage tracestate traceparent ot-baggage delivered via http

Seeded on the inbound Kafka record headers

baggage routing-key=rk-73f19a62,team=alpha
ot-baggage-routing-key rk-73f19a62
traceparent 00-98d9b4b189dd8c46866dfced42cf6c01-94140033d0218e98-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-http--7a323953

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-29598b9e3ec37986a691af4131a177cc-a40e4b517b828434-03
test id
otel-dotnet--kafka-http--7a323953
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-4affdbec,team=alpha
ot-baggage-routing-key rk-4affdbec
traceparent 00-d04764407522a8446b2fd6f6656ba021-0d68ffa83628d548-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-grpc--94f74ba4

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-3c6f65d0c8beab991c86936a9e251789-a6904d8f218a0763-03
user-agent grpc-dotnet/2.85.0 (.NET 10.0.15; CLR 10.0.15; net10.0; linux; x64)
test id
otel-dotnet--kafka-grpc--94f74ba4
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-f498891d,team=alpha
ot-baggage-routing-key rk-f498891d
traceparent 00-c44fc6085157136b62018180603d5bb3-0f14674422f2e512-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-kafka--b48159ae

Observed at the sink on the outbound Kafka record headers

traceparent 00-7d87ded86584eec4a48875aea4c84e94-8518df068c12da08-03
test id
otel-dotnet--kafka-kafka--b48159ae
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-81a919fb,team=alpha
ot-baggage-routing-key rk-81a919fb
traceparent 00-6849a0d4318b735d4cb612957474a9c0-aa73023496ba994a-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-rabbitmq--e7deece9

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

traceparent 00-267878fab4850cdbd22d0c99f54838ba-0cad569d3253e001-03
test id
otel-dotnet--kafka-rabbitmq--e7deece9
raw statuses
baggage=absenttracestate=absenttraceparent=new_traceot_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-01be61fb,team=alpha
ot-baggage-routing-key rk-01be61fb
traceparent 00-ce8677a44e0fb573809807290c88ca15-30742949c753e9ba-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-http--e63078b7

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-ce8677a44e0fb573809807290c88ca15-2678a12a13143816-01
tracestate cptest=v1
test id
otel-dotnet--rabbitmq-http--e63078b7
raw statuses
baggage=absenttracestate=preservedtraceparent=same_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-f3e09c3d,team=alpha
ot-baggage-routing-key rk-f3e09c3d
traceparent 00-ed717c119544e8d596d4965ca12603b9-83983fc91622b4de-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-grpc--09f66fbb

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-ed717c119544e8d596d4965ca12603b9-1cf23b337dfd3772-01
tracestate cptest=v1
user-agent grpc-dotnet/2.85.0 (.NET 10.0.15; CLR 10.0.15; net10.0; linux; x64)
test id
otel-dotnet--rabbitmq-grpc--09f66fbb
raw statuses
baggage=absenttracestate=preservedtraceparent=same_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-472d5d45,team=alpha
ot-baggage-routing-key rk-472d5d45
traceparent 00-f4a6369d198e05e17761cfb107b34d5c-eb52fec7231e00bb-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-kafka--a7040275

Observed at the sink on the outbound Kafka record headers

traceparent 00-f4a6369d198e05e17761cfb107b34d5c-1b19a1852bb67c91-01
tracestate cptest=v1
test id
otel-dotnet--rabbitmq-kafka--a7040275
raw statuses
baggage=absenttracestate=preservedtraceparent=same_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-c08b5f01,team=alpha
ot-baggage-routing-key rk-c08b5f01
traceparent 00-d645a367024e424bf07f5860c406277f-c7c77eeb4f1236df-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-rabbitmq--e29f7faa

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

traceparent 00-d645a367024e424bf07f5860c406277f-db997fb50bf943ff-01
tracestate cptest=v1
test id
otel-dotnet--rabbitmq-rabbitmq--e29f7faa
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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