elastic-dotnet

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

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.32.2 1.32.2 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, 19:55 UTC
Harness
9b99070 · measured in backtest-elastic-dotnet-1.32.2
Raw JSON
1.32.2.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-89368eb7,team=alpha
ot-baggage-routing-key rk-89368eb7
traceparent 00-71acf7a4a33f351c1a9dd7df9d3ff2f2-539cefa407cbbf52-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-http--27674bdb

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-89368eb7,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-89368eb7, team=alpha
elastic-apm-traceparent 00-71acf7a4a33f351c1a9dd7df9d3ff2f2-02c0428638afd680-01
traceparent 00-71acf7a4a33f351c1a9dd7df9d3ff2f2-02c0428638afd680-01
tracestate cptest=v1
test id
elastic-dotnet--http-http--27674bdb
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-27c3db6a,team=alpha
ot-baggage-routing-key rk-27c3db6a
traceparent 00-ce3d09be2ed7421833e49da0cb572e4c-09070ffb13ba005d-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-grpc--f50716d2

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-27c3db6a,team=alpha
content-type application/grpc
correlation-context routing-key=rk-27c3db6a, team=alpha
elastic-apm-traceparent 00-ce3d09be2ed7421833e49da0cb572e4c-6fb9352627370d7b-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-ce3d09be2ed7421833e49da0cb572e4c-6fb9352627370d7b-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--f50716d2
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-cc41444d,team=alpha
ot-baggage-routing-key rk-cc41444d
traceparent 00-9f977144afdef69c1a4af5be1862b618-6e1ea070c5075ff7-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-kafka--adc00689

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--http-kafka--adc00689
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-7f9c6aef,team=alpha
ot-baggage-routing-key rk-7f9c6aef
traceparent 00-276b45edc7c50b4549d5caa79dc40295-acdf274b3fcd4069-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-rabbitmq--69f42fe5

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

correlation-context routing-key=rk-7f9c6aef, team=alpha
traceparent 00-276b45edc7c50b4549d5caa79dc40295-c28bf063ed02f981-01
tracestate cptest=v1
test id
elastic-dotnet--http-rabbitmq--69f42fe5
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-6607403a,team=alpha
ot-baggage-routing-key rk-6607403a
traceparent 00-6330b42e3bed9fd6f29267547bf133ea-a584d475e35c76c1-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-http--c7c550ad

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-6607403a,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-6607403a, team=alpha
elastic-apm-traceparent 00-6330b42e3bed9fd6f29267547bf133ea-24795341ffb8dbca-01
traceparent 00-6330b42e3bed9fd6f29267547bf133ea-24795341ffb8dbca-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-http--c7c550ad
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-7e8ada49,team=alpha
ot-baggage-routing-key rk-7e8ada49
traceparent 00-ad4e912c85662c744e391cd5cbc5e259-263d31fb21827445-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-grpc--d42fd535

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-7e8ada49,team=alpha
content-type application/grpc
correlation-context routing-key=rk-7e8ada49, team=alpha
elastic-apm-traceparent 00-ad4e912c85662c744e391cd5cbc5e259-a727d169900caa30-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-ad4e912c85662c744e391cd5cbc5e259-a727d169900caa30-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--d42fd535
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-b4debd0e,team=alpha
ot-baggage-routing-key rk-b4debd0e
traceparent 00-c68d4f40fbfd85e6deeec80bef51be52-056a516cdefb090e-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-kafka--6243debf

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--grpc-kafka--6243debf
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-c3709eb1,team=alpha
ot-baggage-routing-key rk-c3709eb1
traceparent 00-c3f1bfe4094f0082c7a9bd653cd4ff8f-32699f217b79bac2-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-rabbitmq--f2b5b26b

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

correlation-context routing-key=rk-c3709eb1, team=alpha
traceparent 00-c3f1bfe4094f0082c7a9bd653cd4ff8f-26ab36cfc467a464-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-rabbitmq--f2b5b26b
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-9c4479aa,team=alpha
ot-baggage-routing-key rk-9c4479aa
traceparent 00-0277c0a8d3c189a83b383ade3ab3dc22-e0a1fc79f2370597-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-http--dfefa365

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-63c497a0e0d73f3fa4c5e6c4aa5780f0-3719fee2523ca6a9-00
test id
elastic-dotnet--kafka-http--dfefa365
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-d8a79269,team=alpha
ot-baggage-routing-key rk-d8a79269
traceparent 00-008b56f722b47642b4155d03f304a340-c9e57f4ffc03009a-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-grpc--6c714feb

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-b3c7db47372a5bdc1e13cbb05a8cf6ef-4a6a07ac33253f8b-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-b3c7db47372a5bdc1e13cbb05a8cf6ef-4a6a07ac33253f8b-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--6c714feb
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-5f56c2dd,team=alpha
ot-baggage-routing-key rk-5f56c2dd
traceparent 00-cecabd4a3203f24619f4fa5d38251f5c-a84b523b9d2bdb9c-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-kafka--0f36d473

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--kafka-kafka--0f36d473
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-1f400159,team=alpha
ot-baggage-routing-key rk-1f400159
traceparent 00-e660f381bb7ebab22af1bb960f4fbcfd-a2f94607b7b241cd-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-rabbitmq--17b87af5

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

traceparent 00-a7de9b019dc7bcd8efde7f5e6e8a970e-dcf9f4741c02e5e4-01
tracestate es=s:1
test id
elastic-dotnet--kafka-rabbitmq--17b87af5
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-e74967a4,team=alpha
ot-baggage-routing-key rk-e74967a4
traceparent 00-f6104989c24604e2b8b26492384b1c93-7a6032ef8866e94d-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-http--1d3559ba

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
elastic-apm-traceparent 00-f6104989c24604e2b8b26492384b1c93-3fe3fc6d3f6f39a7-01
traceparent 00-f6104989c24604e2b8b26492384b1c93-3fe3fc6d3f6f39a7-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-http--1d3559ba
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-7eb43952,team=alpha
ot-baggage-routing-key rk-7eb43952
traceparent 00-93b294ccf12c9141ba2f9ce0536d1d4d-a10235b54267883c-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-grpc--784b662b

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-93b294ccf12c9141ba2f9ce0536d1d4d-48ab2e5365389f72-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-93b294ccf12c9141ba2f9ce0536d1d4d-48ab2e5365389f72-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--784b662b
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-8c5e266c,team=alpha
ot-baggage-routing-key rk-8c5e266c
traceparent 00-9725b0ffbec77778309d9ccbb33e13c2-f47103e8ad8b2bc4-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-kafka--1185f209

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--rabbitmq-kafka--1185f209
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-ca1b2641,team=alpha
ot-baggage-routing-key rk-ca1b2641
traceparent 00-7383f4af85f099fd40303f29c3c709f7-be28a6f404d57273-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-rabbitmq--b3a002ed

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

traceparent 00-7383f4af85f099fd40303f29c3c709f7-addfe1bd52bcb4b8-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-rabbitmq--b3a002ed
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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