elastic-dotnet

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

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.27.0 1.27.0 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, 10:01 UTC
Harness
374f21d · measured in backtest-elastic-dotnet-1.27.0
Raw JSON
1.27.0.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-2e06f09b,team=alpha
ot-baggage-routing-key rk-2e06f09b
traceparent 00-9244fdd6ce77dc25cbda6db8e1e6ad27-f18afe1f0d08d049-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-http--85c57716

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-2e06f09b,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-2e06f09b, team=alpha
elastic-apm-traceparent 00-9244fdd6ce77dc25cbda6db8e1e6ad27-b48edd8542ffc837-01
traceparent 00-9244fdd6ce77dc25cbda6db8e1e6ad27-b48edd8542ffc837-01
tracestate cptest=v1
test id
elastic-dotnet--http-http--85c57716
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-2417ee9f,team=alpha
ot-baggage-routing-key rk-2417ee9f
traceparent 00-7119772a15e5ca4b4afea5a45b757457-962111cac8ad41e0-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-grpc--bea6f192

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-2417ee9f,team=alpha
content-type application/grpc
correlation-context routing-key=rk-2417ee9f, team=alpha
elastic-apm-traceparent 00-7119772a15e5ca4b4afea5a45b757457-f2618eb2e7ce85f8-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-7119772a15e5ca4b4afea5a45b757457-f2618eb2e7ce85f8-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--bea6f192
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-e2962c94,team=alpha
ot-baggage-routing-key rk-e2962c94
traceparent 00-b9ed31ee2696faf81eee51c966b8b6d5-d3b774d49e550a36-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-kafka--d3294350

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--http-kafka--d3294350
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-650d8a7f,team=alpha
ot-baggage-routing-key rk-650d8a7f
traceparent 00-853076e2ffa6670c817493b7ed2381e4-fc428d6e2a11b0f6-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-rabbitmq--400d9f2b

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

correlation-context routing-key=rk-650d8a7f, team=alpha
traceparent 00-853076e2ffa6670c817493b7ed2381e4-8507d7f00c455258-01
tracestate cptest=v1
test id
elastic-dotnet--http-rabbitmq--400d9f2b
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-0d756fe4,team=alpha
ot-baggage-routing-key rk-0d756fe4
traceparent 00-264a8f66de170784a057642026946a00-016e759016aaa1b4-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-http--3ed0219f

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-0d756fe4,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-0d756fe4, team=alpha
elastic-apm-traceparent 00-264a8f66de170784a057642026946a00-314f7438ebafbe68-01
traceparent 00-264a8f66de170784a057642026946a00-314f7438ebafbe68-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-http--3ed0219f
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-c367171f,team=alpha
ot-baggage-routing-key rk-c367171f
traceparent 00-cf8acd4bb29c1f4d0eb8d8ffe897ec9a-1488b1f64cceb5fb-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-grpc--03c6c437

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-c367171f,team=alpha
content-type application/grpc
correlation-context routing-key=rk-c367171f, team=alpha
elastic-apm-traceparent 00-cf8acd4bb29c1f4d0eb8d8ffe897ec9a-89a1f25cf7a8897a-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-cf8acd4bb29c1f4d0eb8d8ffe897ec9a-89a1f25cf7a8897a-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--03c6c437
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-bb9ae131,team=alpha
ot-baggage-routing-key rk-bb9ae131
traceparent 00-bed1d38988f4ff97240ae4db6133ba20-3207780c105a09a2-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-kafka--f67ff2b7

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--grpc-kafka--f67ff2b7
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-f36458c0,team=alpha
ot-baggage-routing-key rk-f36458c0
traceparent 00-99a56235494c0aa17101c9bf4e69b5df-1d4fa87f47898bf6-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-rabbitmq--a23d60e4

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

correlation-context routing-key=rk-f36458c0, team=alpha
traceparent 00-99a56235494c0aa17101c9bf4e69b5df-20dd9783e6e15b79-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-rabbitmq--a23d60e4
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-ae5025c9,team=alpha
ot-baggage-routing-key rk-ae5025c9
traceparent 00-a12fd6064594cf01eaadd88c50e4d183-34c09cdef0dc1039-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-http--5282e9cb

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-e4b08cbeeb8d2807431235c8582884c4-ba181a0f89e9ac59-00
test id
elastic-dotnet--kafka-http--5282e9cb
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-02ca38c7,team=alpha
ot-baggage-routing-key rk-02ca38c7
traceparent 00-b1535e45715fd036eb82b10642b2f57b-63ba7cf13552380a-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-grpc--4d3583b5

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-913c6fb20f7e1dcdd110358b6662f0ba-8c64f947f6884552-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-913c6fb20f7e1dcdd110358b6662f0ba-8c64f947f6884552-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--4d3583b5
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-3c104bbb,team=alpha
ot-baggage-routing-key rk-3c104bbb
traceparent 00-90c8aede10d48834be1ff51ec175b8fe-6cc2a3082b6e9dd4-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-kafka--2cc02a7e

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--kafka-kafka--2cc02a7e
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-80acf6bf,team=alpha
ot-baggage-routing-key rk-80acf6bf
traceparent 00-e47c2f000858b6398655c93a90648d14-cb6d3424f13f3ddb-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-rabbitmq--48da39d1

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

traceparent 00-e47abefa5a2f943ac95caa4cde52afb4-f779176c8c046f12-01
tracestate es=s:1
test id
elastic-dotnet--kafka-rabbitmq--48da39d1
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-bccb8474,team=alpha
ot-baggage-routing-key rk-bccb8474
traceparent 00-fb79b0a2b707c70ff5c16baefc183702-8950ddd07b31dadd-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-http--a5916923

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
elastic-apm-traceparent 00-fb79b0a2b707c70ff5c16baefc183702-7d17c10309de1e8e-01
traceparent 00-fb79b0a2b707c70ff5c16baefc183702-7d17c10309de1e8e-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-http--a5916923
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-4752e152,team=alpha
ot-baggage-routing-key rk-4752e152
traceparent 00-0ff129889cd867180fcf91f3b679f5df-29a1b1967544d469-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-grpc--c37f26a3

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-0ff129889cd867180fcf91f3b679f5df-f57feae7dd9cc276-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-0ff129889cd867180fcf91f3b679f5df-f57feae7dd9cc276-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--c37f26a3
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-1bf83bed,team=alpha
ot-baggage-routing-key rk-1bf83bed
traceparent 00-34151b05b0fea164d25d47237377b4d0-218ef5188d939ea6-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-kafka--1e2d0bbb

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--rabbitmq-kafka--1e2d0bbb
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-386be8de,team=alpha
ot-baggage-routing-key rk-386be8de
traceparent 00-bea71816a51c7e02ef93f02d51746d9e-8c7877e29565cd24-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-rabbitmq--54dc6059

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

traceparent 00-bea71816a51c7e02ef93f02d51746d9e-83371829f4e55d57-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-rabbitmq--54dc6059
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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