elastic-dotnet

.NET zero-code elastic-apm-dotnet1.34.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.34.6 1.34.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
1 Nov 2026, 05:41 UTC
Harness
e793604 · measured in backtest-elastic-dotnet-1.34.6
Raw JSON
1.34.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-956d129c,team=alpha
ot-baggage-routing-key rk-956d129c
traceparent 00-42c14068aba0243184c146cb5dc3aed0-b2b44300653984ed-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-http--6b828316

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-956d129c,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-956d129c, team=alpha
elastic-apm-traceparent 00-42c14068aba0243184c146cb5dc3aed0-4cc8e4c172337736-01
traceparent 00-42c14068aba0243184c146cb5dc3aed0-4cc8e4c172337736-01
tracestate cptest=v1
test id
elastic-dotnet--http-http--6b828316
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-22166762,team=alpha
ot-baggage-routing-key rk-22166762
traceparent 00-84a88a8746c2a43df8caeca2185f3b09-01b69cee71281de7-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-grpc--05c428b5

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-22166762,team=alpha
content-type application/grpc
correlation-context routing-key=rk-22166762, team=alpha
elastic-apm-traceparent 00-84a88a8746c2a43df8caeca2185f3b09-1b6d8379fef3e3ed-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-84a88a8746c2a43df8caeca2185f3b09-1b6d8379fef3e3ed-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--05c428b5
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-058a4b94,team=alpha
ot-baggage-routing-key rk-058a4b94
traceparent 00-7a468a295e74415ab611c156850cf1a4-e87e1c79f6b4a5c7-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-kafka--42a6dc44

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--http-kafka--42a6dc44
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-242e60f1,team=alpha
ot-baggage-routing-key rk-242e60f1
traceparent 00-bcf530ba76eb0825b59db9f1bf8f7071-8d2d79f37d04da87-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-rabbitmq--f736de85

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

correlation-context routing-key=rk-242e60f1, team=alpha
traceparent 00-bcf530ba76eb0825b59db9f1bf8f7071-acb89bc37c857166-01
tracestate cptest=v1
test id
elastic-dotnet--http-rabbitmq--f736de85
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-01d3c37c,team=alpha
ot-baggage-routing-key rk-01d3c37c
traceparent 00-5ed09ab42fecc5d84ec69c2eeee49b15-d6a96cca4fee188e-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-http--db9a84e9

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-01d3c37c,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-01d3c37c, team=alpha
elastic-apm-traceparent 00-5ed09ab42fecc5d84ec69c2eeee49b15-b88c80f5f5c65f97-01
traceparent 00-5ed09ab42fecc5d84ec69c2eeee49b15-b88c80f5f5c65f97-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-http--db9a84e9
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-d86ce097,team=alpha
ot-baggage-routing-key rk-d86ce097
traceparent 00-a72ac71b856e0537e18f536ac51b00dc-acd9eca3644306b2-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-grpc--f35574a7

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-d86ce097,team=alpha
content-type application/grpc
correlation-context routing-key=rk-d86ce097, team=alpha
elastic-apm-traceparent 00-a72ac71b856e0537e18f536ac51b00dc-286fd0c334a207ca-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-a72ac71b856e0537e18f536ac51b00dc-286fd0c334a207ca-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--f35574a7
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-632ecdd1,team=alpha
ot-baggage-routing-key rk-632ecdd1
traceparent 00-a854ca046d8b24e4f741aaedd739f944-f6e6f1c891f95867-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-kafka--4e5f0761

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--grpc-kafka--4e5f0761
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-722ea479,team=alpha
ot-baggage-routing-key rk-722ea479
traceparent 00-c046705f6e7e4d9eae27f731b03d231c-46912bc0eeb9ad36-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-rabbitmq--4fc1dc27

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

correlation-context routing-key=rk-722ea479, team=alpha
traceparent 00-c046705f6e7e4d9eae27f731b03d231c-f21638a3e33cd956-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-rabbitmq--4fc1dc27
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-143101f3,team=alpha
ot-baggage-routing-key rk-143101f3
traceparent 00-694d908102ccc2e74f5e51dbe2e2b50d-6842592732a3cad7-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-http--40dff287

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-7585c14b080cfbda14bc2292b507a358-3b23cb736f1855d0-00
test id
elastic-dotnet--kafka-http--40dff287
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-ff17a3c1,team=alpha
ot-baggage-routing-key rk-ff17a3c1
traceparent 00-1bd24ed5d4e0e2b3d28bf1a0d8fb3200-1f48302047a8dbd0-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-grpc--1a1f384b

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-12060ae9b6c214321ca37624b9dc0652-809fa03e70488b74-00
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--1a1f384b
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-acfd3c5e,team=alpha
ot-baggage-routing-key rk-acfd3c5e
traceparent 00-81d525db8d1e3e8912e6b3efbb836f1d-3977d98427cfb8f5-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-kafka--c4d8d42d

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--kafka-kafka--c4d8d42d
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-b42985c4,team=alpha
ot-baggage-routing-key rk-b42985c4
traceparent 00-864aad6f0c12b8b72bdc1b666a5f9aeb-d830061a31cbd371-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-rabbitmq--6f397596

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

traceparent 00-8a4d67e442447de39cdd2ef1070642ac-fcff32f53554a311-01
tracestate es=s:1
test id
elastic-dotnet--kafka-rabbitmq--6f397596
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-f6d46ff6,team=alpha
ot-baggage-routing-key rk-f6d46ff6
traceparent 00-fb43ef87ac351a0e988dab22e044fc4a-100d2d59c578eff5-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-http--229621f9

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
elastic-apm-traceparent 00-fb43ef87ac351a0e988dab22e044fc4a-39efba4705a14da7-01
traceparent 00-fb43ef87ac351a0e988dab22e044fc4a-39efba4705a14da7-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-http--229621f9
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-3e33237a,team=alpha
ot-baggage-routing-key rk-3e33237a
traceparent 00-355c0218ca7508cf8eca141fa5dabc58-12f9ea25155153c5-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-grpc--a950edce

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-355c0218ca7508cf8eca141fa5dabc58-9938e2230e55ec1b-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-355c0218ca7508cf8eca141fa5dabc58-9938e2230e55ec1b-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--a950edce
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-fd9dd20b,team=alpha
ot-baggage-routing-key rk-fd9dd20b
traceparent 00-dd6e8765bbf1d0eca6c70079e7d298d6-8477c8a5e732229f-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-kafka--666f24ec

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--rabbitmq-kafka--666f24ec
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-abf7ccf3,team=alpha
ot-baggage-routing-key rk-abf7ccf3
traceparent 00-29ec2ab9ffc04622fa19f6c5eb2f1193-d1f933e45ab40f28-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-rabbitmq--3d6b3134

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

traceparent 00-29ec2ab9ffc04622fa19f6c5eb2f1193-7fd78e11e6a6a77f-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-rabbitmq--3d6b3134
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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