elastic-dotnet

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

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.4 1.34.4 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.4
Raw JSON
1.34.4.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-d4e4ce8c,team=alpha
ot-baggage-routing-key rk-d4e4ce8c
traceparent 00-269fd70909eef7f09afc235de143a5d4-c255897d09761ec9-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-http--40939ae9

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-d4e4ce8c,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-d4e4ce8c, team=alpha
elastic-apm-traceparent 00-269fd70909eef7f09afc235de143a5d4-31c6cfad76457aa9-01
traceparent 00-269fd70909eef7f09afc235de143a5d4-31c6cfad76457aa9-01
tracestate cptest=v1
test id
elastic-dotnet--http-http--40939ae9
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-9d8d93d1,team=alpha
ot-baggage-routing-key rk-9d8d93d1
traceparent 00-81e7d9cd1743258109131708be99fe49-58ac0b2c18346004-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-grpc--74a4669a

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-9d8d93d1,team=alpha
content-type application/grpc
correlation-context routing-key=rk-9d8d93d1, team=alpha
elastic-apm-traceparent 00-81e7d9cd1743258109131708be99fe49-f66a6a8ce97c324c-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-81e7d9cd1743258109131708be99fe49-f66a6a8ce97c324c-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--74a4669a
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-a7493969,team=alpha
ot-baggage-routing-key rk-a7493969
traceparent 00-2c23cd962229d2daad02393e575d15a7-8fd2cfbc021c691d-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-kafka--aa54b570

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--http-kafka--aa54b570
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-9d7dea7d,team=alpha
ot-baggage-routing-key rk-9d7dea7d
traceparent 00-8b1bea148acf11c09ae8f91334d44d16-4dfaf302945deae1-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-rabbitmq--eda7d527

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

correlation-context routing-key=rk-9d7dea7d, team=alpha
traceparent 00-8b1bea148acf11c09ae8f91334d44d16-43f51f5dc12dd1e4-01
tracestate cptest=v1
test id
elastic-dotnet--http-rabbitmq--eda7d527
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-06180944,team=alpha
ot-baggage-routing-key rk-06180944
traceparent 00-9e5b2e8e0a558960415314345eef3cfc-890cdde13e52d948-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-http--efb1de7b

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-06180944,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-06180944, team=alpha
elastic-apm-traceparent 00-9e5b2e8e0a558960415314345eef3cfc-c418b26a25382a65-01
traceparent 00-9e5b2e8e0a558960415314345eef3cfc-c418b26a25382a65-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-http--efb1de7b
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-b7bc0d74,team=alpha
ot-baggage-routing-key rk-b7bc0d74
traceparent 00-a4dc3abdda79c2cca3ae4f96c44147f0-eb4eeed0243850c6-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-grpc--75b05894

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-b7bc0d74,team=alpha
content-type application/grpc
correlation-context routing-key=rk-b7bc0d74, team=alpha
elastic-apm-traceparent 00-a4dc3abdda79c2cca3ae4f96c44147f0-96917f74f6f19539-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-a4dc3abdda79c2cca3ae4f96c44147f0-96917f74f6f19539-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--75b05894
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-6c9f50a0,team=alpha
ot-baggage-routing-key rk-6c9f50a0
traceparent 00-d4a61a0dea41634e3e3c957f8534ffba-1328f7f537cb5deb-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-kafka--5c76fbf3

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--grpc-kafka--5c76fbf3
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-da41e485,team=alpha
ot-baggage-routing-key rk-da41e485
traceparent 00-f0ca3988355a263beee77f0419983f03-b8e59648b7717804-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-rabbitmq--77c92915

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

correlation-context routing-key=rk-da41e485, team=alpha
traceparent 00-f0ca3988355a263beee77f0419983f03-a4cf815ce283307e-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-rabbitmq--77c92915
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-5a20abda,team=alpha
ot-baggage-routing-key rk-5a20abda
traceparent 00-a8f24c0f37fa91595c7de859f26182dc-59755a4cc5e32dee-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-http--91d620b7

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-6b5f1daf8547d905032cf69dacf6809a-5c014c1841ddd2e3-00
test id
elastic-dotnet--kafka-http--91d620b7
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-d1d4578c,team=alpha
ot-baggage-routing-key rk-d1d4578c
traceparent 00-4b34314381397b7cbc77ae0ee6ef0884-cd8cb5517bee9317-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-grpc--872f113d

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-eaa7a63159eab119de5f1670e6b84967-11c00c44ae068448-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--872f113d
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-fe154f5c,team=alpha
ot-baggage-routing-key rk-fe154f5c
traceparent 00-51ba67866501ab595cb28b1084a90d74-ceabf379161c5d86-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-kafka--18d9edef

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--kafka-kafka--18d9edef
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-3467fcbf,team=alpha
ot-baggage-routing-key rk-3467fcbf
traceparent 00-59299cb6da21da1b175624d0d51a19f6-aeac117f163cbe68-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-rabbitmq--3eebecbe

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

traceparent 00-4df5f817ecaeb4031f2e4050ed5a662c-7c84c408436927e0-01
tracestate es=s:1
test id
elastic-dotnet--kafka-rabbitmq--3eebecbe
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-73d754c2,team=alpha
ot-baggage-routing-key rk-73d754c2
traceparent 00-92abbc0e2e614105cf805f0a03b5b3e7-192df67377194c6a-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-http--dead9342

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
elastic-apm-traceparent 00-92abbc0e2e614105cf805f0a03b5b3e7-f48c5687da74601f-01
traceparent 00-92abbc0e2e614105cf805f0a03b5b3e7-f48c5687da74601f-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-http--dead9342
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-ee6fd77e,team=alpha
ot-baggage-routing-key rk-ee6fd77e
traceparent 00-3157503a20f52bf2cdd49e591cde5879-6130dd24fb7c2d73-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-grpc--13e14564

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-3157503a20f52bf2cdd49e591cde5879-0046acd984e69720-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-3157503a20f52bf2cdd49e591cde5879-0046acd984e69720-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--13e14564
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-af53ed96,team=alpha
ot-baggage-routing-key rk-af53ed96
traceparent 00-c1458d9c71b285b53fcabb4b29db0dff-70f699b74ec7d89d-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-kafka--79d2fb7c

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--rabbitmq-kafka--79d2fb7c
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-9cb6a4ac,team=alpha
ot-baggage-routing-key rk-9cb6a4ac
traceparent 00-f70f91ef7a4bf8ae1908c7007c45c866-48974ecc015be479-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-rabbitmq--410b3669

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

traceparent 00-f70f91ef7a4bf8ae1908c7007c45c866-3459d90d6275e417-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-rabbitmq--410b3669
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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