elastic-dotnet

.NET zero-code elastic-apm-dotnet1.28.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.28.1 1.28.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, 08:22 UTC
Harness
9b99070 · measured in backtest-elastic-dotnet-1.28.1
Raw JSON
1.28.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-68b3143e,team=alpha
ot-baggage-routing-key rk-68b3143e
traceparent 00-5ab2cc9f7909b60944a827474e4e9a1f-c804165bbb731953-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-http--82420628

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-68b3143e,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-68b3143e, team=alpha
elastic-apm-traceparent 00-5ab2cc9f7909b60944a827474e4e9a1f-c438d5adbc92aada-01
traceparent 00-5ab2cc9f7909b60944a827474e4e9a1f-c438d5adbc92aada-01
tracestate cptest=v1
test id
elastic-dotnet--http-http--82420628
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-a8bf7ae9,team=alpha
ot-baggage-routing-key rk-a8bf7ae9
traceparent 00-f750419dd9b758bbfa3dab12c2e9abe2-461ac20ecb97f1c0-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-grpc--f31cd10d

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-a8bf7ae9,team=alpha
content-type application/grpc
correlation-context routing-key=rk-a8bf7ae9, team=alpha
elastic-apm-traceparent 00-f750419dd9b758bbfa3dab12c2e9abe2-79b93108de32e698-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-f750419dd9b758bbfa3dab12c2e9abe2-79b93108de32e698-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--f31cd10d
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-de177d03,team=alpha
ot-baggage-routing-key rk-de177d03
traceparent 00-80ff1c5899ddfc51b462ec099e2c14d6-1071b3b8bc4af737-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-kafka--d5ab84be

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--http-kafka--d5ab84be
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-b09a3ba0,team=alpha
ot-baggage-routing-key rk-b09a3ba0
traceparent 00-2824e34208b0c218126a6c1375d8d080-a3670c0d27f8a232-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-rabbitmq--dec0812e

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

correlation-context routing-key=rk-b09a3ba0, team=alpha
traceparent 00-2824e34208b0c218126a6c1375d8d080-930d496836274394-01
tracestate cptest=v1
test id
elastic-dotnet--http-rabbitmq--dec0812e
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-e4e9a81a,team=alpha
ot-baggage-routing-key rk-e4e9a81a
traceparent 00-c93f6d79fda4c48167572a20e69a788c-6115610ad31e50bb-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-http--cba6fca7

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-e4e9a81a,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-e4e9a81a, team=alpha
elastic-apm-traceparent 00-c93f6d79fda4c48167572a20e69a788c-fac5e04d6e5863b5-01
traceparent 00-c93f6d79fda4c48167572a20e69a788c-fac5e04d6e5863b5-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-http--cba6fca7
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-f54d961d,team=alpha
ot-baggage-routing-key rk-f54d961d
traceparent 00-1369c947c4711cf5b7376bc9f5388aaf-7679df067d7a2e63-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-grpc--fcee017d

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-f54d961d,team=alpha
content-type application/grpc
correlation-context routing-key=rk-f54d961d, team=alpha
elastic-apm-traceparent 00-1369c947c4711cf5b7376bc9f5388aaf-596361404e7244c9-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-1369c947c4711cf5b7376bc9f5388aaf-596361404e7244c9-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--fcee017d
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-7e317bb3,team=alpha
ot-baggage-routing-key rk-7e317bb3
traceparent 00-5b3d0d9b71051157c514e23cb7f09f1f-edc89cdb19fd592d-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-kafka--b70a856a

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--grpc-kafka--b70a856a
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-fd53b3f3,team=alpha
ot-baggage-routing-key rk-fd53b3f3
traceparent 00-b0274b7e895ef325a5d0e59835da3aad-bfd2e6ff7f281be3-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-rabbitmq--90e357f9

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

correlation-context routing-key=rk-fd53b3f3, team=alpha
traceparent 00-b0274b7e895ef325a5d0e59835da3aad-7bdbe05048b12bbf-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-rabbitmq--90e357f9
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-500425a4,team=alpha
ot-baggage-routing-key rk-500425a4
traceparent 00-4bbb8505d826ae4b6ddada80b5bf966a-d433e102a07bd43f-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-http--30464f42

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-581d43a06b7d0f7ecb7629936ff73426-9894ac7e47591e28-00
test id
elastic-dotnet--kafka-http--30464f42
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-374a0d12,team=alpha
ot-baggage-routing-key rk-374a0d12
traceparent 00-a17380bc1f925c45738795e755637d86-61ae2ede7458eb52-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-grpc--cf02bf89

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-a503418b360aa6a105bbf0ea0ce2f237-8edca5cf5bffe205-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-a503418b360aa6a105bbf0ea0ce2f237-8edca5cf5bffe205-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--cf02bf89
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-687bbb60,team=alpha
ot-baggage-routing-key rk-687bbb60
traceparent 00-988bb896453af815c6cc46f141cd7833-55230fa415c2b634-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-kafka--6a47468c

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--kafka-kafka--6a47468c
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-cba2fde4,team=alpha
ot-baggage-routing-key rk-cba2fde4
traceparent 00-08bebcb7e5bbcbcd2d753b2257958e09-c5cda246e43be878-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-rabbitmq--b4661d9c

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

traceparent 00-10c81eb6f8d3a163d88f99268dbce87b-9d01a3d57e9ccc16-01
tracestate es=s:1
test id
elastic-dotnet--kafka-rabbitmq--b4661d9c
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-87cefeb9,team=alpha
ot-baggage-routing-key rk-87cefeb9
traceparent 00-54e9026182fde95265145df5ead28289-67236b0878b199fe-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-http--d9811fff

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
elastic-apm-traceparent 00-54e9026182fde95265145df5ead28289-0d8527ec736c65ec-01
traceparent 00-54e9026182fde95265145df5ead28289-0d8527ec736c65ec-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-http--d9811fff
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-59d7d123,team=alpha
ot-baggage-routing-key rk-59d7d123
traceparent 00-13ac806d28d55e180eb4da43f705e83f-fa26fcc0bfb4a0fc-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-grpc--8f2c8a4a

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-13ac806d28d55e180eb4da43f705e83f-711a4f285edae966-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-13ac806d28d55e180eb4da43f705e83f-711a4f285edae966-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--8f2c8a4a
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-5be97482,team=alpha
ot-baggage-routing-key rk-5be97482
traceparent 00-b98d07d15a59516b80416bde86018e82-e921cb51a94b4a24-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-kafka--f5e8b198

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--rabbitmq-kafka--f5e8b198
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-478f0921,team=alpha
ot-baggage-routing-key rk-478f0921
traceparent 00-218ab46402889b20d212a1393dc512eb-e84f986f6df035e8-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-rabbitmq--be281d1a

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

traceparent 00-218ab46402889b20d212a1393dc512eb-4e05d2574cbfdc87-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-rabbitmq--be281d1a
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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