elastic-dotnet

.NET zero-code elastic-apm-dotnet1.35.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.35.0 1.35.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:40 UTC
Harness
9b99070 · measured in backtest-elastic-dotnet-1.35.0
Raw JSON
1.35.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-911cd4a0,team=alpha
ot-baggage-routing-key rk-911cd4a0
traceparent 00-e82cef9a8feb65fadd804ec3fa1c5410-21b8959216f2b7cf-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-http--f4cb6bd8

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-911cd4a0,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-911cd4a0, team=alpha
elastic-apm-traceparent 00-e82cef9a8feb65fadd804ec3fa1c5410-34e2e023484b346e-01
traceparent 00-e82cef9a8feb65fadd804ec3fa1c5410-34e2e023484b346e-01
tracestate cptest=v1
test id
elastic-dotnet--http-http--f4cb6bd8
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-0d4fddf2,team=alpha
ot-baggage-routing-key rk-0d4fddf2
traceparent 00-1295572ac9ba67fd8405505a7b79760e-25e15505df8d30d6-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-grpc--dd60c006

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-0d4fddf2,team=alpha
content-type application/grpc
correlation-context routing-key=rk-0d4fddf2, team=alpha
elastic-apm-traceparent 00-1295572ac9ba67fd8405505a7b79760e-e5ce6356b6856472-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-1295572ac9ba67fd8405505a7b79760e-e5ce6356b6856472-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--dd60c006
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-3bbfda11,team=alpha
ot-baggage-routing-key rk-3bbfda11
traceparent 00-bc22cca78fe71ec0899fe014b16e203c-fac64c44a5c88dc1-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-kafka--f3fa939b

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--http-kafka--f3fa939b
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-b42ac0f7,team=alpha
ot-baggage-routing-key rk-b42ac0f7
traceparent 00-4aa2de5cc069066ea931d379be5685cb-a84cabddbeb73ceb-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-rabbitmq--60b9112b

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

correlation-context routing-key=rk-b42ac0f7, team=alpha
traceparent 00-4aa2de5cc069066ea931d379be5685cb-9227fbce8147fb7b-01
tracestate cptest=v1
test id
elastic-dotnet--http-rabbitmq--60b9112b
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-cebf7eb0,team=alpha
ot-baggage-routing-key rk-cebf7eb0
traceparent 00-20a493be4bbe0bafa93e886a2996e047-1ab628f70b05c7a3-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-http--153d449e

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-cebf7eb0,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-cebf7eb0, team=alpha
elastic-apm-traceparent 00-20a493be4bbe0bafa93e886a2996e047-b9709502333c5e7a-01
traceparent 00-20a493be4bbe0bafa93e886a2996e047-b9709502333c5e7a-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-http--153d449e
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-571ad33d,team=alpha
ot-baggage-routing-key rk-571ad33d
traceparent 00-eb10fe7260e84b6d1f4c88c18e3bd335-a1b2763a7033b99e-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-grpc--3b06d0dc

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-571ad33d,team=alpha
content-type application/grpc
correlation-context routing-key=rk-571ad33d, team=alpha
elastic-apm-traceparent 00-eb10fe7260e84b6d1f4c88c18e3bd335-1b80a2fa9b44f596-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-eb10fe7260e84b6d1f4c88c18e3bd335-1b80a2fa9b44f596-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--3b06d0dc
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-1b250570,team=alpha
ot-baggage-routing-key rk-1b250570
traceparent 00-39541161b580b4738d8ae2aa7a079ac1-9c7ed77a97b4e7e9-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-kafka--a694034c

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--grpc-kafka--a694034c
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-3ad87969,team=alpha
ot-baggage-routing-key rk-3ad87969
traceparent 00-5bcea3f8bfb94665c10c6ce477a4ee56-21029a0cab79e31d-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-rabbitmq--c2b84e5f

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

correlation-context routing-key=rk-3ad87969, team=alpha
traceparent 00-5bcea3f8bfb94665c10c6ce477a4ee56-e786bdebfe1c0a8a-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-rabbitmq--c2b84e5f
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-d5d21061,team=alpha
ot-baggage-routing-key rk-d5d21061
traceparent 00-0c09b996ce597e75fcfab16123766b4c-ef49206100f2d577-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-http--47394c6d

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-d9d12eb9a1cd325ef43be2448947c527-435eac253295afcf-00
test id
elastic-dotnet--kafka-http--47394c6d
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-7abb9e2a,team=alpha
ot-baggage-routing-key rk-7abb9e2a
traceparent 00-7ed360401196a48031c65d6f46ac67a0-1daf9710c7d9b63c-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-grpc--bf74675c

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-ea7a90e4bcce908f91532c349185ac71-4fcf49004b0298ea-00
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--bf74675c
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-b175bd64,team=alpha
ot-baggage-routing-key rk-b175bd64
traceparent 00-915675727cdd5c2c4cca883fcc2b0797-2e19237843a1bdaa-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-kafka--72ff74b6

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--kafka-kafka--72ff74b6
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-fab6e8de,team=alpha
ot-baggage-routing-key rk-fab6e8de
traceparent 00-28053aaee22d585d9be6b3baf0f5708f-4be4948f86818de8-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-rabbitmq--0e64875f

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

traceparent 00-51dd659768d44615161b202bdb269b22-845f7208b5167021-01
tracestate es=s:1
test id
elastic-dotnet--kafka-rabbitmq--0e64875f
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-206ea060,team=alpha
ot-baggage-routing-key rk-206ea060
traceparent 00-20dc8e4bacd5cb50f1984abaec839ba2-2558e1bb11eac5a4-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-http--6e2cd126

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
elastic-apm-traceparent 00-20dc8e4bacd5cb50f1984abaec839ba2-1e0d7c920458e626-01
traceparent 00-20dc8e4bacd5cb50f1984abaec839ba2-1e0d7c920458e626-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-http--6e2cd126
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-aa2b0987,team=alpha
ot-baggage-routing-key rk-aa2b0987
traceparent 00-c58650c33b0babf6eb08a2616667a83f-59153deedde85df2-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-grpc--459bef48

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-c58650c33b0babf6eb08a2616667a83f-645c7abd91d9a938-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-c58650c33b0babf6eb08a2616667a83f-645c7abd91d9a938-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--459bef48
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-6319885d,team=alpha
ot-baggage-routing-key rk-6319885d
traceparent 00-89d99d9b1bb3d631b4be46b2e9c3a26b-f6c7abd9744b7275-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-kafka--531708aa

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--rabbitmq-kafka--531708aa
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-1fe9f99e,team=alpha
ot-baggage-routing-key rk-1fe9f99e
traceparent 00-d67ac09aaf32ed999f25423009773b50-e7bf413fc43fdb64-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-rabbitmq--84ce782e

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

traceparent 00-d67ac09aaf32ed999f25423009773b50-a2f8cd6734a6eb9e-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-rabbitmq--84ce782e
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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