elastic-dotnet

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

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.28.6 1.28.6 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
10 Nov 2026, 07:50 UTC
Harness
9b99070 · measured in backtest-elastic-dotnet-1.28.6
Raw JSON
1.28.6.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-ef3d9beb,team=alpha
ot-baggage-routing-key rk-ef3d9beb
traceparent 00-357f567027ddbc0e4b96a476704515ec-4d83931be73358e7-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-http--d0b539a6

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-ef3d9beb,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-ef3d9beb, team=alpha
elastic-apm-traceparent 00-357f567027ddbc0e4b96a476704515ec-b8a03676b525ace7-01
traceparent 00-357f567027ddbc0e4b96a476704515ec-b8a03676b525ace7-01
tracestate cptest=v1
test id
elastic-dotnet--http-http--d0b539a6
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-fa8352ce,team=alpha
ot-baggage-routing-key rk-fa8352ce
traceparent 00-ea317219d5788ab7ffca2082888a8007-75fdafb381d82a22-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-grpc--29b90368

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-fa8352ce,team=alpha
content-type application/grpc
correlation-context routing-key=rk-fa8352ce, team=alpha
elastic-apm-traceparent 00-ea317219d5788ab7ffca2082888a8007-ca8003be259b52ee-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-ea317219d5788ab7ffca2082888a8007-ca8003be259b52ee-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--29b90368
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-a21fd0bf,team=alpha
ot-baggage-routing-key rk-a21fd0bf
traceparent 00-c1fac231e6e5a663f7274a6e71b8ea46-ae3b21a511cb8a84-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-kafka--3039b341

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--http-kafka--3039b341
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-1feeca18,team=alpha
ot-baggage-routing-key rk-1feeca18
traceparent 00-4b6bcfe19451df6dda6c536c45d40848-f2ea47dc6a4011d5-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-rabbitmq--0ea4d340

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

correlation-context routing-key=rk-1feeca18, team=alpha
traceparent 00-4b6bcfe19451df6dda6c536c45d40848-6ebab48d2660f975-01
tracestate cptest=v1
test id
elastic-dotnet--http-rabbitmq--0ea4d340
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-380aa30f,team=alpha
ot-baggage-routing-key rk-380aa30f
traceparent 00-7a496895693c005dd263ceb67a91e7be-7738f540cc9571b1-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-http--c17b364e

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-380aa30f,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-380aa30f, team=alpha
elastic-apm-traceparent 00-7a496895693c005dd263ceb67a91e7be-1bf7426ce6f5f205-01
traceparent 00-7a496895693c005dd263ceb67a91e7be-1bf7426ce6f5f205-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-http--c17b364e
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-fcaebbcb,team=alpha
ot-baggage-routing-key rk-fcaebbcb
traceparent 00-bba908622c49dec899ad0a23e11981ed-369f76ee2be3b538-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-grpc--ca3983dc

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-fcaebbcb,team=alpha
content-type application/grpc
correlation-context routing-key=rk-fcaebbcb, team=alpha
elastic-apm-traceparent 00-bba908622c49dec899ad0a23e11981ed-a0cd5b4f43e73afb-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-bba908622c49dec899ad0a23e11981ed-a0cd5b4f43e73afb-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--ca3983dc
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-0e5525c6,team=alpha
ot-baggage-routing-key rk-0e5525c6
traceparent 00-29cbfad48d86652e7519d250f7b5c1f0-ec0daf533686d5a7-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-kafka--7f97c55e

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--grpc-kafka--7f97c55e
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-9d24c242,team=alpha
ot-baggage-routing-key rk-9d24c242
traceparent 00-0707ef5ff83a9e289d5bf5df042869cd-bac04a174181aa61-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-rabbitmq--fd5487d1

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

correlation-context routing-key=rk-9d24c242, team=alpha
traceparent 00-0707ef5ff83a9e289d5bf5df042869cd-1110d2369eee0e20-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-rabbitmq--fd5487d1
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-aed96a63,team=alpha
ot-baggage-routing-key rk-aed96a63
traceparent 00-5ce404ad2e783e9830ac55998a01b315-0c03cbfaf9876f9d-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-http--5e3b97cb

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-5142f00d149fc8d58d886ab22e49a94b-2d8890c8a6dfe8bb-00
test id
elastic-dotnet--kafka-http--5e3b97cb
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-7e61ee0b,team=alpha
ot-baggage-routing-key rk-7e61ee0b
traceparent 00-17b5012a00b5c1984321f5931129769e-9441141734db8b21-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-grpc--c543f36c

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-fa0ffffdb96964a2a53bfd09e7ae29e3-1803210f1e6a6b24-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-fa0ffffdb96964a2a53bfd09e7ae29e3-1803210f1e6a6b24-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--c543f36c
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-ce286716,team=alpha
ot-baggage-routing-key rk-ce286716
traceparent 00-428523c1acc75fc06668f4a41f075878-9007c3267bae1af1-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-kafka--9b5f7a6d

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--kafka-kafka--9b5f7a6d
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-0274627f,team=alpha
ot-baggage-routing-key rk-0274627f
traceparent 00-0f6a1c69c3376d60ad60efda951c9f07-635523ad10cf1e87-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-rabbitmq--61d26ef1

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

traceparent 00-f4940f3105023ffff701b88e92570ea8-c4adfb8f38b8f172-01
tracestate es=s:1
test id
elastic-dotnet--kafka-rabbitmq--61d26ef1
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-fa5659fa,team=alpha
ot-baggage-routing-key rk-fa5659fa
traceparent 00-0e9e8b13c98a054e99668b2bfa1781ab-618c1518160267e6-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-http--bcbff067

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
elastic-apm-traceparent 00-0e9e8b13c98a054e99668b2bfa1781ab-a120e1a4d357b0aa-01
traceparent 00-0e9e8b13c98a054e99668b2bfa1781ab-a120e1a4d357b0aa-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-http--bcbff067
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-7606fe74,team=alpha
ot-baggage-routing-key rk-7606fe74
traceparent 00-d9bb3c91152c0b7878dc8636aeb4d7f4-f1cca64a5a1f22a4-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-grpc--c526d7f8

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-d9bb3c91152c0b7878dc8636aeb4d7f4-daa5d76ece8cefb5-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-d9bb3c91152c0b7878dc8636aeb4d7f4-daa5d76ece8cefb5-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--c526d7f8
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-6e44349c,team=alpha
ot-baggage-routing-key rk-6e44349c
traceparent 00-6f488ef508a50f38bf333b0184f3a9ac-63ea588f06cb4335-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-kafka--fcb66a60

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--rabbitmq-kafka--fcb66a60
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-e535f621,team=alpha
ot-baggage-routing-key rk-e535f621
traceparent 00-9f186b0320bd30c3812e04367db5c3d6-f658e9bcca0976eb-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-rabbitmq--a3209f9c

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

traceparent 00-9f186b0320bd30c3812e04367db5c3d6-0dff09abae244861-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-rabbitmq--a3209f9c
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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