elastic-dotnet

.NET zero-code elastic-apm-dotnet1.27.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.27.3 1.27.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, 08:29 UTC
Harness
9b99070 · measured in backtest-elastic-dotnet-1.27.3
Raw JSON
1.27.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-e53ff83f,team=alpha
ot-baggage-routing-key rk-e53ff83f
traceparent 00-2b222e8b0b65cd27322c55427049b572-d2fad959f9e27d9c-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-http--5842b46b

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-e53ff83f,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-e53ff83f, team=alpha
elastic-apm-traceparent 00-2b222e8b0b65cd27322c55427049b572-c8c49eb89d07186b-01
traceparent 00-2b222e8b0b65cd27322c55427049b572-c8c49eb89d07186b-01
tracestate cptest=v1
test id
elastic-dotnet--http-http--5842b46b
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-740d67bb,team=alpha
ot-baggage-routing-key rk-740d67bb
traceparent 00-e03ceba945525be97d1114a9945cd85f-9c856c90985e6f85-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-grpc--bc28539c

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-740d67bb,team=alpha
content-type application/grpc
correlation-context routing-key=rk-740d67bb, team=alpha
elastic-apm-traceparent 00-e03ceba945525be97d1114a9945cd85f-fa12b5d22c32fa9e-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-e03ceba945525be97d1114a9945cd85f-fa12b5d22c32fa9e-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--bc28539c
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-64eaec70,team=alpha
ot-baggage-routing-key rk-64eaec70
traceparent 00-f810bf34b9c2b61d87f5e7e736de0e14-59d363f2198a4e31-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-kafka--53ebf1c4

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--http-kafka--53ebf1c4
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-18f09561,team=alpha
ot-baggage-routing-key rk-18f09561
traceparent 00-3126fab2a92c6380e59874baad2a0fa4-f2acf283a1b213ee-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-rabbitmq--e20b6afb

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

correlation-context routing-key=rk-18f09561, team=alpha
traceparent 00-3126fab2a92c6380e59874baad2a0fa4-705b84edce836ee7-01
tracestate cptest=v1
test id
elastic-dotnet--http-rabbitmq--e20b6afb
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-9040c255,team=alpha
ot-baggage-routing-key rk-9040c255
traceparent 00-0c8a6a2d0f1edd6a5cff96896ac6014d-e9d267d1283a95af-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-http--44a94f66

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-9040c255,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-9040c255, team=alpha
elastic-apm-traceparent 00-0c8a6a2d0f1edd6a5cff96896ac6014d-05e62782bc7ee374-01
traceparent 00-0c8a6a2d0f1edd6a5cff96896ac6014d-05e62782bc7ee374-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-http--44a94f66
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-93cc81e1,team=alpha
ot-baggage-routing-key rk-93cc81e1
traceparent 00-0f5bd2c7033550be0adf8de7f7e88923-702bf72ed1c79281-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-grpc--16930376

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-93cc81e1,team=alpha
content-type application/grpc
correlation-context routing-key=rk-93cc81e1, team=alpha
elastic-apm-traceparent 00-0f5bd2c7033550be0adf8de7f7e88923-23ce2d78fa12f225-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-0f5bd2c7033550be0adf8de7f7e88923-23ce2d78fa12f225-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--16930376
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-278912bc,team=alpha
ot-baggage-routing-key rk-278912bc
traceparent 00-65fadc947ce2df5df3d3fe3fc2b276c9-9109e23252fc1d5f-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-kafka--3dc33d9c

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--grpc-kafka--3dc33d9c
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-066b1327,team=alpha
ot-baggage-routing-key rk-066b1327
traceparent 00-152a106c159e8bb08f46f0f84f90f691-10b6143403514091-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-rabbitmq--45d2e7e6

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

correlation-context routing-key=rk-066b1327, team=alpha
traceparent 00-152a106c159e8bb08f46f0f84f90f691-5d55433cbced631e-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-rabbitmq--45d2e7e6
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-707e53e4,team=alpha
ot-baggage-routing-key rk-707e53e4
traceparent 00-24a50da051c6b895b95b55f2065a0b47-9fb714c5ba07a4d3-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-http--92c0a5c3

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-1f0b7c3d061234fdb4ab01ae41c2414f-c81069f805a9ed4b-00
test id
elastic-dotnet--kafka-http--92c0a5c3
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-0c22430a,team=alpha
ot-baggage-routing-key rk-0c22430a
traceparent 00-ac90e1030284d95cff5799e49464d64f-a98d78672e715063-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-grpc--2f21dd39

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-779b329732a2d28fdfb91a0aa3661f99-6e16146f48c95862-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-779b329732a2d28fdfb91a0aa3661f99-6e16146f48c95862-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--2f21dd39
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-41a93af7,team=alpha
ot-baggage-routing-key rk-41a93af7
traceparent 00-05e4a280dbf3dcab2f8b0b3dcdb2550f-87bfc4543ead3604-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-kafka--f5f4dafc

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--kafka-kafka--f5f4dafc
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-25d69d2c,team=alpha
ot-baggage-routing-key rk-25d69d2c
traceparent 00-0622114872e58b51455c8e66be7219e4-8a69b4941ce42d17-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-rabbitmq--99fd87aa

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

traceparent 00-f071911a0bed42f4a483af7f7cd85e0d-9fd03605922517ff-01
tracestate es=s:1
test id
elastic-dotnet--kafka-rabbitmq--99fd87aa
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-d19d4732,team=alpha
ot-baggage-routing-key rk-d19d4732
traceparent 00-5de051d1f081fb5074e0d474a51e6335-23e5e56b8ae5b7cc-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-http--c3a8140e

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
elastic-apm-traceparent 00-5de051d1f081fb5074e0d474a51e6335-69e1b18987601587-01
traceparent 00-5de051d1f081fb5074e0d474a51e6335-69e1b18987601587-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-http--c3a8140e
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-7ff1663f,team=alpha
ot-baggage-routing-key rk-7ff1663f
traceparent 00-fa202a81f91bfa2d5cc43b660c7bb2ff-f0aa66b9ce1b2566-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-grpc--8f25ea04

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-fa202a81f91bfa2d5cc43b660c7bb2ff-cd2ea66031a1bb10-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-fa202a81f91bfa2d5cc43b660c7bb2ff-cd2ea66031a1bb10-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--8f25ea04
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-4b2c965e,team=alpha
ot-baggage-routing-key rk-4b2c965e
traceparent 00-be467a36e1dc3d5b4049c39e1dea7f39-bbfd525c0f92cb65-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-kafka--2b644946

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--rabbitmq-kafka--2b644946
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-2d13007f,team=alpha
ot-baggage-routing-key rk-2d13007f
traceparent 00-eb35a8eccf824f9aea869d34fe28f248-6d7d1b58e94758d2-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-rabbitmq--6955a5fc

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

traceparent 00-eb35a8eccf824f9aea869d34fe28f248-1c95b2c673655c17-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-rabbitmq--6955a5fc
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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