elastic-dotnet

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

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.5 1.28.5 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, 07:53 UTC
Harness
9b99070 · measured in backtest-elastic-dotnet-1.28.5
Raw JSON
1.28.5.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-a67b83b8,team=alpha
ot-baggage-routing-key rk-a67b83b8
traceparent 00-940fede005ff7535a737abee71c8e59b-c625f0e4c8b94074-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-http--c8837a00

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-a67b83b8,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-a67b83b8, team=alpha
elastic-apm-traceparent 00-940fede005ff7535a737abee71c8e59b-0030a714bf497a48-01
traceparent 00-940fede005ff7535a737abee71c8e59b-0030a714bf497a48-01
tracestate cptest=v1
test id
elastic-dotnet--http-http--c8837a00
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-5a0a39a6,team=alpha
ot-baggage-routing-key rk-5a0a39a6
traceparent 00-acc2776b47c6f5b37db1107d90de5941-ec3309106ad89cb9-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-grpc--213fc028

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-5a0a39a6,team=alpha
content-type application/grpc
correlation-context routing-key=rk-5a0a39a6, team=alpha
elastic-apm-traceparent 00-acc2776b47c6f5b37db1107d90de5941-c083bb2e2a7e6e29-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-acc2776b47c6f5b37db1107d90de5941-c083bb2e2a7e6e29-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--213fc028
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-1d400050,team=alpha
ot-baggage-routing-key rk-1d400050
traceparent 00-1c7968e528b37ab03806f06e0a801494-ca00dce831c72f6b-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-kafka--38fb3669

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--http-kafka--38fb3669
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-0b5a5709,team=alpha
ot-baggage-routing-key rk-0b5a5709
traceparent 00-4bfabbdb5173a426929c934d795cb830-025b85ee59003281-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-rabbitmq--f98ff29d

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

correlation-context routing-key=rk-0b5a5709, team=alpha
traceparent 00-4bfabbdb5173a426929c934d795cb830-44e491b247716aa9-01
tracestate cptest=v1
test id
elastic-dotnet--http-rabbitmq--f98ff29d
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-ec08540d,team=alpha
ot-baggage-routing-key rk-ec08540d
traceparent 00-6667d4420b9693c3a262a63acea0c456-abc91368e175a3db-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-http--2e3d97ad

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-ec08540d,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-ec08540d, team=alpha
elastic-apm-traceparent 00-6667d4420b9693c3a262a63acea0c456-880c4b2993a71292-01
traceparent 00-6667d4420b9693c3a262a63acea0c456-880c4b2993a71292-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-http--2e3d97ad
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-5db2c6cc,team=alpha
ot-baggage-routing-key rk-5db2c6cc
traceparent 00-5b47acab033427c735bf1cbadf5d8a09-0c6034ee67502078-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-grpc--bb659365

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-5db2c6cc,team=alpha
content-type application/grpc
correlation-context routing-key=rk-5db2c6cc, team=alpha
elastic-apm-traceparent 00-5b47acab033427c735bf1cbadf5d8a09-0d6c042bbc529bd7-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-5b47acab033427c735bf1cbadf5d8a09-0d6c042bbc529bd7-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--bb659365
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-0fdc731e,team=alpha
ot-baggage-routing-key rk-0fdc731e
traceparent 00-1414db1bfa68fc66e94a582ad165e5d2-984ec8e5aef285b8-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-kafka--78bcdb64

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--grpc-kafka--78bcdb64
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-9350e320,team=alpha
ot-baggage-routing-key rk-9350e320
traceparent 00-27c506642d8ff2809fbd4e8a3d4c1ebf-aa48ca8b53885816-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-rabbitmq--c35b91a1

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

correlation-context routing-key=rk-9350e320, team=alpha
traceparent 00-27c506642d8ff2809fbd4e8a3d4c1ebf-ed7c1d803ec75eb1-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-rabbitmq--c35b91a1
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-2d8f6fca,team=alpha
ot-baggage-routing-key rk-2d8f6fca
traceparent 00-83af19350d37dc0ea4da36e5dfb4bd24-a8cb21fd96810ea6-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-http--6b11c552

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-b938602ad375bb6dc1c6c7f6cb8cbf09-c984dd65e0c12a15-00
test id
elastic-dotnet--kafka-http--6b11c552
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-36f631d7,team=alpha
ot-baggage-routing-key rk-36f631d7
traceparent 00-a9fe17d6362366e7e789d8f2a73d5521-e9e2eea39e03f5fb-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-grpc--e26eabe1

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-7c186fd8f1d20e6be6b68f0180fd09e4-d324b2032c068649-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-7c186fd8f1d20e6be6b68f0180fd09e4-d324b2032c068649-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--e26eabe1
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-d9c7f242,team=alpha
ot-baggage-routing-key rk-d9c7f242
traceparent 00-f37040aedcac60fedb2a836624878eba-5b7414d3e46ee948-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-kafka--14185514

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--kafka-kafka--14185514
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-6702757f,team=alpha
ot-baggage-routing-key rk-6702757f
traceparent 00-582b82aff939cef2ea943e8c5b608925-e7825167fc5c6fdb-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-rabbitmq--2f4dcd96

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

traceparent 00-10cfb2f112180cd485760d8686f3d6e8-0df6efaff69209c7-01
tracestate es=s:1
test id
elastic-dotnet--kafka-rabbitmq--2f4dcd96
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-6aced49d,team=alpha
ot-baggage-routing-key rk-6aced49d
traceparent 00-eb6a5ac4aacfa6d25a605df98a26e2ff-774c6e644dae7810-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-http--716c919f

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
elastic-apm-traceparent 00-eb6a5ac4aacfa6d25a605df98a26e2ff-b60cb12b0e470221-01
traceparent 00-eb6a5ac4aacfa6d25a605df98a26e2ff-b60cb12b0e470221-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-http--716c919f
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-9589a905,team=alpha
ot-baggage-routing-key rk-9589a905
traceparent 00-1802634d1a2d2cf5336237e9d9796e56-5cb4739f435b48d2-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-grpc--ff3c7349

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-1802634d1a2d2cf5336237e9d9796e56-fd06fdf6271d2fc0-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-1802634d1a2d2cf5336237e9d9796e56-fd06fdf6271d2fc0-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--ff3c7349
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-89279f84,team=alpha
ot-baggage-routing-key rk-89279f84
traceparent 00-1fd3ed527d2611afd2899fba7eac2c25-edf554490e7c4581-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-kafka--fb50b428

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--rabbitmq-kafka--fb50b428
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-83b23133,team=alpha
ot-baggage-routing-key rk-83b23133
traceparent 00-b89173eb16ed12d9461a43f91824dd06-f54127c46048567a-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-rabbitmq--9162a9bb

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

traceparent 00-b89173eb16ed12d9461a43f91824dd06-7e5b37cc98aac7f9-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-rabbitmq--9162a9bb
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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