elastic-dotnet

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

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.2 1.25.2 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:10 UTC
Harness
374f21d · measured in backtest-elastic-dotnet-1.25.2
Raw JSON
1.25.2.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-3586f5aa,team=alpha
ot-baggage-routing-key rk-3586f5aa
traceparent 00-558d2e8c59d57a982c67e3f0e6033719-153350ceb564e23d-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-http--b7411794

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-3586f5aa,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-3586f5aa, team=alpha
elastic-apm-traceparent 00-558d2e8c59d57a982c67e3f0e6033719-11460c7711b8b87d-01
traceparent 00-558d2e8c59d57a982c67e3f0e6033719-11460c7711b8b87d-01
tracestate cptest=v1
test id
elastic-dotnet--http-http--b7411794
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-36ce4d94,team=alpha
ot-baggage-routing-key rk-36ce4d94
traceparent 00-33f198812e448657e3832f13d7c7f267-0c738de96a27e164-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-grpc--7f235940

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-36ce4d94,team=alpha
content-type application/grpc
correlation-context routing-key=rk-36ce4d94, team=alpha
elastic-apm-traceparent 00-33f198812e448657e3832f13d7c7f267-65da5c662dee0bf7-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-33f198812e448657e3832f13d7c7f267-65da5c662dee0bf7-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--7f235940
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-3badbc0a,team=alpha
ot-baggage-routing-key rk-3badbc0a
traceparent 00-512a821c757e13e534a52be45dfc5ed1-b615cfd0384d5a34-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-kafka--7225731f

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--http-kafka--7225731f
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-eac239ae,team=alpha
ot-baggage-routing-key rk-eac239ae
traceparent 00-13ddc902d10dbdf17cfa5518cd3e946a-d361b5c5073f026f-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-rabbitmq--99306ca0

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

correlation-context routing-key=rk-eac239ae, team=alpha
traceparent 00-13ddc902d10dbdf17cfa5518cd3e946a-ea81d4e756271495-01
tracestate cptest=v1
test id
elastic-dotnet--http-rabbitmq--99306ca0
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-4e500317,team=alpha
ot-baggage-routing-key rk-4e500317
traceparent 00-d7062754f7aee45970dd7cab78d73034-cdc756b485688c15-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-http--321fda04

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-4e500317,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-4e500317, team=alpha
elastic-apm-traceparent 00-d7062754f7aee45970dd7cab78d73034-f605e5efcc4a99b0-01
traceparent 00-d7062754f7aee45970dd7cab78d73034-f605e5efcc4a99b0-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-http--321fda04
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-0736c405,team=alpha
ot-baggage-routing-key rk-0736c405
traceparent 00-029b8548b7294822c1f59e70f43770b6-f78ca34595a5db32-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-grpc--25bf2155

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-0736c405,team=alpha
content-type application/grpc
correlation-context routing-key=rk-0736c405, team=alpha
elastic-apm-traceparent 00-029b8548b7294822c1f59e70f43770b6-b7d6345caa253082-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-029b8548b7294822c1f59e70f43770b6-b7d6345caa253082-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--25bf2155
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-76a28939,team=alpha
ot-baggage-routing-key rk-76a28939
traceparent 00-137d3389e9bc017198b53bdc9155032f-1138b59d555ca997-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-kafka--422e1003

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--grpc-kafka--422e1003
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-1a7a10c1,team=alpha
ot-baggage-routing-key rk-1a7a10c1
traceparent 00-ebf6c787c4a8072e883974b07e46e579-93c08ae5f9bc1aeb-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-rabbitmq--e61e25ee

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

correlation-context routing-key=rk-1a7a10c1, team=alpha
traceparent 00-ebf6c787c4a8072e883974b07e46e579-7eac69fba009e0c3-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-rabbitmq--e61e25ee
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-1068b445,team=alpha
ot-baggage-routing-key rk-1068b445
traceparent 00-77ac7dc0fad9726813d130bb68e08604-9c373d0a159ce8e5-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-http--5f2ec7da

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-ca295d0267b330447d5674f9fc6c161d-9ce32d1c1a827d47-00
test id
elastic-dotnet--kafka-http--5f2ec7da
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-f735335c,team=alpha
ot-baggage-routing-key rk-f735335c
traceparent 00-6a200a0b4e26b2e9783be99b53d8bb1a-ce2687f0f1602db9-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-grpc--db38f248

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-373f9622265dd0932afa337f773c1aa1-c079e28d1f2e5015-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-373f9622265dd0932afa337f773c1aa1-c079e28d1f2e5015-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--db38f248
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-0f41aeb6,team=alpha
ot-baggage-routing-key rk-0f41aeb6
traceparent 00-284d4b5d2e28be5f2ba4ff2c765e0929-1d2f72fb54e3ac27-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-kafka--2dc203bc

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--kafka-kafka--2dc203bc
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-a6d02560,team=alpha
ot-baggage-routing-key rk-a6d02560
traceparent 00-038882beafec10f79d9653182386179c-f027805bcec132b0-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-rabbitmq--3e20b835

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

traceparent 00-e519497a85cb4d5c32ae499dd7c69340-d3b68ebc143b01dc-01
tracestate es=s:1
test id
elastic-dotnet--kafka-rabbitmq--3e20b835
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-9ca50db7,team=alpha
ot-baggage-routing-key rk-9ca50db7
traceparent 00-4b29d5a8d3a67be9f6ac75e98e414edf-520eaed1267bdbba-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-http--5a3a7750

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
elastic-apm-traceparent 00-4b29d5a8d3a67be9f6ac75e98e414edf-75de6b584c150ad0-01
traceparent 00-4b29d5a8d3a67be9f6ac75e98e414edf-75de6b584c150ad0-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-http--5a3a7750
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-686b8623,team=alpha
ot-baggage-routing-key rk-686b8623
traceparent 00-cb95e6d33a5f4f2947db4de953a15ce4-51652e7557acfa5c-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-grpc--31ff33cf

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-cb95e6d33a5f4f2947db4de953a15ce4-2b47ae385abcb67a-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-cb95e6d33a5f4f2947db4de953a15ce4-2b47ae385abcb67a-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--31ff33cf
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-92fb2f72,team=alpha
ot-baggage-routing-key rk-92fb2f72
traceparent 00-09f92a32b9dc45b2dd18f622570b81cc-e64a658dc285ef9a-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-kafka--c8cad17a

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--rabbitmq-kafka--c8cad17a
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-61184d70,team=alpha
ot-baggage-routing-key rk-61184d70
traceparent 00-253777a6f3ea622cac24bc1eb9bde228-b2d50537c804e4cf-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-rabbitmq--a0355d48

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

traceparent 00-253777a6f3ea622cac24bc1eb9bde228-792b2adde4ddc860-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-rabbitmq--a0355d48
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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