elastic-dotnet

.NET zero-code elastic-apm-dotnet1.28.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.28.0 1.28.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
10 Nov 2026, 08:26 UTC
Harness
9b99070 · measured in backtest-elastic-dotnet-1.28.0
Raw JSON
1.28.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-02c5892c,team=alpha
ot-baggage-routing-key rk-02c5892c
traceparent 00-9fc11cccfa7c0bc8cb06e61a3ae1a559-4704e8b0b38962f4-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-http--07b46b35

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-02c5892c,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-02c5892c, team=alpha
elastic-apm-traceparent 00-9fc11cccfa7c0bc8cb06e61a3ae1a559-2812ba774b77fd14-01
traceparent 00-9fc11cccfa7c0bc8cb06e61a3ae1a559-2812ba774b77fd14-01
tracestate cptest=v1
test id
elastic-dotnet--http-http--07b46b35
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-f7af325c,team=alpha
ot-baggage-routing-key rk-f7af325c
traceparent 00-54428e70295a2566cd3c61e9d64bf559-0db132b39d7372ec-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-grpc--e9c9aa32

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-f7af325c,team=alpha
content-type application/grpc
correlation-context routing-key=rk-f7af325c, team=alpha
elastic-apm-traceparent 00-54428e70295a2566cd3c61e9d64bf559-5e71cabcea3fafb9-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-54428e70295a2566cd3c61e9d64bf559-5e71cabcea3fafb9-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--e9c9aa32
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-64a8c773,team=alpha
ot-baggage-routing-key rk-64a8c773
traceparent 00-dc07d170893531c9a00b3a6e604a86e5-912737389bd4bd79-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-kafka--cbbd05d5

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--http-kafka--cbbd05d5
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-9fe4057b,team=alpha
ot-baggage-routing-key rk-9fe4057b
traceparent 00-0c53ada4ab5795fad2e8b27e4a1b5aa5-ee425805c937aa5d-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-rabbitmq--b5b288fc

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

correlation-context routing-key=rk-9fe4057b, team=alpha
traceparent 00-0c53ada4ab5795fad2e8b27e4a1b5aa5-9bbb15b682f64372-01
tracestate cptest=v1
test id
elastic-dotnet--http-rabbitmq--b5b288fc
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-6c6ed303,team=alpha
ot-baggage-routing-key rk-6c6ed303
traceparent 00-79dcd0eac789345f1ecebec8382e6a2a-4e09644b6ea67d61-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-http--4545c0cd

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-6c6ed303,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-6c6ed303, team=alpha
elastic-apm-traceparent 00-79dcd0eac789345f1ecebec8382e6a2a-e6263f0a94256cbd-01
traceparent 00-79dcd0eac789345f1ecebec8382e6a2a-e6263f0a94256cbd-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-http--4545c0cd
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-a447897a,team=alpha
ot-baggage-routing-key rk-a447897a
traceparent 00-a3625f42a77d42a0ef8282df362c24cf-d4497412d2b98003-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-grpc--ac5b42c9

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-a447897a,team=alpha
content-type application/grpc
correlation-context routing-key=rk-a447897a, team=alpha
elastic-apm-traceparent 00-a3625f42a77d42a0ef8282df362c24cf-b75bb4ec1df70f33-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-a3625f42a77d42a0ef8282df362c24cf-b75bb4ec1df70f33-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--ac5b42c9
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-6df72980,team=alpha
ot-baggage-routing-key rk-6df72980
traceparent 00-e2e5ea6eb6eb655e143032399a942396-2dd00feaa5c99e62-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-kafka--96d46a20

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--grpc-kafka--96d46a20
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-c80a1b4a,team=alpha
ot-baggage-routing-key rk-c80a1b4a
traceparent 00-14e809046b2cda2fea2bdc1f92ee7bd1-d9e491d5779df9e0-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-rabbitmq--763d9a34

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

correlation-context routing-key=rk-c80a1b4a, team=alpha
traceparent 00-14e809046b2cda2fea2bdc1f92ee7bd1-3b47a15b10aae610-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-rabbitmq--763d9a34
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-c5320b4f,team=alpha
ot-baggage-routing-key rk-c5320b4f
traceparent 00-0eb4be7b13247f9fe02039767e093404-b7c442f8a6aa7b31-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-http--8cb26153

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-c73460751cc260124e64b66e01e76f0b-80f36596073ef174-00
test id
elastic-dotnet--kafka-http--8cb26153
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-e1a49b49,team=alpha
ot-baggage-routing-key rk-e1a49b49
traceparent 00-28445e74aeaf92594224945b7916cfd5-0b0e5827629e07b1-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-grpc--9b933d84

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-374d7578f0aa7c152deb1c91ec5a3adf-d70651d2872700bd-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-374d7578f0aa7c152deb1c91ec5a3adf-d70651d2872700bd-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--9b933d84
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-b051f0ce,team=alpha
ot-baggage-routing-key rk-b051f0ce
traceparent 00-3c149131159b3dcc7b92c511398214c4-23e05fae592427e2-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-kafka--7d611636

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--kafka-kafka--7d611636
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-b1e5a559,team=alpha
ot-baggage-routing-key rk-b1e5a559
traceparent 00-ab5c1553a36a4489e5700940e62b3df1-efa7a8fbbb96d2bd-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-rabbitmq--acf8291e

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

traceparent 00-3981013f6592f56d1500c10a578b20ef-055fd9fe2627ba7b-01
tracestate es=s:1
test id
elastic-dotnet--kafka-rabbitmq--acf8291e
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-0b70b43f,team=alpha
ot-baggage-routing-key rk-0b70b43f
traceparent 00-bbbc1fdc094b9e285210b16d855ed32b-ae8dee88cabd320e-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-http--d0a68ce3

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
elastic-apm-traceparent 00-bbbc1fdc094b9e285210b16d855ed32b-852612a0b8cbfd36-01
traceparent 00-bbbc1fdc094b9e285210b16d855ed32b-852612a0b8cbfd36-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-http--d0a68ce3
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-5c833f90,team=alpha
ot-baggage-routing-key rk-5c833f90
traceparent 00-c66889c39c4d329c76b83f48e7bed476-470ae0117487a523-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-grpc--eb65cf42

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-c66889c39c4d329c76b83f48e7bed476-9776866b8e5ee7e1-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-c66889c39c4d329c76b83f48e7bed476-9776866b8e5ee7e1-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--eb65cf42
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-1ce52f71,team=alpha
ot-baggage-routing-key rk-1ce52f71
traceparent 00-62acd6c33153a2ab94a17a132d7cea1d-be340413d32d5abd-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-kafka--48e07aa9

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--rabbitmq-kafka--48e07aa9
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-f595ba97,team=alpha
ot-baggage-routing-key rk-f595ba97
traceparent 00-39ff77a4b93d1a4420eb1d5a17c63a63-27d0ed5d5c55a18b-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-rabbitmq--4c979f9e

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

traceparent 00-39ff77a4b93d1a4420eb1d5a17c63a63-b72f72cf8e84de90-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-rabbitmq--4c979f9e
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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