elastic-dotnet

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

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.3 1.28.3 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, 08:00 UTC
Harness
9b99070 · measured in backtest-elastic-dotnet-1.28.3
Raw JSON
1.28.3.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-9b370004,team=alpha
ot-baggage-routing-key rk-9b370004
traceparent 00-d19e0062b9df639199f6b338361950eb-8ebfbb85c29c4905-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-http--e0f68e5b

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-9b370004,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-9b370004, team=alpha
elastic-apm-traceparent 00-d19e0062b9df639199f6b338361950eb-8f6f52c8eaf5694c-01
traceparent 00-d19e0062b9df639199f6b338361950eb-8f6f52c8eaf5694c-01
tracestate cptest=v1
test id
elastic-dotnet--http-http--e0f68e5b
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-e32c4acb,team=alpha
ot-baggage-routing-key rk-e32c4acb
traceparent 00-630d1a15bc18bfd42a5338860dff99cd-8439ce23867d3457-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-grpc--2f2da012

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-e32c4acb,team=alpha
content-type application/grpc
correlation-context routing-key=rk-e32c4acb, team=alpha
elastic-apm-traceparent 00-630d1a15bc18bfd42a5338860dff99cd-12920e7793245283-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-630d1a15bc18bfd42a5338860dff99cd-12920e7793245283-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--2f2da012
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-0f813c7a,team=alpha
ot-baggage-routing-key rk-0f813c7a
traceparent 00-ffa17f59cc11b048e1680ba6fa68b258-4cff4b5283ad6634-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-kafka--59bea928

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--http-kafka--59bea928
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-4419877a,team=alpha
ot-baggage-routing-key rk-4419877a
traceparent 00-934b4bbd58cbaa293be8371cf06c6dea-2b28b90fafa0e6f4-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-rabbitmq--cf26464f

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

correlation-context routing-key=rk-4419877a, team=alpha
traceparent 00-934b4bbd58cbaa293be8371cf06c6dea-ce416928868ca68b-01
tracestate cptest=v1
test id
elastic-dotnet--http-rabbitmq--cf26464f
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-b55200be,team=alpha
ot-baggage-routing-key rk-b55200be
traceparent 00-f15b89a74fa6c2f386c4b14777fdd288-5e77af04728097b3-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-http--c1978e2e

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-b55200be,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-b55200be, team=alpha
elastic-apm-traceparent 00-f15b89a74fa6c2f386c4b14777fdd288-611cf60a410aa86c-01
traceparent 00-f15b89a74fa6c2f386c4b14777fdd288-611cf60a410aa86c-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-http--c1978e2e
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-7f3486a5,team=alpha
ot-baggage-routing-key rk-7f3486a5
traceparent 00-1c43a2a1e9c8db44d172316cb7313d0d-a2d4d2210107c4c7-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-grpc--71b927b7

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-7f3486a5,team=alpha
content-type application/grpc
correlation-context routing-key=rk-7f3486a5, team=alpha
elastic-apm-traceparent 00-1c43a2a1e9c8db44d172316cb7313d0d-423f7eb92ecfd004-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-1c43a2a1e9c8db44d172316cb7313d0d-423f7eb92ecfd004-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--71b927b7
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-889403a2,team=alpha
ot-baggage-routing-key rk-889403a2
traceparent 00-2f9731924a2b24b1660c0329938bca9e-bf0c7868baaf76b5-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-kafka--7414e3f1

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--grpc-kafka--7414e3f1
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-ef475766,team=alpha
ot-baggage-routing-key rk-ef475766
traceparent 00-cad567e75e921aebe181297fc49d2c99-da030809da690af6-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-rabbitmq--53a3044c

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

correlation-context routing-key=rk-ef475766, team=alpha
traceparent 00-cad567e75e921aebe181297fc49d2c99-6c9cf5326077a876-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-rabbitmq--53a3044c
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-9428e651,team=alpha
ot-baggage-routing-key rk-9428e651
traceparent 00-317da0d3050bf7cb1aac4adf98213de2-ec3dba8ed87386ee-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-http--f0c32fd0

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-23fb8c8c5977f94b119e7cd696847717-c9928f8f4fb15720-00
test id
elastic-dotnet--kafka-http--f0c32fd0
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-f7145f95,team=alpha
ot-baggage-routing-key rk-f7145f95
traceparent 00-416de307f13a785ab991dc9bf6b70ed2-fbad4356e35dee25-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-grpc--7f189807

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-f5a7bc3b90eedb2ebcd7e3d3a3be950b-2fb3d384ed929b00-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-f5a7bc3b90eedb2ebcd7e3d3a3be950b-2fb3d384ed929b00-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--7f189807
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-e9e78099,team=alpha
ot-baggage-routing-key rk-e9e78099
traceparent 00-8ca6413033385f612418807b4d6a627b-674cad14920147c0-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-kafka--04fe8a13

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--kafka-kafka--04fe8a13
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-cf87e87f,team=alpha
ot-baggage-routing-key rk-cf87e87f
traceparent 00-478bac9357092ace9f9455c0ce2fed73-7b27c41dc58dd2de-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-rabbitmq--b657eb11

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

traceparent 00-d09591199f3d7278ef960fe4fefc3a56-8cfb7f4798661b29-01
tracestate es=s:1
test id
elastic-dotnet--kafka-rabbitmq--b657eb11
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-4407d9dc,team=alpha
ot-baggage-routing-key rk-4407d9dc
traceparent 00-8a4666715f1860a0e726e0aed7beca94-3492d9729728e8ea-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-http--65cb933b

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
elastic-apm-traceparent 00-8a4666715f1860a0e726e0aed7beca94-87f8cd816249b2cc-01
traceparent 00-8a4666715f1860a0e726e0aed7beca94-87f8cd816249b2cc-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-http--65cb933b
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-7cab1bad,team=alpha
ot-baggage-routing-key rk-7cab1bad
traceparent 00-7ca854af0aa57697794c8c915547a3c3-e849f64e8b8002cf-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-grpc--288c351c

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-7ca854af0aa57697794c8c915547a3c3-624ec3e66eadc363-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-7ca854af0aa57697794c8c915547a3c3-624ec3e66eadc363-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--288c351c
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-2d7e218a,team=alpha
ot-baggage-routing-key rk-2d7e218a
traceparent 00-efb964a7c2a8c357d8dbd815e0e78259-d2f8ebc86c93d135-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-kafka--864e8458

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--rabbitmq-kafka--864e8458
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-61678b4d,team=alpha
ot-baggage-routing-key rk-61678b4d
traceparent 00-b33cf97b282128c2d17938cd5d38957c-1a4c36c509b81870-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-rabbitmq--2f2b35c8

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

traceparent 00-b33cf97b282128c2d17938cd5d38957c-0c946694fbd77c20-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-rabbitmq--2f2b35c8
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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