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
30 Nov 2026, 06:44 UTC
Harness
ae4b9c9 · run run-2026-11-30.1
Raw JSON
run-2026-11-30.1.json → variants[id = "elastic-dotnet"]

Libraries

grpcGrpc.AspNetCore + Grpc.Net.Client 2.85.0
httpHttpClient
kafkaConfluent.Kafka 2.16.0
rabbitmqRabbitMQ.Client 7.3.0

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-ddd355ef,team=alpha
ot-baggage-routing-key rk-ddd355ef
traceparent 00-b342f6f1ea730f421a93924815575962-1751c6a1f52a473d-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-http--ea718a84

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-ddd355ef,team=alpha
content-type application/json; charset=utf-8
elastic-apm-traceparent 00-b342f6f1ea730f421a93924815575962-2f898b1100e1dcb9-01
traceparent 00-b342f6f1ea730f421a93924815575962-2f898b1100e1dcb9-01
tracestate cptest=v1
test id
elastic-dotnet--http-http--ea718a84
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-9ffd2c0d,team=alpha
ot-baggage-routing-key rk-9ffd2c0d
traceparent 00-552562b5d906186dfb4d2c40aac5cef7-8ad4e50b724b483e-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-grpc--57b7847b

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-9ffd2c0d,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-552562b5d906186dfb4d2c40aac5cef7-f68221d62bdcdab5-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-552562b5d906186dfb4d2c40aac5cef7-f68221d62bdcdab5-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--57b7847b
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-fcb586dd,team=alpha
ot-baggage-routing-key rk-fcb586dd
traceparent 00-fa7d02026b5de849e9f2eb7fdc320fa3-eb6e7a4124c806b4-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-kafka--d07142c8

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--http-kafka--d07142c8
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-273e44ff,team=alpha
ot-baggage-routing-key rk-273e44ff
traceparent 00-1a6ef50fa6e6a9717cbefe74c8e883b4-2f8f04233a488f98-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-rabbitmq--f3ebf06b

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

baggage routing-key = rk-273e44ff, team = alpha
traceparent 00-1a6ef50fa6e6a9717cbefe74c8e883b4-69efa751da6c7636-01
tracestate cptest=v1
test id
elastic-dotnet--http-rabbitmq--f3ebf06b
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-48ae5b40,team=alpha
ot-baggage-routing-key rk-48ae5b40
traceparent 00-b67c43944f6a67c634ff9f65870c0d80-84e83cc6fabbb642-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-http--b809ebc8

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-48ae5b40,team=alpha
content-type application/json; charset=utf-8
elastic-apm-traceparent 00-b67c43944f6a67c634ff9f65870c0d80-88c56ef3f9b1ab6a-01
traceparent 00-b67c43944f6a67c634ff9f65870c0d80-88c56ef3f9b1ab6a-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-http--b809ebc8
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-2bb43b7e,team=alpha
ot-baggage-routing-key rk-2bb43b7e
traceparent 00-f77f42942519b417cae923509099c0ff-7ed508ae6c99f117-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-grpc--ab300adf

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-2bb43b7e,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-f77f42942519b417cae923509099c0ff-f27a29c45574eabc-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-f77f42942519b417cae923509099c0ff-f27a29c45574eabc-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--ab300adf
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-18915b7c,team=alpha
ot-baggage-routing-key rk-18915b7c
traceparent 00-5d3be9cf0a8f8020fb95d51574657f32-a6c12c1014b003f3-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-kafka--ade77870

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--grpc-kafka--ade77870
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-bfde1d99,team=alpha
ot-baggage-routing-key rk-bfde1d99
traceparent 00-0b2f24d594ce58cebac7740ddc68c37a-81e537d95c4a1ece-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-rabbitmq--52801dda

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

baggage routing-key = rk-bfde1d99, team = alpha
traceparent 00-0b2f24d594ce58cebac7740ddc68c37a-6f18e8873a32d0e4-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-rabbitmq--52801dda
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-be57e0ac,team=alpha
ot-baggage-routing-key rk-be57e0ac
traceparent 00-6f9cfc1e5f1bf5c259a6c473425426ca-c184bfc73ce5c46a-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-http--1c086f51

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-4edca961e6f9d6de0d9ed89fee24a233-e24724f54c14c086-00
test id
elastic-dotnet--kafka-http--1c086f51
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-e1668cac,team=alpha
ot-baggage-routing-key rk-e1668cac
traceparent 00-f23d0046a492b5f418b68b710e6be7ba-4aa418413734a509-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-grpc--445637f6

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-ba1047729a216d0e14deb3b428df8cd5-83e76bf6af7c76b0-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--445637f6
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-36271e83,team=alpha
ot-baggage-routing-key rk-36271e83
traceparent 00-1a7c120ea84416567e107e529a8ee962-a3b610dd2ad5d01a-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-kafka--e8fdd0fe

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--kafka-kafka--e8fdd0fe
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-aa415bab,team=alpha
ot-baggage-routing-key rk-aa415bab
traceparent 00-5a5a0c9e75b8dcd8a37204e9fd6c4ff3-88bf3187ef326015-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-rabbitmq--5cf06f9a

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

traceparent 00-d0d810495bf65310e694ccac62b487bc-c0efab4fce6c369a-01
tracestate es=s:1
test id
elastic-dotnet--kafka-rabbitmq--5cf06f9a
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-70d47d73,team=alpha
ot-baggage-routing-key rk-70d47d73
traceparent 00-431f420eb2aa40a8e05237f7fbd338ae-6c1e93a4d360b42d-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-http--9afdbc34

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
elastic-apm-traceparent 00-431f420eb2aa40a8e05237f7fbd338ae-5b8c75bb9d817b9d-01
traceparent 00-431f420eb2aa40a8e05237f7fbd338ae-5b8c75bb9d817b9d-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-http--9afdbc34
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-6fe35646,team=alpha
ot-baggage-routing-key rk-6fe35646
traceparent 00-c2bb15723dc1a80e9207e4b3226ab2e2-9b4d6cfcdb42da37-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-grpc--bf59668f

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-c2bb15723dc1a80e9207e4b3226ab2e2-53fd52d6faedb6ad-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-c2bb15723dc1a80e9207e4b3226ab2e2-53fd52d6faedb6ad-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--bf59668f
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-4418f557,team=alpha
ot-baggage-routing-key rk-4418f557
traceparent 00-6b6b04d8e657536bc7b490c4318c7a0c-b357197fa8215389-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-kafka--953f2f2a

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--rabbitmq-kafka--953f2f2a
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-9901f372,team=alpha
ot-baggage-routing-key rk-9901f372
traceparent 00-cc041ed62ff5d9d24428a84562c7e564-b4049734ab020199-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-rabbitmq--dbd8ccaa

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

traceparent 00-cc041ed62ff5d9d24428a84562c7e564-a0c44a046ad82b44-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-rabbitmq--dbd8ccaa
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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