elastic-dotnet

.NET zero-code elastic-apm-dotnet1.30.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.30.1 1.30.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
9 Nov 2026, 20:02 UTC
Harness
9b99070 · measured in backtest-elastic-dotnet-1.30.1
Raw JSON
1.30.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-2f315ef3,team=alpha
ot-baggage-routing-key rk-2f315ef3
traceparent 00-a5765567d6024d81ef294e404f1d6331-972e159f99b7e8fd-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-http--f9f6fa72

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-2f315ef3,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-2f315ef3, team=alpha
elastic-apm-traceparent 00-a5765567d6024d81ef294e404f1d6331-274e80a1a6afded5-01
traceparent 00-a5765567d6024d81ef294e404f1d6331-274e80a1a6afded5-01
tracestate cptest=v1
test id
elastic-dotnet--http-http--f9f6fa72
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-069a7f92,team=alpha
ot-baggage-routing-key rk-069a7f92
traceparent 00-8c1b149259603b9b39ee4b3822599943-3d4af52f390cf4c3-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-grpc--b8057b7f

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-069a7f92,team=alpha
content-type application/grpc
correlation-context routing-key=rk-069a7f92, team=alpha
elastic-apm-traceparent 00-8c1b149259603b9b39ee4b3822599943-bd4c9fb419f1fd21-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-8c1b149259603b9b39ee4b3822599943-bd4c9fb419f1fd21-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--b8057b7f
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-7ae13e5f,team=alpha
ot-baggage-routing-key rk-7ae13e5f
traceparent 00-5ceafdb69307f184ab2045ddbe32c477-7510a2232f39712b-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-kafka--4a2afb8d

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--http-kafka--4a2afb8d
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-2a8eb8ad,team=alpha
ot-baggage-routing-key rk-2a8eb8ad
traceparent 00-1493e8ea91cf7086de5775ca28f9359f-0fa960c70ef1190a-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-rabbitmq--5078b112

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

correlation-context routing-key=rk-2a8eb8ad, team=alpha
traceparent 00-1493e8ea91cf7086de5775ca28f9359f-4d07b18cdff706d3-01
tracestate cptest=v1
test id
elastic-dotnet--http-rabbitmq--5078b112
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-725b75fd,team=alpha
ot-baggage-routing-key rk-725b75fd
traceparent 00-8093dedd803b608c43ef43ba0ce94465-d721acc9dec00220-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-http--033983bb

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-725b75fd,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-725b75fd, team=alpha
elastic-apm-traceparent 00-8093dedd803b608c43ef43ba0ce94465-c75bb212132c90d7-01
traceparent 00-8093dedd803b608c43ef43ba0ce94465-c75bb212132c90d7-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-http--033983bb
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-e96335f6,team=alpha
ot-baggage-routing-key rk-e96335f6
traceparent 00-926ddcf3c92de331186eaa6a7bd625f7-207c2e77e0675e7a-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-grpc--d53f9750

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-e96335f6,team=alpha
content-type application/grpc
correlation-context routing-key=rk-e96335f6, team=alpha
elastic-apm-traceparent 00-926ddcf3c92de331186eaa6a7bd625f7-550cdb2fa37663ab-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-926ddcf3c92de331186eaa6a7bd625f7-550cdb2fa37663ab-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--d53f9750
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-723b0fe3,team=alpha
ot-baggage-routing-key rk-723b0fe3
traceparent 00-1804d6683e91d2afc4d06e2cd34c86d9-1ba991ac62f383c4-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-kafka--56c2727c

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--grpc-kafka--56c2727c
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-2813df55,team=alpha
ot-baggage-routing-key rk-2813df55
traceparent 00-86a735b14a722489c0875ae818714834-348e1e425662f8b8-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-rabbitmq--dd184f43

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

correlation-context routing-key=rk-2813df55, team=alpha
traceparent 00-86a735b14a722489c0875ae818714834-fc8637e1811ceb80-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-rabbitmq--dd184f43
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-a06bf8c7,team=alpha
ot-baggage-routing-key rk-a06bf8c7
traceparent 00-99a0e9ea94c3c9e36b46b4ac9639a97c-59b361847a49e085-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-http--43e08b5b

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-b878f09db1fd715a65c65fb323d36ac9-b9b3a27d4baf8c1e-00
test id
elastic-dotnet--kafka-http--43e08b5b
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-11f80680,team=alpha
ot-baggage-routing-key rk-11f80680
traceparent 00-19e2173a46823495bd6873890c348fbc-a9c498a183e6ffea-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-grpc--130024ab

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-aa0758a7475302fbf5bf8e98dc10c1c5-565e7f1f210073e8-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-aa0758a7475302fbf5bf8e98dc10c1c5-565e7f1f210073e8-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--130024ab
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-52b53a61,team=alpha
ot-baggage-routing-key rk-52b53a61
traceparent 00-0b42d6e74dcaf0ebe29b59f8a23efce6-34af9558f95130bb-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-kafka--a5ea1233

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--kafka-kafka--a5ea1233
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-cbed5767,team=alpha
ot-baggage-routing-key rk-cbed5767
traceparent 00-5b4fdf89199bcc48a7c79d619ff8d654-c29bb1c5fbfff92a-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-rabbitmq--356f4469

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

traceparent 00-d7ca694ce2ac71f0afefe0bbe578cfbd-c748731079625de7-01
tracestate es=s:1
test id
elastic-dotnet--kafka-rabbitmq--356f4469
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-25e594e2,team=alpha
ot-baggage-routing-key rk-25e594e2
traceparent 00-13481322687819cd6754be63c6811bb8-f7240d85a78421f6-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-http--b0b795da

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
elastic-apm-traceparent 00-13481322687819cd6754be63c6811bb8-9635a9f3c605b5f9-01
traceparent 00-13481322687819cd6754be63c6811bb8-9635a9f3c605b5f9-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-http--b0b795da
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-8815d69f,team=alpha
ot-baggage-routing-key rk-8815d69f
traceparent 00-5af389cc34f291a2a78d8de65953c7f7-123c3c3c09e2c605-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-grpc--3d6b0db4

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-5af389cc34f291a2a78d8de65953c7f7-ae778f11e5751869-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-5af389cc34f291a2a78d8de65953c7f7-ae778f11e5751869-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--3d6b0db4
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-772b2c91,team=alpha
ot-baggage-routing-key rk-772b2c91
traceparent 00-0a7a4b50c24d6503a13831f27251674a-bbb1be4f5ff11fc3-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-kafka--e871d5ea

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--rabbitmq-kafka--e871d5ea
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-45abc719,team=alpha
ot-baggage-routing-key rk-45abc719
traceparent 00-fb9d8cdb5bca39f52b812574c3811fa2-0c69d40a64bb3eaf-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-rabbitmq--eb217527

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

traceparent 00-fb9d8cdb5bca39f52b812574c3811fa2-18255542401274ce-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-rabbitmq--eb217527
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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