elastic-dotnet

.NET zero-code elastic-apm-dotnet1.34.0

attach CLR profiler env (Elastic.Apm.Profiler.Managed)

22/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

Elastic APM and New Relic have no OpenTracing-era ot-baggage-* propagation

by-design ot-baggage-* is a legacy OpenTracing convention; Elastic APM and New Relic each define their propagation header set without it and offer no option that adds it.

The seeded ot-baggage-routing-key header is neither extracted nor re-emitted by any Elastic or New Relic variant on any delivered boundary. Neither tool writes the OpenTracing header format: Elastic's agent spec defines traceparent, tracestate, baggage and the binary elasticapmtraceparent; New Relic's distributed-tracing model is traceparent, tracestate and the vendor newrelic header. Neither documents a setting that adds ot-baggage-*.

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). Where a tool propagates W3C baggage, the same values travel there instead.

16 cells affected

ot-baggage-not-implemented

Elastic .NET: Kafka instrumentation exists only in the CLR-profiler deployment, not the startup hook

by-design The startup-hook zero-code deployment covers neither Kafka nor RabbitMQ; the profiler that does is x64-only and caps at Confluent.Kafka <3.0.0.

elastic-apm-dotnet 1.34.7 with the startup-hook zero-code deployment passes HTTP and gRPC including baggage. Kafka and RabbitMQ are the only rows in the profiler docs' technology table without the startup-hook marker: the agent's own messaging instrumentation exists only in the CLR-profiler deployment, which is x64-only on Windows and Linux ("ARM and 32-bit processes are not supported") and even then caps at Confluent.Kafka >=1.4.0 <3.0.0 and RabbitMQ.Client >=3.6.9 <7.0.0.

Confluent.Kafka has no native ActivitySource for the agent's OpenTelemetry bridge to pick up, so Kafka measures fully absent: *->kafka injects nothing and kafka->* starts a new trace. (RabbitMQ trace context still flows via RabbitMQ.Client 7.x's native ActivitySource; see elastic-dotnet-rabbitmq-native-no-baggage for the baggage half.)

Workaround: inject/extract traceparent/tracestate manually around Confluent.Kafka produce and consume using the agent's public API.

21 cells affected

elastic-dotnet-kafka-profiler-deployment-only

Elastic .NET: RabbitMQ trace context flows via the client's native ActivitySource, but consume drops baggage

open The Elastic agent has no RabbitMQ.Client 7 instrumentation; the client's own default consume path restores trace id and tracestate only, never baggage.

*->rabbitmq injection and rabbitmq->* continuation both pass for traceparent/tracestate on elastic-apm-dotnet 1.36.0. The agent's own RabbitMQ instrumentation is profiler-only and caps at RabbitMQ.Client <7.0.0; these legs pass because RabbitMQ.Client 7.x ships native ActivitySource instrumentation (PR #1261) that the agent's OpenTelemetry bridge picks up.

Baggage is split by direction. On publish it passes: http->rabbitmq and grpc->rabbitmq deliver the seeded baggage in the AMQP headers (re-spaced as key = value, key = value, which the scoring accepts). It was absent on those legs until run-2026-11-10.5, the first run on .NET 10 with the agent unchanged at 1.36.0 (previously .NET 8). On consume it does not: on rabbitmq->* the trace and tracestate continue but no baggage header is sent onward. The native consume path cannot restore it: its DefaultContextExtractor calls ExtractTraceIdAndState(...) only. Baggage was addressed via an opt-in package (PR #1528) that has never shipped stable (#1728, open since Nov 2024). Workaround: read baggage from the AMQP message properties yourself in the consumer.

3 cells affected

elastic-dotnet-rabbitmq-native-no-baggage

Versions measured

Tracer
elastic/apm-agent-dotnet 1.34.0 1.34.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 (Elastic.Apm.Profiler.Managed)
Relay source
relays/dotnet
Ran at
9 Nov 2026, 19:47 UTC
Harness
9b99070 · measured in backtest-elastic-dotnet-1.34.0
Raw JSON
1.34.0.json → variants[id = "elastic-dotnet"]

Libraries

grpcGrpc.AspNetCore + Grpc.Net.Client 2.83.0
httpHttpClient
kafkaConfluent.Kafka 2.14.2
rabbitmqRabbitMQ.Client 7.2.2

Configuration

Library defaults: no propagation-related environment set.

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-896e8950,team=alpha
ot-baggage-routing-key rk-896e8950
traceparent 00-67e48e4d6b1a57296ad893a075a8db3e-9b1520f1c48dea07-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-http--76b5bddc

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-896e8950,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-896e8950, team=alpha
elastic-apm-traceparent 00-67e48e4d6b1a57296ad893a075a8db3e-5609be4116100fb2-01
traceparent 00-67e48e4d6b1a57296ad893a075a8db3e-5609be4116100fb2-01
tracestate cptest=v1
test id
elastic-dotnet--http-http--76b5bddc
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-5c8000b6,team=alpha
ot-baggage-routing-key rk-5c8000b6
traceparent 00-0476262d4eca9fa2b2d3fb12c86ecb1e-0135f2ad264c605a-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-grpc--1e2ec457

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-5c8000b6,team=alpha
content-type application/grpc
correlation-context routing-key=rk-5c8000b6, team=alpha
elastic-apm-traceparent 00-0476262d4eca9fa2b2d3fb12c86ecb1e-09a71222f2436cf6-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-0476262d4eca9fa2b2d3fb12c86ecb1e-09a71222f2436cf6-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
elastic-dotnet--http-grpc--1e2ec457
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-fed84086,team=alpha
ot-baggage-routing-key rk-fed84086
traceparent 00-36b92dffba685635de3198497c4ced50-3a268db7529b6603-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-kafka--15ea2d0b

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--http-kafka--15ea2d0b
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-e6245af2,team=alpha
ot-baggage-routing-key rk-e6245af2
traceparent 00-12fdfc076dbe8d01c5cbf542efc6efcb-8707268999e3481f-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-rabbitmq--c9b53eed

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

correlation-context routing-key=rk-e6245af2, team=alpha
traceparent 00-12fdfc076dbe8d01c5cbf542efc6efcb-a26214effa631b72-01
tracestate cptest=v1
test id
elastic-dotnet--http-rabbitmq--c9b53eed
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-4e438037,team=alpha
ot-baggage-routing-key rk-4e438037
traceparent 00-5913f15820788ab9c0d545359e9783c7-45870c9679864d07-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-http--12003df6

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-4e438037,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-4e438037, team=alpha
elastic-apm-traceparent 00-5913f15820788ab9c0d545359e9783c7-634507c6d0e2dc1c-01
traceparent 00-5913f15820788ab9c0d545359e9783c7-634507c6d0e2dc1c-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-http--12003df6
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-0d0c5233,team=alpha
ot-baggage-routing-key rk-0d0c5233
traceparent 00-2d15c76afb0bb9a48dfe36680fdc0b08-292d5299d50eaf13-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-grpc--45a8302b

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-0d0c5233,team=alpha
content-type application/grpc
correlation-context routing-key=rk-0d0c5233, team=alpha
elastic-apm-traceparent 00-2d15c76afb0bb9a48dfe36680fdc0b08-55480532ed0a2105-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-2d15c76afb0bb9a48dfe36680fdc0b08-55480532ed0a2105-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
elastic-dotnet--grpc-grpc--45a8302b
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-4b2f2989,team=alpha
ot-baggage-routing-key rk-4b2f2989
traceparent 00-fdcca64be3cf14ba8447c68666e41b6b-d100abea88f4a3db-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-kafka--f951bec3

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--grpc-kafka--f951bec3
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-60ab48ad,team=alpha
ot-baggage-routing-key rk-60ab48ad
traceparent 00-7e7da23abcf0339cef972848674505a0-33b1e0665d4ce6fd-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-rabbitmq--bef927e3

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

correlation-context routing-key=rk-60ab48ad, team=alpha
traceparent 00-7e7da23abcf0339cef972848674505a0-9bb69ae5370e196f-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-rabbitmq--bef927e3
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-ef19646f,team=alpha
ot-baggage-routing-key rk-ef19646f
traceparent 00-027fd3078be4719c72982487d72fe19a-6e3e80a095b515f9-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-http--4067886f

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-c951f7ef684b7764904b6456d7ce899e-0bf40a72d3bbabc0-00
test id
elastic-dotnet--kafka-http--4067886f
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-09db0d08,team=alpha
ot-baggage-routing-key rk-09db0d08
traceparent 00-f18e4311d5e58910e3844cfa91878bf7-ffda970b8c4b7549-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-grpc--f529a25a

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-53ea6c4cc9c04a1230a4135add614d4e-83f32284adc9bedd-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-53ea6c4cc9c04a1230a4135add614d4e-83f32284adc9bedd-01
tracestate es=s:1
user-agent grpc-dotnet/2.83.0 (.NET 8.0.33; CLR 8.0.33; net8.0; linux; x64)
test id
elastic-dotnet--kafka-grpc--f529a25a
raw statuses
baggage=absenttracestate=present_entry_losttraceparent=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-d6c4723a,team=alpha
ot-baggage-routing-key rk-d6c4723a
traceparent 00-5a6e4e8ae25cafe1a615af17c8c22b89-219d44648f44a19e-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-kafka--03a305cb

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--kafka-kafka--03a305cb
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-8eaf969a,team=alpha
ot-baggage-routing-key rk-8eaf969a
traceparent 00-da4fbe3551dfc547220e980445027434-621b183afa1b75dd-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-rabbitmq--25068afa

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

traceparent 00-1426b458cde9870e7340a3f093963795-2c847e826f1f838e-01
tracestate es=s:1
test id
elastic-dotnet--kafka-rabbitmq--25068afa
raw statuses
baggage=absenttracestate=present_entry_losttraceparent=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-ca7e69bd,team=alpha
ot-baggage-routing-key rk-ca7e69bd
traceparent 00-39b793e6bfa138a6785d45d7a16a48d7-4c1e1fdf2db6d30a-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-http--0bc919c6

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
elastic-apm-traceparent 00-39b793e6bfa138a6785d45d7a16a48d7-27d4fed168ae5640-01
traceparent 00-39b793e6bfa138a6785d45d7a16a48d7-27d4fed168ae5640-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-http--0bc919c6
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-69e5bb3b,team=alpha
ot-baggage-routing-key rk-69e5bb3b
traceparent 00-e99ef600490ba1afd8902edf8dad5f84-8e73b340971efba2-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-grpc--de838982

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-e99ef600490ba1afd8902edf8dad5f84-c72f869f7a50b91e-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-e99ef600490ba1afd8902edf8dad5f84-c72f869f7a50b91e-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
elastic-dotnet--rabbitmq-grpc--de838982
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-da94701f,team=alpha
ot-baggage-routing-key rk-da94701f
traceparent 00-c15a12f3b3f5d79018f6213243032b97-16891cba776cbdd7-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-kafka--1d2e0d61

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--rabbitmq-kafka--1d2e0d61
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-6cb27c62,team=alpha
ot-baggage-routing-key rk-6cb27c62
traceparent 00-f5374f4fe752042668f065c50672c10f-8bbed6f22c2a2eb3-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-rabbitmq--1201619f

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

traceparent 00-f5374f4fe752042668f065c50672c10f-5b515f2c75823680-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-rabbitmq--1201619f
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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