elastic-dotnet

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

attach DOTNET_STARTUP_HOOKS (ElasticApmAgentStartupHook.dll)

24/64 cells pass
  • Pass
  • Partial
  • New trace
  • Fail
  • Undelivered
  • Not run

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.

216 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 in this run

Tracer
elastic/apm-agent-dotnet 1.36.0 this version 1.36.0 on github-releases github
Runtime
.NET 10.0.15 (CLR 10.0.15)
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
DOTNET_STARTUP_HOOKS (ElasticApmAgentStartupHook.dll)
Relay source
relays/dotnet
Ran at
23 Nov 2026, 19:00 UTC
Harness
bb1ee3e · run run-2026-11-24.2
Raw JSON
run-2026-11-24.2.json → variants[id = "elastic-dotnet"]

Libraries

grpcGrpc.AspNetCore + Grpc.Net.Client 2.85.0
httpHttpClient
kafkaConfluent.Kafka 2.16.0
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 native: present_same_trace

Seeded on the inbound HTTP request headers

baggage routing-key=rk-d0ca36d1,team=alpha
ot-baggage-routing-key rk-d0ca36d1
traceparent 00-0d3da53b89a269ef4a94461c5bd3a1e4-e456761749c40c4c-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-http--7cc762f2

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-d0ca36d1,team=alpha
content-type application/json; charset=utf-8
elastic-apm-traceparent 00-0d3da53b89a269ef4a94461c5bd3a1e4-ed157750081f38fc-01
traceparent 00-0d3da53b89a269ef4a94461c5bd3a1e4-ed157750081f38fc-01
tracestate cptest=v1
test id
elastic-dotnet--http-http--7cc762f2
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent
HTTP gRPC baggage tracestate traceparent ot-baggage delivered via grpc native: present_same_trace

Seeded on the inbound HTTP request headers

baggage routing-key=rk-b35ae715,team=alpha
ot-baggage-routing-key rk-b35ae715
traceparent 00-c11f2af5b5c4622dd0e551276b321279-6d26641dcde3cdfe-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-grpc--dbe80015

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-b35ae715,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-c11f2af5b5c4622dd0e551276b321279-e86f78219ad3f06b-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-c11f2af5b5c4622dd0e551276b321279-e86f78219ad3f06b-01
tracestate cptest=v1
user-agent grpc-dotnet/2.85.0 (.NET 10.0.15; CLR 10.0.15; net10.0; linux; x64)
test id
elastic-dotnet--http-grpc--dbe80015
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-ba9abc43,team=alpha
ot-baggage-routing-key rk-ba9abc43
traceparent 00-227c4b098c7fc009cda27fb701a0be93-6e064d7e88dd93a8-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-kafka--34095e01

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--http-kafka--34095e01
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-4366c0c3,team=alpha
ot-baggage-routing-key rk-4366c0c3
traceparent 00-b466d80a7f45a3be78017aa5747b3c01-5d91cec5c9b62096-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-rabbitmq--f14d5b14

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

baggage routing-key = rk-4366c0c3, team = alpha
traceparent 00-b466d80a7f45a3be78017aa5747b3c01-0270154681d534a3-01
tracestate cptest=v1
test id
elastic-dotnet--http-rabbitmq--f14d5b14
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent
gRPC HTTP baggage tracestate traceparent ot-baggage delivered via http native: present_same_trace

Seeded on the inbound gRPC metadata

baggage routing-key=rk-e009055f,team=alpha
ot-baggage-routing-key rk-e009055f
traceparent 00-13ae09426096d47ffa9cf39927e95625-b35de05e8e054051-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-http--60201da3

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-e009055f,team=alpha
content-type application/json; charset=utf-8
elastic-apm-traceparent 00-13ae09426096d47ffa9cf39927e95625-7441960275e83978-01
traceparent 00-13ae09426096d47ffa9cf39927e95625-7441960275e83978-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-http--60201da3
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent
gRPC gRPC baggage tracestate traceparent ot-baggage delivered via grpc native: present_same_trace

Seeded on the inbound gRPC metadata

baggage routing-key=rk-7ddaccc7,team=alpha
ot-baggage-routing-key rk-7ddaccc7
traceparent 00-a7eff19794dc3d7f110518b1ab4f1f44-505aa6c5afb7bda0-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-grpc--c05048bb

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-7ddaccc7,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-a7eff19794dc3d7f110518b1ab4f1f44-38c6ad5aa8913f58-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-a7eff19794dc3d7f110518b1ab4f1f44-38c6ad5aa8913f58-01
tracestate cptest=v1
user-agent grpc-dotnet/2.85.0 (.NET 10.0.15; CLR 10.0.15; net10.0; linux; x64)
test id
elastic-dotnet--grpc-grpc--c05048bb
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-1f34a884,team=alpha
ot-baggage-routing-key rk-1f34a884
traceparent 00-3d54ef581dec1ea799293a88559ba9a0-a592d9d201e64a11-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-kafka--9c34084a

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--grpc-kafka--9c34084a
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-7760578e,team=alpha
ot-baggage-routing-key rk-7760578e
traceparent 00-0a03e5ff6c6a6e9dd0fd13afdf8c1b51-3a10839925e31d8a-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-rabbitmq--5760b817

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

baggage routing-key = rk-7760578e, team = alpha
traceparent 00-0a03e5ff6c6a6e9dd0fd13afdf8c1b51-ca7d5786284c93ea-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-rabbitmq--5760b817
raw statuses
baggage=propagatedtracestate=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-ed9c9f30,team=alpha
ot-baggage-routing-key rk-ed9c9f30
traceparent 00-ed6ff2e09e2d69d620c465e24c071847-f73a37b75276e5fb-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-http--5ec69e2b

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-cfe581a48519d4294d57312540f8ce6a-253c6e7fca2320dc-00
test id
elastic-dotnet--kafka-http--5ec69e2b
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-67467555,team=alpha
ot-baggage-routing-key rk-67467555
traceparent 00-aab5bc359d7880621456a4ac2dd5d339-0e4bae5fd64e34b2-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-grpc--7ca9e892

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-f54a60229dc82190492a92547c744e3d-4200a8c6ce363aa8-00
user-agent grpc-dotnet/2.85.0 (.NET 10.0.15; CLR 10.0.15; net10.0; linux; x64)
test id
elastic-dotnet--kafka-grpc--7ca9e892
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-fbd74c7e,team=alpha
ot-baggage-routing-key rk-fbd74c7e
traceparent 00-8fe0dea37fef37bb27063fbf0102930d-7f5b9b370c8f3a35-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-kafka--80d8e121

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--kafka-kafka--80d8e121
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-547fac2d,team=alpha
ot-baggage-routing-key rk-547fac2d
traceparent 00-c6358c4fb45dd3bccaa4321efc061167-41f2584201b23139-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-rabbitmq--eff911d1

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

traceparent 00-06f1f0616ab3952c1ca20c5ff52436ff-260eb8a7c31a72e1-01
tracestate es=s:1
test id
elastic-dotnet--kafka-rabbitmq--eff911d1
raw statuses
baggage=absenttracestate=present_entry_losttraceparent=new_traceot_baggage=absent
RabbitMQ HTTP baggage tracestate traceparent ot-baggage delivered via http native: present_same_trace

Seeded on the inbound AMQP 0-9-1 message headers

baggage routing-key=rk-9fbbfff0,team=alpha
ot-baggage-routing-key rk-9fbbfff0
traceparent 00-8fbcb0d8d7161864f2d397a10d42eb70-018a2aadb8c7cac9-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-http--2f4083eb

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
elastic-apm-traceparent 00-8fbcb0d8d7161864f2d397a10d42eb70-18bf343b0c44f6e8-01
traceparent 00-8fbcb0d8d7161864f2d397a10d42eb70-18bf343b0c44f6e8-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-http--2f4083eb
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
RabbitMQ gRPC baggage tracestate traceparent ot-baggage delivered via grpc native: present_same_trace

Seeded on the inbound AMQP 0-9-1 message headers

baggage routing-key=rk-e27e4e87,team=alpha
ot-baggage-routing-key rk-e27e4e87
traceparent 00-19e18182f8eb3265bab2cdcbaf927338-c32dd5d7541fcb8f-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-grpc--2b1bca65

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-19e18182f8eb3265bab2cdcbaf927338-e31ac086f9587ad2-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-19e18182f8eb3265bab2cdcbaf927338-e31ac086f9587ad2-01
tracestate cptest=v1
user-agent grpc-dotnet/2.85.0 (.NET 10.0.15; CLR 10.0.15; net10.0; linux; x64)
test id
elastic-dotnet--rabbitmq-grpc--2b1bca65
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-9477f5f3,team=alpha
ot-baggage-routing-key rk-9477f5f3
traceparent 00-ca0a6da24a9d5517d18254823806ef2b-66b6ae5cef0ac503-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-kafka--43fd6976

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--rabbitmq-kafka--43fd6976
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-c9137646,team=alpha
ot-baggage-routing-key rk-c9137646
traceparent 00-491e35f11d70471845c86e3734c3c405-593cf61f9190c069-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-rabbitmq--d1d585c0

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

traceparent 00-491e35f11d70471845c86e3734c3c405-38068baf6125e680-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-rabbitmq--d1d585c0
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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