elastic-dotnet

.NET zero-code elastic-apm-dotnet1.28.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.28.2 1.28.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, 08:03 UTC
Harness
9b99070 · measured in backtest-elastic-dotnet-1.28.2
Raw JSON
1.28.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-4e012397,team=alpha
ot-baggage-routing-key rk-4e012397
traceparent 00-340d8fe984d9185151493c0d9396ba27-887a602c4ae3c7d9-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-http--8a4526fa

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-4e012397,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-4e012397, team=alpha
elastic-apm-traceparent 00-340d8fe984d9185151493c0d9396ba27-6a27a799c03f8d4e-01
traceparent 00-340d8fe984d9185151493c0d9396ba27-6a27a799c03f8d4e-01
tracestate cptest=v1
test id
elastic-dotnet--http-http--8a4526fa
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-e1972e55,team=alpha
ot-baggage-routing-key rk-e1972e55
traceparent 00-f30bafb195bdaa46eb6a996420499ced-f1546b81cba2e2e8-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-grpc--4e0baafb

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-e1972e55,team=alpha
content-type application/grpc
correlation-context routing-key=rk-e1972e55, team=alpha
elastic-apm-traceparent 00-f30bafb195bdaa46eb6a996420499ced-8f289ec500bf4c31-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-f30bafb195bdaa46eb6a996420499ced-8f289ec500bf4c31-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--4e0baafb
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-96cd115b,team=alpha
ot-baggage-routing-key rk-96cd115b
traceparent 00-f14b665264d7386f1b22ecddd9e452e3-c817968fdd5aa338-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-kafka--c2817f38

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--http-kafka--c2817f38
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-af6058f8,team=alpha
ot-baggage-routing-key rk-af6058f8
traceparent 00-e14078618d0967cec79ddfbd00e8a563-2ceece192785c84d-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-rabbitmq--98569071

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

correlation-context routing-key=rk-af6058f8, team=alpha
traceparent 00-e14078618d0967cec79ddfbd00e8a563-9248d860dbbac96d-01
tracestate cptest=v1
test id
elastic-dotnet--http-rabbitmq--98569071
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-fe047717,team=alpha
ot-baggage-routing-key rk-fe047717
traceparent 00-0892fad4c4a428f225ebce8eb93688f4-802228d2547da240-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-http--ec86a6b8

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-fe047717,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-fe047717, team=alpha
elastic-apm-traceparent 00-0892fad4c4a428f225ebce8eb93688f4-5bc98c1c7f587887-01
traceparent 00-0892fad4c4a428f225ebce8eb93688f4-5bc98c1c7f587887-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-http--ec86a6b8
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-515568ee,team=alpha
ot-baggage-routing-key rk-515568ee
traceparent 00-e01ea81af716485c0011fb663c34bf2f-7a4a1dc3b1415e52-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-grpc--c33852ca

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-515568ee,team=alpha
content-type application/grpc
correlation-context routing-key=rk-515568ee, team=alpha
elastic-apm-traceparent 00-e01ea81af716485c0011fb663c34bf2f-65dc218c937cc19e-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-e01ea81af716485c0011fb663c34bf2f-65dc218c937cc19e-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--c33852ca
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-57a51b7f,team=alpha
ot-baggage-routing-key rk-57a51b7f
traceparent 00-7c9306307be4fe992d9a88d291f8cc9c-573158873c4502a8-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-kafka--2a5617f8

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--grpc-kafka--2a5617f8
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-69510db3,team=alpha
ot-baggage-routing-key rk-69510db3
traceparent 00-335b28f9da4599b39ae52fa9807939a4-184a26af496a68d7-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-rabbitmq--0923db35

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

correlation-context routing-key=rk-69510db3, team=alpha
traceparent 00-335b28f9da4599b39ae52fa9807939a4-e7ba2595565cd949-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-rabbitmq--0923db35
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-0eaddb7a,team=alpha
ot-baggage-routing-key rk-0eaddb7a
traceparent 00-f56c4c84f40bb68ca7321d8a418debeb-eb8b4a1fc9854dd9-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-http--7fcc21ca

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-84af46cf0ce2ec0b33d9bf1b0579417b-fbc4a7c564789c2b-00
test id
elastic-dotnet--kafka-http--7fcc21ca
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-2b995732,team=alpha
ot-baggage-routing-key rk-2b995732
traceparent 00-8ccd42e8234ba000fe82ef5053897349-4642e04b3fd8bdac-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-grpc--682f5945

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-ab461b485f7b81f1e2a7c346452938ca-522709677a15086e-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-ab461b485f7b81f1e2a7c346452938ca-522709677a15086e-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--682f5945
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-5af0cf64,team=alpha
ot-baggage-routing-key rk-5af0cf64
traceparent 00-420c230df438a5dba43ef84b26d0e932-4302cd8a74e186ec-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-kafka--a553c12b

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--kafka-kafka--a553c12b
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-0ff66432,team=alpha
ot-baggage-routing-key rk-0ff66432
traceparent 00-19fd9adf66e6c3b1660b34240a3c4b82-bc3b6acd962990d9-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-rabbitmq--c9ec2604

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

traceparent 00-f444670d13d08b57b75788d39a152cfb-70dc9317969d1987-01
tracestate es=s:1
test id
elastic-dotnet--kafka-rabbitmq--c9ec2604
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-4cc1b120,team=alpha
ot-baggage-routing-key rk-4cc1b120
traceparent 00-ef6edabc3baa33285993e6ff84213f9d-d70159224ebd6779-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-http--8f3c627d

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
elastic-apm-traceparent 00-ef6edabc3baa33285993e6ff84213f9d-2875f312a8b5046c-01
traceparent 00-ef6edabc3baa33285993e6ff84213f9d-2875f312a8b5046c-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-http--8f3c627d
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-5fccdcaf,team=alpha
ot-baggage-routing-key rk-5fccdcaf
traceparent 00-d253c4e4cd03784859007aa953b54d5d-ad856e1c2d08fa82-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-grpc--fdd8fd86

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-d253c4e4cd03784859007aa953b54d5d-00f0e2d6a553daa8-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-d253c4e4cd03784859007aa953b54d5d-00f0e2d6a553daa8-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--fdd8fd86
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-86d3d94a,team=alpha
ot-baggage-routing-key rk-86d3d94a
traceparent 00-1c45d3e731dbd8cc393d91adeb705c92-f86c57a9ee3bb441-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-kafka--7d3039ec

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--rabbitmq-kafka--7d3039ec
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-a704cf0e,team=alpha
ot-baggage-routing-key rk-a704cf0e
traceparent 00-d2e0f596c63c0171fa401a48b887cb08-ed4ffaabe45f185f-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-rabbitmq--f32db72b

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

traceparent 00-d2e0f596c63c0171fa401a48b887cb08-28b48b971f3764ae-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-rabbitmq--f32db72b
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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