elastic-dotnet

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

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.1 1.25.1 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:12 UTC
Harness
374f21d · measured in backtest-elastic-dotnet-1.25.1
Raw JSON
1.25.1.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-96e45aa1,team=alpha
ot-baggage-routing-key rk-96e45aa1
traceparent 00-ec95b5153b8f3971ae937db16d0bf58b-996358294f7ebf32-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-http--45ffd91b

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-96e45aa1,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-96e45aa1, team=alpha
elastic-apm-traceparent 00-ec95b5153b8f3971ae937db16d0bf58b-b3292bb2b39c4289-01
traceparent 00-ec95b5153b8f3971ae937db16d0bf58b-b3292bb2b39c4289-01
tracestate cptest=v1
test id
elastic-dotnet--http-http--45ffd91b
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-7aaea407,team=alpha
ot-baggage-routing-key rk-7aaea407
traceparent 00-9182a88a8cfee50eb3d8cedf0a0d4cb4-7ded439d48d56604-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-grpc--1b3f23a0

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-7aaea407,team=alpha
content-type application/grpc
correlation-context routing-key=rk-7aaea407, team=alpha
elastic-apm-traceparent 00-9182a88a8cfee50eb3d8cedf0a0d4cb4-2464066916f237f2-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-9182a88a8cfee50eb3d8cedf0a0d4cb4-2464066916f237f2-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--1b3f23a0
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-439f5a50,team=alpha
ot-baggage-routing-key rk-439f5a50
traceparent 00-800f0f7c4c52657e98b0254d4bf47e6b-a943fb227d71c1d3-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-kafka--dac68166

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--http-kafka--dac68166
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-de86cfca,team=alpha
ot-baggage-routing-key rk-de86cfca
traceparent 00-939d13d9360dbfd87700ab9b736ffe2f-5b85c8ecd5d10461-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-rabbitmq--ac20431d

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

correlation-context routing-key=rk-de86cfca, team=alpha
traceparent 00-939d13d9360dbfd87700ab9b736ffe2f-bfc875d4595e0e8b-01
tracestate cptest=v1
test id
elastic-dotnet--http-rabbitmq--ac20431d
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-5dedc471,team=alpha
ot-baggage-routing-key rk-5dedc471
traceparent 00-e40dc70149454dca1339c88e1f9965e5-f2d7b0379a486eb4-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-http--62a45d2f

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-5dedc471,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-5dedc471, team=alpha
elastic-apm-traceparent 00-e40dc70149454dca1339c88e1f9965e5-534ca68a516632b8-01
traceparent 00-e40dc70149454dca1339c88e1f9965e5-534ca68a516632b8-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-http--62a45d2f
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-b1a9d6b4,team=alpha
ot-baggage-routing-key rk-b1a9d6b4
traceparent 00-54371c3246e3e7c51f9c487a6fb1519c-f16260a612ef5ca6-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-grpc--68526164

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-b1a9d6b4,team=alpha
content-type application/grpc
correlation-context routing-key=rk-b1a9d6b4, team=alpha
elastic-apm-traceparent 00-54371c3246e3e7c51f9c487a6fb1519c-9f7c553dbd747fdd-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-54371c3246e3e7c51f9c487a6fb1519c-9f7c553dbd747fdd-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--68526164
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-719e75cb,team=alpha
ot-baggage-routing-key rk-719e75cb
traceparent 00-9e5638909a093a912992ba4ac2887008-a1a7d5ee2b0d300f-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-kafka--d5a70e6f

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--grpc-kafka--d5a70e6f
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-d12ef772,team=alpha
ot-baggage-routing-key rk-d12ef772
traceparent 00-8bba3e0bb287dd96693493ca873905f3-da8e93bacabc5e27-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-rabbitmq--d13161a6

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

correlation-context routing-key=rk-d12ef772, team=alpha
traceparent 00-8bba3e0bb287dd96693493ca873905f3-693dde908dc38ffe-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-rabbitmq--d13161a6
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-872c8362,team=alpha
ot-baggage-routing-key rk-872c8362
traceparent 00-b28ed2d13876a4fa9bbfba218a9c10dd-6e2bf778220d051c-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-http--6336f5c4

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-a54fe8d9a970804d74e600760b46459a-0f481923ee57feb6-00
test id
elastic-dotnet--kafka-http--6336f5c4
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-d29a214e,team=alpha
ot-baggage-routing-key rk-d29a214e
traceparent 00-915636c00a898a4db977a40bc3f9a3e5-9e3d7a20e02b3e68-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-grpc--4c4d32e3

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-d856f192f653ad29ac4c13c8f9aeb526-e448d86a05d107cc-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-d856f192f653ad29ac4c13c8f9aeb526-e448d86a05d107cc-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--4c4d32e3
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-285247bc,team=alpha
ot-baggage-routing-key rk-285247bc
traceparent 00-08f1b31b6d3452a6e9776cc82c1d6ee3-2b7effafb6e8e4d2-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-kafka--4d61a51f

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--kafka-kafka--4d61a51f
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-04143793,team=alpha
ot-baggage-routing-key rk-04143793
traceparent 00-1d520120c5d7deede3b384ab3887ec39-4dbc9ead6cd86357-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-rabbitmq--c8abc672

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

traceparent 00-fa8f9fd392a057dcd585c4e2074973b3-00b9a4b24415fbd5-01
tracestate es=s:1
test id
elastic-dotnet--kafka-rabbitmq--c8abc672
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-da618fef,team=alpha
ot-baggage-routing-key rk-da618fef
traceparent 00-66b03d17c03ae71f1eb6f1105a91f69d-a4f17213b21c6a56-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-http--18b3708a

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
elastic-apm-traceparent 00-66b03d17c03ae71f1eb6f1105a91f69d-312f0dfbb1ab83a6-01
traceparent 00-66b03d17c03ae71f1eb6f1105a91f69d-312f0dfbb1ab83a6-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-http--18b3708a
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-b49f9ac8,team=alpha
ot-baggage-routing-key rk-b49f9ac8
traceparent 00-8408a4720ecff83867107afa75e5c394-07838dae942a8922-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-grpc--9d2b3b84

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-8408a4720ecff83867107afa75e5c394-7e4c96f1484f77b1-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-8408a4720ecff83867107afa75e5c394-7e4c96f1484f77b1-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--9d2b3b84
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-f2840e1b,team=alpha
ot-baggage-routing-key rk-f2840e1b
traceparent 00-03cea2ecc71ac56b1c2dd45f2f946d0a-2c02ed0728032264-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-kafka--3510e89e

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--rabbitmq-kafka--3510e89e
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-4b8ca0d6,team=alpha
ot-baggage-routing-key rk-4b8ca0d6
traceparent 00-cf9a139fd27613521b02ff96e9b91626-2b17ced29b0ba55d-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-rabbitmq--6e465622

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

traceparent 00-cf9a139fd27613521b02ff96e9b91626-f6ba67cc377e2b69-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-rabbitmq--6e465622
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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