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
25 Nov 2026, 00:15 UTC
Harness
b9a3348 · run run-2026-11-25.1
Raw JSON
run-2026-11-25.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-5e87aec8,team=alpha
ot-baggage-routing-key rk-5e87aec8
traceparent 00-057e612b1d21b0d08a12c2ccffe9ad49-2225546251ce425e-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-http--a0bc9e48

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-5e87aec8,team=alpha
content-type application/json; charset=utf-8
elastic-apm-traceparent 00-057e612b1d21b0d08a12c2ccffe9ad49-d26ff0103f4a148c-01
traceparent 00-057e612b1d21b0d08a12c2ccffe9ad49-d26ff0103f4a148c-01
tracestate cptest=v1
test id
elastic-dotnet--http-http--a0bc9e48
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-df94ebc2,team=alpha
ot-baggage-routing-key rk-df94ebc2
traceparent 00-b6e783299e7615c5f385de2ab93fcfde-d01040ad20a0fbad-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-grpc--351b335a

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-df94ebc2,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-b6e783299e7615c5f385de2ab93fcfde-f680d86294ea61ba-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-b6e783299e7615c5f385de2ab93fcfde-f680d86294ea61ba-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--351b335a
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-d6420e84,team=alpha
ot-baggage-routing-key rk-d6420e84
traceparent 00-a968caf340f88478dd85756ad2d69ac0-bd2e49ff3d7d895c-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-kafka--fb2ef004

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--http-kafka--fb2ef004
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-be1d560b,team=alpha
ot-baggage-routing-key rk-be1d560b
traceparent 00-ff7aa24402b241494985f5453ded4d3b-1f67fdf8f60540b6-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-rabbitmq--3796946a

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

baggage routing-key = rk-be1d560b, team = alpha
traceparent 00-ff7aa24402b241494985f5453ded4d3b-a72ae40159fd0629-01
tracestate cptest=v1
test id
elastic-dotnet--http-rabbitmq--3796946a
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-959dbd4d,team=alpha
ot-baggage-routing-key rk-959dbd4d
traceparent 00-3d43bbd0f85b3d8f5cacb76db61d108b-d393845b06a2d47c-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-http--a5c087e8

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-959dbd4d,team=alpha
content-type application/json; charset=utf-8
elastic-apm-traceparent 00-3d43bbd0f85b3d8f5cacb76db61d108b-d19ad52d126c42f8-01
traceparent 00-3d43bbd0f85b3d8f5cacb76db61d108b-d19ad52d126c42f8-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-http--a5c087e8
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-b6441983,team=alpha
ot-baggage-routing-key rk-b6441983
traceparent 00-f178720eb1ea9f6ac94598a4d8aae3a1-bf136a47f3c79dce-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-grpc--b94d9a29

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-b6441983,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-f178720eb1ea9f6ac94598a4d8aae3a1-8117db77d07e6e25-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-f178720eb1ea9f6ac94598a4d8aae3a1-8117db77d07e6e25-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--b94d9a29
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-c846b9a6,team=alpha
ot-baggage-routing-key rk-c846b9a6
traceparent 00-2d765703b83b3a6b2c64da869c02b75a-4d34ba242287800e-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-kafka--efb551a0

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--grpc-kafka--efb551a0
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-6a4f60e6,team=alpha
ot-baggage-routing-key rk-6a4f60e6
traceparent 00-362675972fba7b57a6389a23b0ade1c6-7b68a6634ad9812e-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-rabbitmq--f1668e73

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

baggage routing-key = rk-6a4f60e6, team = alpha
traceparent 00-362675972fba7b57a6389a23b0ade1c6-9f7ef7b1fa0d9f5c-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-rabbitmq--f1668e73
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-b782c71f,team=alpha
ot-baggage-routing-key rk-b782c71f
traceparent 00-1ebf26e4f45fc9ff6dffd4f4cd3f7b11-85da1641da737f6b-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-http--2b43a59b

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-5782f49c40868bc83b20ac9723ad6e9c-ca0eb0f42a1a9a90-00
test id
elastic-dotnet--kafka-http--2b43a59b
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-a3f041cb,team=alpha
ot-baggage-routing-key rk-a3f041cb
traceparent 00-321816d034a4fefad9785fea9acd5fa8-9a9e852beccef96e-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-grpc--8e3a76ed

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-f366df6ff5b6c1636422aea0cb792afc-5d00b9060230d561-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--8e3a76ed
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-9340045f,team=alpha
ot-baggage-routing-key rk-9340045f
traceparent 00-f9ce99cff59308ed13650b88e6044e4c-32cdb37aab297248-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-kafka--01ecb804

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--kafka-kafka--01ecb804
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-c22dac5e,team=alpha
ot-baggage-routing-key rk-c22dac5e
traceparent 00-b82e470e76b7b316564d48f467dae644-7c6173fa2d3cc205-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-rabbitmq--5b44ec78

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

traceparent 00-f419e1799ee24dc4edbbc1e6a2eef403-5875375f77677d1a-01
tracestate es=s:1
test id
elastic-dotnet--kafka-rabbitmq--5b44ec78
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-0b8924b7,team=alpha
ot-baggage-routing-key rk-0b8924b7
traceparent 00-a40200880e35a42368570160a8b318b8-9ff48dd4d4994a6d-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-http--4c45618f

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
elastic-apm-traceparent 00-a40200880e35a42368570160a8b318b8-b7a4ab68f44b5d78-01
traceparent 00-a40200880e35a42368570160a8b318b8-b7a4ab68f44b5d78-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-http--4c45618f
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-c001fa6c,team=alpha
ot-baggage-routing-key rk-c001fa6c
traceparent 00-62167f2f9cf860f3d26ecd0616f4504c-ecd6878bd66ce3a2-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-grpc--c03a086b

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-62167f2f9cf860f3d26ecd0616f4504c-3f9cc94737e43b66-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-62167f2f9cf860f3d26ecd0616f4504c-3f9cc94737e43b66-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--c03a086b
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-995f2761,team=alpha
ot-baggage-routing-key rk-995f2761
traceparent 00-57e6b3082439379483f5ada55ed57ced-8680762a30015bdf-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-kafka--17f88583

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--rabbitmq-kafka--17f88583
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-44678faa,team=alpha
ot-baggage-routing-key rk-44678faa
traceparent 00-1d257e79484123f86e7476c5b436e2c3-aad61bdfc669cc7f-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-rabbitmq--b7f222e6

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

traceparent 00-1d257e79484123f86e7476c5b436e2c3-34e38cb30c8b92ca-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-rabbitmq--b7f222e6
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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