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
24 Nov 2026, 14:16 UTC
Harness
bb737a4 · run run-2026-11-24.4
Raw JSON
run-2026-11-24.4.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-8742e163,team=alpha
ot-baggage-routing-key rk-8742e163
traceparent 00-6b5f828de653a1bf20a60c5d0315564a-8619d802ef879d06-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-http--31b1ca03

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-8742e163,team=alpha
content-type application/json; charset=utf-8
elastic-apm-traceparent 00-6b5f828de653a1bf20a60c5d0315564a-fd4ccf1696f79c29-01
traceparent 00-6b5f828de653a1bf20a60c5d0315564a-fd4ccf1696f79c29-01
tracestate cptest=v1
test id
elastic-dotnet--http-http--31b1ca03
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-8fe18608,team=alpha
ot-baggage-routing-key rk-8fe18608
traceparent 00-80fbaa5f33dc54758363fa11281468be-a6bf7cfbbbea89c1-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-grpc--f2fed434

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-8fe18608,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-80fbaa5f33dc54758363fa11281468be-cf707dac0a47afaf-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-80fbaa5f33dc54758363fa11281468be-cf707dac0a47afaf-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--f2fed434
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-b4b06711,team=alpha
ot-baggage-routing-key rk-b4b06711
traceparent 00-4b0f67d018bbb5b8fedde95f4ed5b56f-7008234e8bf5e921-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-kafka--5cf35577

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--http-kafka--5cf35577
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-f082ff40,team=alpha
ot-baggage-routing-key rk-f082ff40
traceparent 00-2f8c9e804b7500696531f46a6b3a7392-6075c8e407fc4300-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-rabbitmq--07f2b3bf

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

baggage routing-key = rk-f082ff40, team = alpha
traceparent 00-2f8c9e804b7500696531f46a6b3a7392-e71a3df9e3fb734d-01
tracestate cptest=v1
test id
elastic-dotnet--http-rabbitmq--07f2b3bf
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-37b89285,team=alpha
ot-baggage-routing-key rk-37b89285
traceparent 00-d293c3f457a9f155c78ee61a3ff9fa84-312a93e532520851-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-http--df7cf879

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-37b89285,team=alpha
content-type application/json; charset=utf-8
elastic-apm-traceparent 00-d293c3f457a9f155c78ee61a3ff9fa84-6bd0dd7da3811b19-01
traceparent 00-d293c3f457a9f155c78ee61a3ff9fa84-6bd0dd7da3811b19-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-http--df7cf879
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-0f8d8890,team=alpha
ot-baggage-routing-key rk-0f8d8890
traceparent 00-75a26b386732083288fb9bdda4dbcf4e-f519f3556066acc7-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-grpc--672ac3b3

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-0f8d8890,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-75a26b386732083288fb9bdda4dbcf4e-e7eba86d7e0c94b6-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-75a26b386732083288fb9bdda4dbcf4e-e7eba86d7e0c94b6-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--672ac3b3
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-872ed4ee,team=alpha
ot-baggage-routing-key rk-872ed4ee
traceparent 00-86a3ab2a834739dd3dc65ff9496114fe-02c4584127ae8cd0-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-kafka--4359dedd

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--grpc-kafka--4359dedd
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-a4630262,team=alpha
ot-baggage-routing-key rk-a4630262
traceparent 00-f8295809222d8225483d461b8d226b6e-4f90c5a96f2c43b3-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-rabbitmq--8189044c

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

baggage routing-key = rk-a4630262, team = alpha
traceparent 00-f8295809222d8225483d461b8d226b6e-f37d2d31f828c5b8-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-rabbitmq--8189044c
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-e7e4a9ae,team=alpha
ot-baggage-routing-key rk-e7e4a9ae
traceparent 00-1f270328e79cf6bd4b6f4f776c509de3-49adbc43e61b4361-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-http--80283c98

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-d3c6c944f59404aebf16797cc6bf565b-f17465d94e2a5cd8-00
test id
elastic-dotnet--kafka-http--80283c98
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-e29b52f5,team=alpha
ot-baggage-routing-key rk-e29b52f5
traceparent 00-051ae3738788b6702ec106ce3d3b27b7-53d723001ac2086d-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-grpc--299a6c7c

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-260b36295714c54bdac0fcd65aa17136-3b9670c7b906b5be-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--299a6c7c
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-018b3e51,team=alpha
ot-baggage-routing-key rk-018b3e51
traceparent 00-5ea884f38cb30c0a499979e67daa5228-228ce680193929aa-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-kafka--94e64324

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--kafka-kafka--94e64324
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-ced49436,team=alpha
ot-baggage-routing-key rk-ced49436
traceparent 00-49359c12404f137cb6dc3a07512fcc51-d5f21672faf655ed-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-rabbitmq--a9368166

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

traceparent 00-9bec696a6c616e7f97645c241454c843-6f3a03d7bc4bb849-01
tracestate es=s:1
test id
elastic-dotnet--kafka-rabbitmq--a9368166
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-73b66c69,team=alpha
ot-baggage-routing-key rk-73b66c69
traceparent 00-589463780aa71601e8f23a8647c06022-10512c4892352304-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-http--fd49c623

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
elastic-apm-traceparent 00-589463780aa71601e8f23a8647c06022-4ed7ac94e0091092-01
traceparent 00-589463780aa71601e8f23a8647c06022-4ed7ac94e0091092-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-http--fd49c623
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-4b9edb30,team=alpha
ot-baggage-routing-key rk-4b9edb30
traceparent 00-f9908a062b1206e048b87f5b97b7b5a2-61dfd40202667aad-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-grpc--4aaebe95

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-f9908a062b1206e048b87f5b97b7b5a2-0d83a53fdace54c8-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-f9908a062b1206e048b87f5b97b7b5a2-0d83a53fdace54c8-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--4aaebe95
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-1cf71dcc,team=alpha
ot-baggage-routing-key rk-1cf71dcc
traceparent 00-668e0dabc1efcdb28b7379af461d9ee2-c5dca27cf3706e79-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-kafka--6f10dbb4

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--rabbitmq-kafka--6f10dbb4
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-24e9ab54,team=alpha
ot-baggage-routing-key rk-24e9ab54
traceparent 00-e301c1b3de9c328c0d05b8b2db91094e-50f6f8c6682daa45-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-rabbitmq--126c6cca

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

traceparent 00-e301c1b3de9c328c0d05b8b2db91094e-ed4f3eb59d5e9b44-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-rabbitmq--126c6cca
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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