elastic-dotnet

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

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.31.0 1.31.0 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
9 Nov 2026, 19:58 UTC
Harness
9b99070 · measured in backtest-elastic-dotnet-1.31.0
Raw JSON
1.31.0.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-7da8cdaf,team=alpha
ot-baggage-routing-key rk-7da8cdaf
traceparent 00-8c484af399cf2ff7d3ad406a5c15928f-afd1604c27d2edc4-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-http--42038871

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-7da8cdaf,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-7da8cdaf, team=alpha
elastic-apm-traceparent 00-8c484af399cf2ff7d3ad406a5c15928f-8eb03244b7f97236-01
traceparent 00-8c484af399cf2ff7d3ad406a5c15928f-8eb03244b7f97236-01
tracestate cptest=v1
test id
elastic-dotnet--http-http--42038871
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-3b141cb3,team=alpha
ot-baggage-routing-key rk-3b141cb3
traceparent 00-ac6adf0dfccb2723285abc6d8544f55e-f9777f39654dbd1c-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-grpc--e27d890a

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-3b141cb3,team=alpha
content-type application/grpc
correlation-context routing-key=rk-3b141cb3, team=alpha
elastic-apm-traceparent 00-ac6adf0dfccb2723285abc6d8544f55e-1d54e17488cc017d-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-ac6adf0dfccb2723285abc6d8544f55e-1d54e17488cc017d-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--e27d890a
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-58dd3b3a,team=alpha
ot-baggage-routing-key rk-58dd3b3a
traceparent 00-562744918a35b631dd2f6de4ae08ecb7-7d4a2460e8136d3f-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-kafka--7aac204d

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--http-kafka--7aac204d
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-34149afa,team=alpha
ot-baggage-routing-key rk-34149afa
traceparent 00-01c6580fc5e4827c0c812e3d256b15f3-8f079d908b467253-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-rabbitmq--6d51adb5

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

correlation-context routing-key=rk-34149afa, team=alpha
traceparent 00-01c6580fc5e4827c0c812e3d256b15f3-13a05ce423977a0d-01
tracestate cptest=v1
test id
elastic-dotnet--http-rabbitmq--6d51adb5
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-b3e5b04f,team=alpha
ot-baggage-routing-key rk-b3e5b04f
traceparent 00-806819850782a0942f3d31874edfc1b2-07eef7cd09a896dc-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-http--9c05cc99

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-b3e5b04f,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-b3e5b04f, team=alpha
elastic-apm-traceparent 00-806819850782a0942f3d31874edfc1b2-26212cede401f407-01
traceparent 00-806819850782a0942f3d31874edfc1b2-26212cede401f407-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-http--9c05cc99
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-52a9ee8c,team=alpha
ot-baggage-routing-key rk-52a9ee8c
traceparent 00-187d53d9ef3799bb218f8e6a39ec7cf7-fec4905b07027649-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-grpc--e6e5bc42

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-52a9ee8c,team=alpha
content-type application/grpc
correlation-context routing-key=rk-52a9ee8c, team=alpha
elastic-apm-traceparent 00-187d53d9ef3799bb218f8e6a39ec7cf7-10d811faabd251be-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-187d53d9ef3799bb218f8e6a39ec7cf7-10d811faabd251be-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--e6e5bc42
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-bb0601e1,team=alpha
ot-baggage-routing-key rk-bb0601e1
traceparent 00-21ed69aa6eff022d23f7a72364414548-29a7cd5e666b4c22-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-kafka--631862f5

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--grpc-kafka--631862f5
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-ba939a5c,team=alpha
ot-baggage-routing-key rk-ba939a5c
traceparent 00-c4610624b8f08ec0a7ce49d97d625c88-8ef20f0e78549615-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-rabbitmq--a62126b7

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

correlation-context routing-key=rk-ba939a5c, team=alpha
traceparent 00-c4610624b8f08ec0a7ce49d97d625c88-23a263d52e453ac6-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-rabbitmq--a62126b7
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-d4920397,team=alpha
ot-baggage-routing-key rk-d4920397
traceparent 00-6a344eaa29c319fd4d8127e63da05332-6b13bbb0197511b1-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-http--5bfaae5c

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-9197aacb7827d21c5d6544b40cdaf2e3-10fc1d4b538f4740-00
test id
elastic-dotnet--kafka-http--5bfaae5c
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-f2b8e4d8,team=alpha
ot-baggage-routing-key rk-f2b8e4d8
traceparent 00-3abac7e7262158444f2883b90dac5769-79fe7eecbee15bca-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-grpc--9b1c6b08

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-dbfe70443100114697fa61f69cf4516a-3bbb2beb77952a20-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-dbfe70443100114697fa61f69cf4516a-3bbb2beb77952a20-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--9b1c6b08
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-cd51c6aa,team=alpha
ot-baggage-routing-key rk-cd51c6aa
traceparent 00-cce4b5d480e65bb702e79a42d305821a-5a59c7adc6e08217-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-kafka--04e0aa0b

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--kafka-kafka--04e0aa0b
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-e3f47e6b,team=alpha
ot-baggage-routing-key rk-e3f47e6b
traceparent 00-d4bb245312b52a1f4beda9b0e46f9351-21875173c45102b1-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-rabbitmq--11c5c0d9

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

traceparent 00-78de00ffe431e19414e321850761e35d-62c09755a82d07d9-01
tracestate es=s:1
test id
elastic-dotnet--kafka-rabbitmq--11c5c0d9
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-cd947858,team=alpha
ot-baggage-routing-key rk-cd947858
traceparent 00-5293eec7b9c7472820db1ae47afd0654-9cd7c70966f81c28-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-http--55494a27

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
elastic-apm-traceparent 00-5293eec7b9c7472820db1ae47afd0654-02de8e987cdb73d6-01
traceparent 00-5293eec7b9c7472820db1ae47afd0654-02de8e987cdb73d6-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-http--55494a27
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-6b8d261e,team=alpha
ot-baggage-routing-key rk-6b8d261e
traceparent 00-6abdcfd2f59ee41395cbaa8b549ad6d4-4d9bad2c46b057ea-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-grpc--27bfa18f

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-6abdcfd2f59ee41395cbaa8b549ad6d4-39a27c62ced8bb59-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-6abdcfd2f59ee41395cbaa8b549ad6d4-39a27c62ced8bb59-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--27bfa18f
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-5abe4451,team=alpha
ot-baggage-routing-key rk-5abe4451
traceparent 00-11fbb8d7afe7d0bf51363d090891fe34-8f9e2e31c8f1e016-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-kafka--947a30d0

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--rabbitmq-kafka--947a30d0
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-3a8a4b28,team=alpha
ot-baggage-routing-key rk-3a8a4b28
traceparent 00-f001009b7d26dbfeb995ef0d5556b5f0-b1c35dcd826e3fbd-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-rabbitmq--09a00a08

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

traceparent 00-f001009b7d26dbfeb995ef0d5556b5f0-302cb97df2e4f4d5-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-rabbitmq--09a00a08
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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