otel-dotnet

.NET zero-code OpenTelemetry.AutoInstrumentation1.12.0

attach CLR profiler env (OpenTelemetry.AutoInstrumentation)

30/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.12.0 1.12.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
1 Nov 2026, 03:47 UTC
Harness
e793604 · measured in backtest-otel-dotnet-1.12.0
Raw JSON
1.12.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-ff9fc40e,team=alpha
ot-baggage-routing-key rk-ff9fc40e
traceparent 00-c0287c57f283f05aee7ce3f38bdaf88e-bedf3044c88f4c58-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-http--c369b761

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-ff9fc40e,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-ff9fc40e, team=alpha
traceparent 00-c0287c57f283f05aee7ce3f38bdaf88e-d7e32fbad704cd9e-01
tracestate cptest=v1
test id
otel-dotnet--http-http--c369b761
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-5e3ee507,team=alpha
ot-baggage-routing-key rk-5e3ee507
traceparent 00-431ed7505e274e8fcf32903aa4fe5aaa-f28bace75f0aea29-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-grpc--a8ede1cd

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-5e3ee507,team=alpha
content-type application/grpc
correlation-context routing-key=rk-5e3ee507, team=alpha
grpc-accept-encoding identity,gzip,deflate
traceparent 00-431ed7505e274e8fcf32903aa4fe5aaa-46412500365fcf47-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--a8ede1cd
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-32ae6bcc,team=alpha
ot-baggage-routing-key rk-32ae6bcc
traceparent 00-c79a082eb2cd3bd8093d283cd4caba76-998e3e7d175e8917-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-kafka--36608579

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-32ae6bcc,team=alpha
traceparent 00-c79a082eb2cd3bd8093d283cd4caba76-51da1508875c9367-01
tracestate cptest=v1
test id
otel-dotnet--http-kafka--36608579
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-9dd9da75,team=alpha
ot-baggage-routing-key rk-9dd9da75
traceparent 00-865bfd461c408d9046c39a0eabc01f41-c3e4247952ab174c-01
tracestate cptest=v1
x-cp-canary otel-dotnet--http-rabbitmq--d86698bb

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

correlation-context routing-key=rk-9dd9da75, team=alpha
traceparent 00-865bfd461c408d9046c39a0eabc01f41-03de8a53496b7c95-01
tracestate cptest=v1
test id
otel-dotnet--http-rabbitmq--d86698bb
raw statuses
baggage=absenttracestate=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-342cfe55,team=alpha
ot-baggage-routing-key rk-342cfe55
traceparent 00-f4b77aa098a345ad17977a2f24508f9e-fa9ab7fd8a4b713b-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-http--ebe1eff1

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-342cfe55,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-342cfe55, team=alpha
traceparent 00-f4b77aa098a345ad17977a2f24508f9e-300b6b978383594f-01
tracestate cptest=v1
test id
otel-dotnet--grpc-http--ebe1eff1
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-3985ad63,team=alpha
ot-baggage-routing-key rk-3985ad63
traceparent 00-fb493c76abdfa9ada4fe804eca17ecc9-4f7ff432556dfd3b-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-grpc--40f21e3e

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-3985ad63,team=alpha
content-type application/grpc
correlation-context routing-key=rk-3985ad63, team=alpha
grpc-accept-encoding identity,gzip,deflate
traceparent 00-fb493c76abdfa9ada4fe804eca17ecc9-b435ce9207bef5e5-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--40f21e3e
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-c8b8dd78,team=alpha
ot-baggage-routing-key rk-c8b8dd78
traceparent 00-777d4201615cdab3b24bec38906bd5ec-e0a657b070db2477-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-kafka--d8433b1c

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-c8b8dd78,team=alpha
traceparent 00-777d4201615cdab3b24bec38906bd5ec-d3a8e57bf1197d22-01
tracestate cptest=v1
test id
otel-dotnet--grpc-kafka--d8433b1c
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-f7c2cba4,team=alpha
ot-baggage-routing-key rk-f7c2cba4
traceparent 00-d756b59b6e2b5b5e4e008025e3db6e98-3d8d76889fb0ee6f-01
tracestate cptest=v1
x-cp-canary otel-dotnet--grpc-rabbitmq--76d2ecd0

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

correlation-context routing-key=rk-f7c2cba4, team=alpha
traceparent 00-d756b59b6e2b5b5e4e008025e3db6e98-3106646135703c4b-01
tracestate cptest=v1
test id
otel-dotnet--grpc-rabbitmq--76d2ecd0
raw statuses
baggage=absenttracestate=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-4346b178,team=alpha
ot-baggage-routing-key rk-4346b178
traceparent 00-4bd2a675267489bc552ea2ad204b441e-01547c32f9528a68-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-http--121f4398

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-9922ba2d921b571de8aae261f1f28328-2ae49ce2729d385c-01
test id
otel-dotnet--kafka-http--121f4398
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-4114b9db,team=alpha
ot-baggage-routing-key rk-4114b9db
traceparent 00-b2079b80efc3e2d5fab608d9b88bc02f-07f59624a9766ee5-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-grpc--a3561c9c

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-8845369cf9b4ca6995949c21acf1906f-edc52c8beea5d6a2-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--a3561c9c
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-e8b6417b,team=alpha
ot-baggage-routing-key rk-e8b6417b
traceparent 00-0ef4249faa092a084a3fcee3840e43ae-c97237daf56ce380-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-kafka--449f39b3

Observed at the sink on the outbound Kafka record headers

traceparent 00-2bd6c19d8d9e090d041afec78746a4ae-efe7df9f1766b5da-01
test id
otel-dotnet--kafka-kafka--449f39b3
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-206ee0eb,team=alpha
ot-baggage-routing-key rk-206ee0eb
traceparent 00-9b7a390b3f00512306fe1fd304bf0007-808a9f06e0574f77-01
tracestate cptest=v1
x-cp-canary otel-dotnet--kafka-rabbitmq--f7ee7ce9

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

traceparent 00-eb7175854deef6e3676d72de52219f39-83b66d1a575c2c76-01
test id
otel-dotnet--kafka-rabbitmq--f7ee7ce9
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-a8768eac,team=alpha
ot-baggage-routing-key rk-a8768eac
traceparent 00-b54118046bc68319d4999aa4f719f2ff-2fef7352a2658a59-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-http--c9d97a70

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-b54118046bc68319d4999aa4f719f2ff-552b0eb4a8c422f9-01
tracestate cptest=v1
test id
otel-dotnet--rabbitmq-http--c9d97a70
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-b6a39af3,team=alpha
ot-baggage-routing-key rk-b6a39af3
traceparent 00-2a49ae6329dd96074ee4a465343902a0-80b8ac3ea6ebcceb-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-grpc--e2b2fcff

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-2a49ae6329dd96074ee4a465343902a0-e033584234ff9c7c-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--rabbitmq-grpc--e2b2fcff
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-e5100d22,team=alpha
ot-baggage-routing-key rk-e5100d22
traceparent 00-5c28f16fb989b271c81646688cf9e510-d8b067862d99908a-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-kafka--47eb2c0a

Observed at the sink on the outbound Kafka record headers

traceparent 00-5c28f16fb989b271c81646688cf9e510-0a4fc19a34bc7de8-01
tracestate cptest=v1
test id
otel-dotnet--rabbitmq-kafka--47eb2c0a
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-00893263,team=alpha
ot-baggage-routing-key rk-00893263
traceparent 00-0d93457a52f4f03a1f62e3394515c08f-d8a02d2ce1bafeb8-01
tracestate cptest=v1
x-cp-canary otel-dotnet--rabbitmq-rabbitmq--3c8806de

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

traceparent 00-0d93457a52f4f03a1f62e3394515c08f-d2f19436159f81c4-01
tracestate cptest=v1
test id
otel-dotnet--rabbitmq-rabbitmq--3c8806de
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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