elastic-dotnet

.NET zero-code elastic-apm-dotnet1.34.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.34.5 1.34.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
1 Nov 2026, 05:43 UTC
Harness
e793604 · measured in backtest-elastic-dotnet-1.34.5
Raw JSON
1.34.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-8d94f624,team=alpha
ot-baggage-routing-key rk-8d94f624
traceparent 00-fd4875ff6f36cdf5e2ffb4b453dbb327-1d77d56e6f3a7e59-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-http--f9800aa4

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-8d94f624,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-8d94f624, team=alpha
elastic-apm-traceparent 00-fd4875ff6f36cdf5e2ffb4b453dbb327-d3088865668ee28f-01
traceparent 00-fd4875ff6f36cdf5e2ffb4b453dbb327-d3088865668ee28f-01
tracestate cptest=v1
test id
elastic-dotnet--http-http--f9800aa4
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-817d719e,team=alpha
ot-baggage-routing-key rk-817d719e
traceparent 00-54846ea42db66cf05404e49d508db814-5f45189c5cf3c1f1-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-grpc--d02f62d1

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-817d719e,team=alpha
content-type application/grpc
correlation-context routing-key=rk-817d719e, team=alpha
elastic-apm-traceparent 00-54846ea42db66cf05404e49d508db814-cc1b0202bff79bcd-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-54846ea42db66cf05404e49d508db814-cc1b0202bff79bcd-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--d02f62d1
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-6e84944e,team=alpha
ot-baggage-routing-key rk-6e84944e
traceparent 00-193e5d2fdde472f7b0f6ea0e5308c1f1-22076553c9223793-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-kafka--c69e78e1

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--http-kafka--c69e78e1
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-94165409,team=alpha
ot-baggage-routing-key rk-94165409
traceparent 00-bf37e4b0a6b82d14280386e533898cd0-8428d22f117671dd-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-rabbitmq--564da714

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

correlation-context routing-key=rk-94165409, team=alpha
traceparent 00-bf37e4b0a6b82d14280386e533898cd0-5a0bbcdc6078de8e-01
tracestate cptest=v1
test id
elastic-dotnet--http-rabbitmq--564da714
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-d51e35f6,team=alpha
ot-baggage-routing-key rk-d51e35f6
traceparent 00-c3640f7079f965bd308ba3805c0abfc6-5e89f7088bf89ed9-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-http--8ce2d00b

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-d51e35f6,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-d51e35f6, team=alpha
elastic-apm-traceparent 00-c3640f7079f965bd308ba3805c0abfc6-03c132751c6a0249-01
traceparent 00-c3640f7079f965bd308ba3805c0abfc6-03c132751c6a0249-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-http--8ce2d00b
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-5f9b0eb0,team=alpha
ot-baggage-routing-key rk-5f9b0eb0
traceparent 00-40b6a7ad564b7a8e770295b689b899db-ad0a3402435108b7-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-grpc--23fdc797

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-5f9b0eb0,team=alpha
content-type application/grpc
correlation-context routing-key=rk-5f9b0eb0, team=alpha
elastic-apm-traceparent 00-40b6a7ad564b7a8e770295b689b899db-8a3702cd60fe461f-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-40b6a7ad564b7a8e770295b689b899db-8a3702cd60fe461f-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--23fdc797
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-62ca8f3a,team=alpha
ot-baggage-routing-key rk-62ca8f3a
traceparent 00-8614e3d7ee13ffcb124738422d0f7866-2f5596e2f1c09f69-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-kafka--ee8bd115

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--grpc-kafka--ee8bd115
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-d2ff20fc,team=alpha
ot-baggage-routing-key rk-d2ff20fc
traceparent 00-daf7eae4c482b4e70b45b3ad83f47281-e28e721f232689d4-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-rabbitmq--9e9db4eb

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

correlation-context routing-key=rk-d2ff20fc, team=alpha
traceparent 00-daf7eae4c482b4e70b45b3ad83f47281-221252fe1dccc01e-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-rabbitmq--9e9db4eb
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-9b0e43a6,team=alpha
ot-baggage-routing-key rk-9b0e43a6
traceparent 00-66b91946c99bd322e0972310875ea48b-108d2ddc7910445e-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-http--45c8ebba

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-71f881558ce3695811e16ecd73fafa15-f9d4363f8b12409f-00
test id
elastic-dotnet--kafka-http--45c8ebba
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-6ff16879,team=alpha
ot-baggage-routing-key rk-6ff16879
traceparent 00-40ac860c03f8e72e509d2385d7a1ddc6-76eb3b0fb034d4ff-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-grpc--388880e9

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-d10eec673950e1173e16075be54cfa9b-ef874e8d463cc91d-00
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--388880e9
raw statuses
baggage=absenttracestate=absenttraceparent=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-9b12dd9f,team=alpha
ot-baggage-routing-key rk-9b12dd9f
traceparent 00-31b3d3aefd879fea909c40fef322bf69-c37ee80e14832ed6-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-kafka--727b024d

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--kafka-kafka--727b024d
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-f81a70d0,team=alpha
ot-baggage-routing-key rk-f81a70d0
traceparent 00-7da468083f9737136461f620e7192cc6-2b6352b21e965195-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-rabbitmq--36b35b59

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

traceparent 00-97bf0c30d38e45b4f5363a761d3cc133-7f82fcf6b6ee456a-01
tracestate es=s:1
test id
elastic-dotnet--kafka-rabbitmq--36b35b59
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-8a5cff70,team=alpha
ot-baggage-routing-key rk-8a5cff70
traceparent 00-8168d4512edc7c06906f75fd156124de-85fc5e1b15d8e63d-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-http--4f69ade3

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
elastic-apm-traceparent 00-8168d4512edc7c06906f75fd156124de-42e45244a8aaf4e4-01
traceparent 00-8168d4512edc7c06906f75fd156124de-42e45244a8aaf4e4-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-http--4f69ade3
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-d2d8d30f,team=alpha
ot-baggage-routing-key rk-d2d8d30f
traceparent 00-1240d176929306b8621b9b85038c4d41-8c300358e1f1570d-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-grpc--dd6124ae

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-1240d176929306b8621b9b85038c4d41-4c980694a91f31e0-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-1240d176929306b8621b9b85038c4d41-4c980694a91f31e0-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--dd6124ae
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-96499aee,team=alpha
ot-baggage-routing-key rk-96499aee
traceparent 00-739a944df4f8ebaede8f17d33c73716f-a09e7fa2654a3280-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-kafka--a715e43c

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--rabbitmq-kafka--a715e43c
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-e2c68353,team=alpha
ot-baggage-routing-key rk-e2c68353
traceparent 00-003369162356fd5fc19579f2c555e513-45c1a56d3f9960c7-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-rabbitmq--3c1448c8

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

traceparent 00-003369162356fd5fc19579f2c555e513-ab22f7f5f408a620-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-rabbitmq--3c1448c8
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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