elastic-dotnet

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

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.25.3 1.25.3 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
10 Nov 2026, 10:07 UTC
Harness
374f21d · measured in backtest-elastic-dotnet-1.25.3
Raw JSON
1.25.3.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-b5dbc6f3,team=alpha
ot-baggage-routing-key rk-b5dbc6f3
traceparent 00-305761dad6658f56b9a6201e72cfd42c-82ec15deda840d54-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-http--22e8cda1

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-b5dbc6f3,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-b5dbc6f3, team=alpha
elastic-apm-traceparent 00-305761dad6658f56b9a6201e72cfd42c-9501a552b1e5b463-01
traceparent 00-305761dad6658f56b9a6201e72cfd42c-9501a552b1e5b463-01
tracestate cptest=v1
test id
elastic-dotnet--http-http--22e8cda1
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-b8ac533c,team=alpha
ot-baggage-routing-key rk-b8ac533c
traceparent 00-2562330f8b53ece736a6bc7f99a64f2d-8065722a9faf2c57-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-grpc--b4aead87

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-b8ac533c,team=alpha
content-type application/grpc
correlation-context routing-key=rk-b8ac533c, team=alpha
elastic-apm-traceparent 00-2562330f8b53ece736a6bc7f99a64f2d-61e05a2875810b1c-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-2562330f8b53ece736a6bc7f99a64f2d-61e05a2875810b1c-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--b4aead87
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-f8885d3a,team=alpha
ot-baggage-routing-key rk-f8885d3a
traceparent 00-6476de853bc4cbef38dcc3d2710b1509-0e72b93aba64b160-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-kafka--0dd4b817

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--http-kafka--0dd4b817
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-32714a28,team=alpha
ot-baggage-routing-key rk-32714a28
traceparent 00-67103584b9337f4f013248fc16a94409-5c1e200101b56d12-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-rabbitmq--513a574e

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

correlation-context routing-key=rk-32714a28, team=alpha
traceparent 00-67103584b9337f4f013248fc16a94409-6fe7f399dcf1335b-01
tracestate cptest=v1
test id
elastic-dotnet--http-rabbitmq--513a574e
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-6a5fe6ca,team=alpha
ot-baggage-routing-key rk-6a5fe6ca
traceparent 00-08a7112edfca2a516f6c9f4a3b603643-32d6af15bf13d23f-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-http--fd5dac89

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-6a5fe6ca,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-6a5fe6ca, team=alpha
elastic-apm-traceparent 00-08a7112edfca2a516f6c9f4a3b603643-bcf5324688257633-01
traceparent 00-08a7112edfca2a516f6c9f4a3b603643-bcf5324688257633-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-http--fd5dac89
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-8d4f64b4,team=alpha
ot-baggage-routing-key rk-8d4f64b4
traceparent 00-4b14e92dc07ef32673a8b9a40982fae6-7fefb6f4c3d66668-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-grpc--8039dbc6

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-8d4f64b4,team=alpha
content-type application/grpc
correlation-context routing-key=rk-8d4f64b4, team=alpha
elastic-apm-traceparent 00-4b14e92dc07ef32673a8b9a40982fae6-9bda989e8e4045f2-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-4b14e92dc07ef32673a8b9a40982fae6-9bda989e8e4045f2-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--8039dbc6
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-8beb9af5,team=alpha
ot-baggage-routing-key rk-8beb9af5
traceparent 00-20a242e6f90997cd07b24519ea546446-0f2c6c1c2acd3553-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-kafka--17702144

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--grpc-kafka--17702144
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-9b73860d,team=alpha
ot-baggage-routing-key rk-9b73860d
traceparent 00-fe54a56092fdee8a26f2d64a7227364b-67233c436e146e95-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-rabbitmq--799244c9

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

correlation-context routing-key=rk-9b73860d, team=alpha
traceparent 00-fe54a56092fdee8a26f2d64a7227364b-91a491618da0b610-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-rabbitmq--799244c9
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-3921debd,team=alpha
ot-baggage-routing-key rk-3921debd
traceparent 00-acc51e5da9132c9989a5b4a0d2581768-41d6ee1db4170b1d-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-http--78450f60

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-84d15b83d1455d7a2ace6072ffc6a9e4-99af516f0ae69330-00
test id
elastic-dotnet--kafka-http--78450f60
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-1b15b4f6,team=alpha
ot-baggage-routing-key rk-1b15b4f6
traceparent 00-9a0a0f0abaf25baefb61373e212041f7-b024e6bd13f2f5a7-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-grpc--9f03b41f

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-f5a3574ece135510fee6380bea481e4c-0e6c5a75950e7deb-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-f5a3574ece135510fee6380bea481e4c-0e6c5a75950e7deb-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--9f03b41f
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-2acd3ddf,team=alpha
ot-baggage-routing-key rk-2acd3ddf
traceparent 00-97296db072397c441b9588f7ad8484e7-74d4454953997da5-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-kafka--f8680072

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--kafka-kafka--f8680072
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-ab62139a,team=alpha
ot-baggage-routing-key rk-ab62139a
traceparent 00-7f1989199130a309963beb14c17e071e-a8292136d11bfdf2-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-rabbitmq--8ea4a1fd

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

traceparent 00-08d89dd7a5f4cf92784763b1adcf7c3c-e26136c9fde14c0b-01
tracestate es=s:1
test id
elastic-dotnet--kafka-rabbitmq--8ea4a1fd
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-d36d5a2a,team=alpha
ot-baggage-routing-key rk-d36d5a2a
traceparent 00-ae1fbb4388aa0581a96d92495581bb43-37a860dd13723b2b-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-http--93477ea9

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
elastic-apm-traceparent 00-ae1fbb4388aa0581a96d92495581bb43-72b1d518ccfd2710-01
traceparent 00-ae1fbb4388aa0581a96d92495581bb43-72b1d518ccfd2710-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-http--93477ea9
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-e9f7f789,team=alpha
ot-baggage-routing-key rk-e9f7f789
traceparent 00-dd015fd19da62cbef4da036f0d819e27-20f8396040805e21-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-grpc--bcd2db10

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-dd015fd19da62cbef4da036f0d819e27-ec69a499c4625559-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-dd015fd19da62cbef4da036f0d819e27-ec69a499c4625559-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--bcd2db10
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-b83bc328,team=alpha
ot-baggage-routing-key rk-b83bc328
traceparent 00-c383db04effeb8212c68eb11dba920e0-13f877cfa5004806-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-kafka--cfe11703

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--rabbitmq-kafka--cfe11703
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-33f7c275,team=alpha
ot-baggage-routing-key rk-33f7c275
traceparent 00-9af38bcd163023fa97e34b1e9f8bf3e7-9dec0078af8a6d9f-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-rabbitmq--3efee42b

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

traceparent 00-9af38bcd163023fa97e34b1e9f8bf3e7-6fc133d34f9876f8-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-rabbitmq--3efee42b
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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