elastic-dotnet

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

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.7 1.34.7 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, 13:06 UTC
Harness
9beafb3 · measured in run-2026-11-09.3
Raw JSON
1.34.7.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-789ef780,team=alpha
ot-baggage-routing-key rk-789ef780
traceparent 00-161822f1efcfa2961e71c61077040ad8-e78bde15665df4f0-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-http--ff782a37

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-789ef780,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-789ef780, team=alpha
elastic-apm-traceparent 00-161822f1efcfa2961e71c61077040ad8-a372ec8e03e6822d-01
traceparent 00-161822f1efcfa2961e71c61077040ad8-a372ec8e03e6822d-01
tracestate cptest=v1
test id
elastic-dotnet--http-http--ff782a37
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-a172cea4,team=alpha
ot-baggage-routing-key rk-a172cea4
traceparent 00-13495c3bb87dea636059a747eea68d8d-ac539bc21cf7c612-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-grpc--8d326de0

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-a172cea4,team=alpha
content-type application/grpc
correlation-context routing-key=rk-a172cea4, team=alpha
elastic-apm-traceparent 00-13495c3bb87dea636059a747eea68d8d-46f4a04fbbc76029-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-13495c3bb87dea636059a747eea68d8d-46f4a04fbbc76029-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--8d326de0
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-b1f1d079,team=alpha
ot-baggage-routing-key rk-b1f1d079
traceparent 00-a24f654387a190d66842f536cbd3e30d-c32c62f0c8520392-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-kafka--dd04722f

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--http-kafka--dd04722f
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-d4eb8617,team=alpha
ot-baggage-routing-key rk-d4eb8617
traceparent 00-bb272092edcf4e9bc09fd52276da74d2-2e51b68515cacd91-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-rabbitmq--5988d244

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

correlation-context routing-key=rk-d4eb8617, team=alpha
traceparent 00-bb272092edcf4e9bc09fd52276da74d2-7cf951b3063dd2e7-01
tracestate cptest=v1
test id
elastic-dotnet--http-rabbitmq--5988d244
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-4edb8608,team=alpha
ot-baggage-routing-key rk-4edb8608
traceparent 00-478a19aa447c084e56ae89891e32ab5f-09ca94a5ad3eb88e-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-http--76a74ded

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-4edb8608,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-4edb8608, team=alpha
elastic-apm-traceparent 00-478a19aa447c084e56ae89891e32ab5f-ea5534deb853bea8-01
traceparent 00-478a19aa447c084e56ae89891e32ab5f-ea5534deb853bea8-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-http--76a74ded
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-2a2f7fc9,team=alpha
ot-baggage-routing-key rk-2a2f7fc9
traceparent 00-10090a5fb09ed4100215f21b0b174f79-ab108d887473c0ff-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-grpc--d7ad97dd

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-2a2f7fc9,team=alpha
content-type application/grpc
correlation-context routing-key=rk-2a2f7fc9, team=alpha
elastic-apm-traceparent 00-10090a5fb09ed4100215f21b0b174f79-cd65f35fb55e009d-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-10090a5fb09ed4100215f21b0b174f79-cd65f35fb55e009d-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--d7ad97dd
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-337ead5f,team=alpha
ot-baggage-routing-key rk-337ead5f
traceparent 00-19bae9ee119604b2dbf310b41087103f-e95047490e06eda2-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-kafka--78d8e9c2

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--grpc-kafka--78d8e9c2
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-9ac0b9a4,team=alpha
ot-baggage-routing-key rk-9ac0b9a4
traceparent 00-bd764653dace1514be3f5bd476b05341-f4f26d62046e0557-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-rabbitmq--18c2cc95

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

correlation-context routing-key=rk-9ac0b9a4, team=alpha
traceparent 00-bd764653dace1514be3f5bd476b05341-ee2a31dbe3204cfc-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-rabbitmq--18c2cc95
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-c32b4841,team=alpha
ot-baggage-routing-key rk-c32b4841
traceparent 00-f697a7666a911fa2414afcf7f6fd46a6-99d7907a4ccc6862-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-http--87127a70

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-df7b050b511b7526387a71905808af50-9befdc28424de690-00
test id
elastic-dotnet--kafka-http--87127a70
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-2db0c234,team=alpha
ot-baggage-routing-key rk-2db0c234
traceparent 00-851c6156594a6c44cf2325ed4163cffd-3c3f01dc154e9b72-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-grpc--ed767889

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-a0659cf1ad72a0f8125854cfe552b252-18d82650db517965-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--ed767889
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-bf9940cb,team=alpha
ot-baggage-routing-key rk-bf9940cb
traceparent 00-c674cd2885db72e914f79397f15e90c7-6750f0bd8e88f7e5-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-kafka--25c1cff4

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--kafka-kafka--25c1cff4
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-2446dc56,team=alpha
ot-baggage-routing-key rk-2446dc56
traceparent 00-eb7bf84c76a3ac9a41512ad5a5ded2e7-83e216237ead5e0f-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-rabbitmq--a613e1e5

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

traceparent 00-4da7d97e130f7d529024430f25a82491-5c27113974dc1cab-01
tracestate es=s:1
test id
elastic-dotnet--kafka-rabbitmq--a613e1e5
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-3cb8eb9d,team=alpha
ot-baggage-routing-key rk-3cb8eb9d
traceparent 00-6acc6affc69eb639372bf1eb85244f01-396c1e99e08520c8-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-http--ae4fb3b6

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
elastic-apm-traceparent 00-6acc6affc69eb639372bf1eb85244f01-4d4c7e1dc5b2b9e7-01
traceparent 00-6acc6affc69eb639372bf1eb85244f01-4d4c7e1dc5b2b9e7-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-http--ae4fb3b6
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-7a412aa0,team=alpha
ot-baggage-routing-key rk-7a412aa0
traceparent 00-c9d3ad4f80dd2ab490cb0828f36aeec3-160b086852868fd3-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-grpc--02e7dbc6

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-c9d3ad4f80dd2ab490cb0828f36aeec3-a09a535b13495de1-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-c9d3ad4f80dd2ab490cb0828f36aeec3-a09a535b13495de1-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--02e7dbc6
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-caad079e,team=alpha
ot-baggage-routing-key rk-caad079e
traceparent 00-6f3421603f3a3f3e2fb16e628d4eb8ec-7ce18617589c0657-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-kafka--5f98c35f

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--rabbitmq-kafka--5f98c35f
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-ad87ff62,team=alpha
ot-baggage-routing-key rk-ad87ff62
traceparent 00-efeae62ae294cc57a86811910b7a26be-81c28fd02aa030b0-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-rabbitmq--e073fc89

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

traceparent 00-efeae62ae294cc57a86811910b7a26be-045863facea7e339-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-rabbitmq--e073fc89
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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