elastic-dotnet

.NET zero-code elastic-apm-dotnet1.33.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.33.0 1.33.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
9 Nov 2026, 19:52 UTC
Harness
9b99070 · measured in backtest-elastic-dotnet-1.33.0
Raw JSON
1.33.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-b4508ecd,team=alpha
ot-baggage-routing-key rk-b4508ecd
traceparent 00-4045cc68d4dff16f46f9061376be14b6-21bc92f43e2f053c-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-http--a81740a3

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-b4508ecd,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-b4508ecd, team=alpha
elastic-apm-traceparent 00-4045cc68d4dff16f46f9061376be14b6-40c5cda2f252572f-01
traceparent 00-4045cc68d4dff16f46f9061376be14b6-40c5cda2f252572f-01
tracestate cptest=v1
test id
elastic-dotnet--http-http--a81740a3
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-fe814401,team=alpha
ot-baggage-routing-key rk-fe814401
traceparent 00-b138fbdfd30201ffa292528ce8f22ca0-cdbf4da0ccfcc562-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-grpc--e77a84d2

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-fe814401,team=alpha
content-type application/grpc
correlation-context routing-key=rk-fe814401, team=alpha
elastic-apm-traceparent 00-b138fbdfd30201ffa292528ce8f22ca0-bb33c1601b5f621a-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-b138fbdfd30201ffa292528ce8f22ca0-bb33c1601b5f621a-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--e77a84d2
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-871998a0,team=alpha
ot-baggage-routing-key rk-871998a0
traceparent 00-5481849888262ea2a1f7056243a52885-8f77ff9376a66ba0-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-kafka--18b7c7bd

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--http-kafka--18b7c7bd
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-d41318f8,team=alpha
ot-baggage-routing-key rk-d41318f8
traceparent 00-b033d31539c34124bb9744dc75fee65c-e3ae73161d70900e-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-rabbitmq--f2b54438

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

correlation-context routing-key=rk-d41318f8, team=alpha
traceparent 00-b033d31539c34124bb9744dc75fee65c-b64cbeabc7968733-01
tracestate cptest=v1
test id
elastic-dotnet--http-rabbitmq--f2b54438
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-87ffe78f,team=alpha
ot-baggage-routing-key rk-87ffe78f
traceparent 00-5fa831d629cdd4d47c327cff6cb88d4c-0ae00cec0d4ffb89-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-http--1a5c9d1c

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-87ffe78f,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-87ffe78f, team=alpha
elastic-apm-traceparent 00-5fa831d629cdd4d47c327cff6cb88d4c-df809c3dfe04336b-01
traceparent 00-5fa831d629cdd4d47c327cff6cb88d4c-df809c3dfe04336b-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-http--1a5c9d1c
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-ca3a402e,team=alpha
ot-baggage-routing-key rk-ca3a402e
traceparent 00-cedccd70d42e2f94bcf351cbf2d74ef1-8a66fbeae7eeafaf-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-grpc--0acaf185

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-ca3a402e,team=alpha
content-type application/grpc
correlation-context routing-key=rk-ca3a402e, team=alpha
elastic-apm-traceparent 00-cedccd70d42e2f94bcf351cbf2d74ef1-ca9e4859c44d4714-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-cedccd70d42e2f94bcf351cbf2d74ef1-ca9e4859c44d4714-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--0acaf185
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-0ee33122,team=alpha
ot-baggage-routing-key rk-0ee33122
traceparent 00-3d927edf740f215200335678957d2b4f-ad8c292eaa270a47-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-kafka--6a11c6a0

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--grpc-kafka--6a11c6a0
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-b8228645,team=alpha
ot-baggage-routing-key rk-b8228645
traceparent 00-742bca7137047755b79a497d199af072-3f4bcad4f546d4ca-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-rabbitmq--d407b874

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

correlation-context routing-key=rk-b8228645, team=alpha
traceparent 00-742bca7137047755b79a497d199af072-2d6d1068b57f84d9-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-rabbitmq--d407b874
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-72cd4e20,team=alpha
ot-baggage-routing-key rk-72cd4e20
traceparent 00-2b8cae91f492d74ec487e8a78c849cf2-5e556a77c9640e5b-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-http--e46c1496

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-cdab17230f415e4a4323cd2ec369eb4b-6698b82b2992f9b0-00
test id
elastic-dotnet--kafka-http--e46c1496
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-c903ab8f,team=alpha
ot-baggage-routing-key rk-c903ab8f
traceparent 00-8b890029b75f569ad3d4e465a9905f85-bc89c743910cde6c-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-grpc--acff1f0d

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-9c825bbfc0727d2922301f9f24ec42e9-d7272fb52acb34af-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-9c825bbfc0727d2922301f9f24ec42e9-d7272fb52acb34af-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--acff1f0d
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-fe4b6981,team=alpha
ot-baggage-routing-key rk-fe4b6981
traceparent 00-3120903730bbd46a6563a6c00785d08f-b60c4ba8ad1702f8-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-kafka--4af73c9c

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--kafka-kafka--4af73c9c
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-92780a67,team=alpha
ot-baggage-routing-key rk-92780a67
traceparent 00-42dff98b6750c055361f1d2438c05d8e-9a81841f22f6859c-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-rabbitmq--c5f72c68

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

traceparent 00-8e8188633bed5d1079201904048b6b20-4e4d519e49b36e26-01
tracestate es=s:1
test id
elastic-dotnet--kafka-rabbitmq--c5f72c68
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-f0a40ad9,team=alpha
ot-baggage-routing-key rk-f0a40ad9
traceparent 00-b8f5e9be3b652ba53bfe87c444842235-9c6fdfe2f5c56913-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-http--2a1628ec

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
elastic-apm-traceparent 00-b8f5e9be3b652ba53bfe87c444842235-231ddff6822cfe7e-01
traceparent 00-b8f5e9be3b652ba53bfe87c444842235-231ddff6822cfe7e-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-http--2a1628ec
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-8aa1efa7,team=alpha
ot-baggage-routing-key rk-8aa1efa7
traceparent 00-ffed1c9a0ca6cb12437327eb098cb5a5-5e0f71dfec2831e5-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-grpc--f7be4a41

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-ffed1c9a0ca6cb12437327eb098cb5a5-8742f5aa0ccfd2df-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-ffed1c9a0ca6cb12437327eb098cb5a5-8742f5aa0ccfd2df-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--f7be4a41
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-b19a7f92,team=alpha
ot-baggage-routing-key rk-b19a7f92
traceparent 00-2846c203e7eef40754a132db0c2739d4-7553878da1e93737-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-kafka--30d2f24b

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--rabbitmq-kafka--30d2f24b
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-1feca9ed,team=alpha
ot-baggage-routing-key rk-1feca9ed
traceparent 00-5a52d40dc5cac76cdc24b27be6d0517e-14916225533100ea-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-rabbitmq--46d37aee

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

traceparent 00-5a52d40dc5cac76cdc24b27be6d0517e-7e7b42bafc9821a9-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-rabbitmq--46d37aee
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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