elastic-dotnet

.NET zero-code elastic-apm-dotnet1.27.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.27.2 1.27.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:33 UTC
Harness
9b99070 · measured in backtest-elastic-dotnet-1.27.2
Raw JSON
1.27.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-09a023eb,team=alpha
ot-baggage-routing-key rk-09a023eb
traceparent 00-dc3c740f4e86ab5de6f9384a89673759-ef7de90b175172d5-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-http--49de7d50

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-09a023eb,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-09a023eb, team=alpha
elastic-apm-traceparent 00-dc3c740f4e86ab5de6f9384a89673759-6ff3520ecd4cb927-01
traceparent 00-dc3c740f4e86ab5de6f9384a89673759-6ff3520ecd4cb927-01
tracestate cptest=v1
test id
elastic-dotnet--http-http--49de7d50
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-78b083fe,team=alpha
ot-baggage-routing-key rk-78b083fe
traceparent 00-a56b95c88d979d1083003948529e3002-4bf4494a8ae1917c-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-grpc--f1aac774

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-78b083fe,team=alpha
content-type application/grpc
correlation-context routing-key=rk-78b083fe, team=alpha
elastic-apm-traceparent 00-a56b95c88d979d1083003948529e3002-4c0d7dd4a350acad-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-a56b95c88d979d1083003948529e3002-4c0d7dd4a350acad-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--f1aac774
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-6080c5a0,team=alpha
ot-baggage-routing-key rk-6080c5a0
traceparent 00-f35e375e5e41ad0d3e8b45d0d72d6f6b-ffef171c126c6715-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-kafka--7e326864

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--http-kafka--7e326864
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-c1357825,team=alpha
ot-baggage-routing-key rk-c1357825
traceparent 00-5b7843c66632fa42c25639f9d275075d-17c0221e5e4ec2c7-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-rabbitmq--f010d667

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

correlation-context routing-key=rk-c1357825, team=alpha
traceparent 00-5b7843c66632fa42c25639f9d275075d-ff59166f7b65149a-01
tracestate cptest=v1
test id
elastic-dotnet--http-rabbitmq--f010d667
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-d8ec030b,team=alpha
ot-baggage-routing-key rk-d8ec030b
traceparent 00-d9fa6be45be687d441d87b871cce0bba-b1bd924d1f482875-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-http--25eec90c

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-d8ec030b,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-d8ec030b, team=alpha
elastic-apm-traceparent 00-d9fa6be45be687d441d87b871cce0bba-0557e5d1711e9e24-01
traceparent 00-d9fa6be45be687d441d87b871cce0bba-0557e5d1711e9e24-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-http--25eec90c
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-4b3cf017,team=alpha
ot-baggage-routing-key rk-4b3cf017
traceparent 00-e2dba2b6c746b55953156d79d75ebaa0-addc442af595afd5-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-grpc--f944800b

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-4b3cf017,team=alpha
content-type application/grpc
correlation-context routing-key=rk-4b3cf017, team=alpha
elastic-apm-traceparent 00-e2dba2b6c746b55953156d79d75ebaa0-c275585d08c0cc04-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-e2dba2b6c746b55953156d79d75ebaa0-c275585d08c0cc04-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--f944800b
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-7eb3385c,team=alpha
ot-baggage-routing-key rk-7eb3385c
traceparent 00-c0f9649dcc9e25dc2155686660531c51-b37e19c106a6d5ae-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-kafka--ad758bca

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--grpc-kafka--ad758bca
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-15cef205,team=alpha
ot-baggage-routing-key rk-15cef205
traceparent 00-6e172edd313e2e48c357795d6bc87d91-9e475d554062f203-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-rabbitmq--b45be096

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

correlation-context routing-key=rk-15cef205, team=alpha
traceparent 00-6e172edd313e2e48c357795d6bc87d91-d7b420d50981cddd-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-rabbitmq--b45be096
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-f110dfb3,team=alpha
ot-baggage-routing-key rk-f110dfb3
traceparent 00-54e3213bfad0a8995e13d5921297385d-189b82a645ac166e-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-http--b4e9cd70

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-23130b080e2cb32f30fdf3650e5ceeec-13c556679c28db19-00
test id
elastic-dotnet--kafka-http--b4e9cd70
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-6f2b826d,team=alpha
ot-baggage-routing-key rk-6f2b826d
traceparent 00-6d7d50cd2c30f39bd4f19b04e8fd5930-241604049b4b1146-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-grpc--0a9b77d0

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-d50995aa87dc4e57b4dc7b252c798437-e35897d1334c8d6c-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-d50995aa87dc4e57b4dc7b252c798437-e35897d1334c8d6c-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--0a9b77d0
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-ee965303,team=alpha
ot-baggage-routing-key rk-ee965303
traceparent 00-de88683398985ac990e3916c281686a1-bf7d355af92fa446-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-kafka--e868bec0

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--kafka-kafka--e868bec0
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-bc311b9a,team=alpha
ot-baggage-routing-key rk-bc311b9a
traceparent 00-3e3b2337ef55b09b0d23901160cd7357-d09b3f9771366559-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-rabbitmq--d1f3faf1

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

traceparent 00-b4f2c9398fa66ebb1fbb4922e9ec826d-b08842b19d17b5ba-01
tracestate es=s:1
test id
elastic-dotnet--kafka-rabbitmq--d1f3faf1
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-df9d62d8,team=alpha
ot-baggage-routing-key rk-df9d62d8
traceparent 00-70d4f3381310660df40a1b29d6ffddd8-af2bf79ed8873334-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-http--fcda345b

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
elastic-apm-traceparent 00-70d4f3381310660df40a1b29d6ffddd8-0bf197bea50a84bd-01
traceparent 00-70d4f3381310660df40a1b29d6ffddd8-0bf197bea50a84bd-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-http--fcda345b
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-0361da1f,team=alpha
ot-baggage-routing-key rk-0361da1f
traceparent 00-e9c58e846d00c294e3fc5220570c294f-1a0e9174585dfe06-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-grpc--ef986ac9

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-e9c58e846d00c294e3fc5220570c294f-a262b426a1d0dcf4-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-e9c58e846d00c294e3fc5220570c294f-a262b426a1d0dcf4-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--ef986ac9
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-13a78841,team=alpha
ot-baggage-routing-key rk-13a78841
traceparent 00-303e90434c1626486227d36aa184ca39-bab3f04bd851c612-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-kafka--b8434f8e

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--rabbitmq-kafka--b8434f8e
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-84954ec8,team=alpha
ot-baggage-routing-key rk-84954ec8
traceparent 00-b281b9a1ad759477f230f02ccdcc0c9f-56de56d07f4e0e77-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-rabbitmq--2e37becd

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

traceparent 00-b281b9a1ad759477f230f02ccdcc0c9f-73c427160d1f1ea1-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-rabbitmq--2e37becd
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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