elastic-dotnet

.NET zero-code elastic-apm-dotnet1.26.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.26.0 1.26.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
10 Nov 2026, 10:04 UTC
Harness
374f21d · measured in backtest-elastic-dotnet-1.26.0
Raw JSON
1.26.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-b8c17803,team=alpha
ot-baggage-routing-key rk-b8c17803
traceparent 00-04e2e6a426c93412b1fc06af4a1a46be-1a84dd5f6e8ab09a-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-http--5f8704d6

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-b8c17803,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-b8c17803, team=alpha
elastic-apm-traceparent 00-04e2e6a426c93412b1fc06af4a1a46be-c60d11ed6359463e-01
traceparent 00-04e2e6a426c93412b1fc06af4a1a46be-c60d11ed6359463e-01
tracestate cptest=v1
test id
elastic-dotnet--http-http--5f8704d6
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-c5223a2d,team=alpha
ot-baggage-routing-key rk-c5223a2d
traceparent 00-b097b6a1744394b7219f662bd9459f4f-a27d4e6b036074e5-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-grpc--37b617b0

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-c5223a2d,team=alpha
content-type application/grpc
correlation-context routing-key=rk-c5223a2d, team=alpha
elastic-apm-traceparent 00-b097b6a1744394b7219f662bd9459f4f-927af27a31032231-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-b097b6a1744394b7219f662bd9459f4f-927af27a31032231-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--37b617b0
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-f0db8769,team=alpha
ot-baggage-routing-key rk-f0db8769
traceparent 00-7cc8feaf338e8c997f3f4c9f26f551ec-a1f201fba31b0c2f-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-kafka--1113237e

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--http-kafka--1113237e
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-c0ceaab4,team=alpha
ot-baggage-routing-key rk-c0ceaab4
traceparent 00-d5424da5c4cb61a5851d868cb653f51a-4a3fba8a46eed9b1-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-rabbitmq--e9b01255

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

correlation-context routing-key=rk-c0ceaab4, team=alpha
traceparent 00-d5424da5c4cb61a5851d868cb653f51a-5752aec38954329e-01
tracestate cptest=v1
test id
elastic-dotnet--http-rabbitmq--e9b01255
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-6275d330,team=alpha
ot-baggage-routing-key rk-6275d330
traceparent 00-46b410e7c6b0ff85a5085e40d51d042a-66dc9bfd4d9d229d-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-http--44bea99e

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-6275d330,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-6275d330, team=alpha
elastic-apm-traceparent 00-46b410e7c6b0ff85a5085e40d51d042a-e4cee3c0a34ee139-01
traceparent 00-46b410e7c6b0ff85a5085e40d51d042a-e4cee3c0a34ee139-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-http--44bea99e
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-97822579,team=alpha
ot-baggage-routing-key rk-97822579
traceparent 00-3f95027ff4fea4898006a5eded6f6013-b843a48dff7bb2b6-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-grpc--153e2dd8

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-97822579,team=alpha
content-type application/grpc
correlation-context routing-key=rk-97822579, team=alpha
elastic-apm-traceparent 00-3f95027ff4fea4898006a5eded6f6013-795f2b4f13d3fe9e-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-3f95027ff4fea4898006a5eded6f6013-795f2b4f13d3fe9e-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--153e2dd8
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-f8e081f9,team=alpha
ot-baggage-routing-key rk-f8e081f9
traceparent 00-cdbd7d0612976a95d61f2795da72edae-4bb05b0ea0e61573-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-kafka--0dccec11

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--grpc-kafka--0dccec11
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-dacaa91b,team=alpha
ot-baggage-routing-key rk-dacaa91b
traceparent 00-38fe9763815058210508cf0d99676824-0a0e5741c1aa3637-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-rabbitmq--7a6dfc1b

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

correlation-context routing-key=rk-dacaa91b, team=alpha
traceparent 00-38fe9763815058210508cf0d99676824-05125c4fa8154f6d-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-rabbitmq--7a6dfc1b
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-f50b88a1,team=alpha
ot-baggage-routing-key rk-f50b88a1
traceparent 00-34d4c187728d21393e04977e29e42841-f31ad78da1e0f952-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-http--9d08a99f

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-5f19efb671bb6d638d288b0b85e14ca7-5e2be396135c09e5-00
test id
elastic-dotnet--kafka-http--9d08a99f
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-a450aa69,team=alpha
ot-baggage-routing-key rk-a450aa69
traceparent 00-995c6741f6638ac474af1c765e970dc4-3f55dbe086059a99-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-grpc--de577803

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-22dcb7d77d2d3830cba2fb2a54d1cfbd-8b941c740f4a620f-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-22dcb7d77d2d3830cba2fb2a54d1cfbd-8b941c740f4a620f-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--de577803
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-3613794f,team=alpha
ot-baggage-routing-key rk-3613794f
traceparent 00-12ac6f1b74739f15bad2d149b5cc6cb1-62cd1d746fabc796-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-kafka--e976c64e

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--kafka-kafka--e976c64e
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-a3c36b55,team=alpha
ot-baggage-routing-key rk-a3c36b55
traceparent 00-9ca142e89c84c5e378dd0f10c1add46d-d3d5850b8898e053-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-rabbitmq--25ae99e0

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

traceparent 00-88ed76838d33c55df82cbc9c89360709-a9630dbe714d7241-01
tracestate es=s:1
test id
elastic-dotnet--kafka-rabbitmq--25ae99e0
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-b383eb1f,team=alpha
ot-baggage-routing-key rk-b383eb1f
traceparent 00-f6ade44949a9f6b320c4e5b960e832c1-e7c0067728f58e91-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-http--47e4b2e9

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
elastic-apm-traceparent 00-f6ade44949a9f6b320c4e5b960e832c1-36f227ffba7702c9-01
traceparent 00-f6ade44949a9f6b320c4e5b960e832c1-36f227ffba7702c9-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-http--47e4b2e9
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-ed0c2006,team=alpha
ot-baggage-routing-key rk-ed0c2006
traceparent 00-b1c37c8ea71b9ec076c2175e4013073c-e0751c914a81a482-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-grpc--15bc4c96

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-b1c37c8ea71b9ec076c2175e4013073c-ef645e58b8e6a5fb-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-b1c37c8ea71b9ec076c2175e4013073c-ef645e58b8e6a5fb-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--15bc4c96
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-9b7085ae,team=alpha
ot-baggage-routing-key rk-9b7085ae
traceparent 00-7920f8e211f77367fa2dbe67f5547ecd-00bb7a3a3c601f71-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-kafka--56a863ec

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--rabbitmq-kafka--56a863ec
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-a0dd92be,team=alpha
ot-baggage-routing-key rk-a0dd92be
traceparent 00-aca1826845a167a47bb18d6837e487a3-afef45900f185442-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-rabbitmq--bb2ddb7d

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

traceparent 00-aca1826845a167a47bb18d6837e487a3-1fbff46053279271-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-rabbitmq--bb2ddb7d
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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