elastic-dotnet

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

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.1 1.34.1 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:45 UTC
Harness
9b99070 · measured in backtest-elastic-dotnet-1.34.1
Raw JSON
1.34.1.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-e4e4484d,team=alpha
ot-baggage-routing-key rk-e4e4484d
traceparent 00-1dd14385ecb814a83ceac374bf4c6796-6838832483419298-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-http--4d79167c

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-e4e4484d,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-e4e4484d, team=alpha
elastic-apm-traceparent 00-1dd14385ecb814a83ceac374bf4c6796-a9eeb63cb7b225f4-01
traceparent 00-1dd14385ecb814a83ceac374bf4c6796-a9eeb63cb7b225f4-01
tracestate cptest=v1
test id
elastic-dotnet--http-http--4d79167c
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-2dead84a,team=alpha
ot-baggage-routing-key rk-2dead84a
traceparent 00-86dd6d8e1eb457afe47814cc59669b8d-3424acf105c6f487-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-grpc--cb27d5da

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-2dead84a,team=alpha
content-type application/grpc
correlation-context routing-key=rk-2dead84a, team=alpha
elastic-apm-traceparent 00-86dd6d8e1eb457afe47814cc59669b8d-64a70a3432115157-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-86dd6d8e1eb457afe47814cc59669b8d-64a70a3432115157-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--cb27d5da
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-06c7a5d4,team=alpha
ot-baggage-routing-key rk-06c7a5d4
traceparent 00-2662a89bb0cfd1756c53056df49c41ad-5f88ba74e3882828-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-kafka--f310c55e

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--http-kafka--f310c55e
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-c98fcbe1,team=alpha
ot-baggage-routing-key rk-c98fcbe1
traceparent 00-fc6bd59784e1a5468aa185afd1ebc201-1c23f627b5db766c-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-rabbitmq--3d91af89

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

correlation-context routing-key=rk-c98fcbe1, team=alpha
traceparent 00-fc6bd59784e1a5468aa185afd1ebc201-30b05db9efef37a7-01
tracestate cptest=v1
test id
elastic-dotnet--http-rabbitmq--3d91af89
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-0d3eb01e,team=alpha
ot-baggage-routing-key rk-0d3eb01e
traceparent 00-54c239215c98581aa9f65310de890ce3-a0753214ad20b284-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-http--2863a367

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-0d3eb01e,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-0d3eb01e, team=alpha
elastic-apm-traceparent 00-54c239215c98581aa9f65310de890ce3-cebcabf37380ec76-01
traceparent 00-54c239215c98581aa9f65310de890ce3-cebcabf37380ec76-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-http--2863a367
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-d3e8b3f4,team=alpha
ot-baggage-routing-key rk-d3e8b3f4
traceparent 00-19b31399a48dd03497179cbcdcf15580-dc37745e09fc6565-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-grpc--0474f2d7

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-d3e8b3f4,team=alpha
content-type application/grpc
correlation-context routing-key=rk-d3e8b3f4, team=alpha
elastic-apm-traceparent 00-19b31399a48dd03497179cbcdcf15580-8583f3141d1de95c-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-19b31399a48dd03497179cbcdcf15580-8583f3141d1de95c-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--0474f2d7
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-8b5d47c7,team=alpha
ot-baggage-routing-key rk-8b5d47c7
traceparent 00-4d3f1d0009ba5653005cd5cd6cef5c33-9f827db780410187-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-kafka--38c5c1f0

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--grpc-kafka--38c5c1f0
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-49166599,team=alpha
ot-baggage-routing-key rk-49166599
traceparent 00-04a61e1c63c411c330b65855ccd2e2d9-a1b02078833e9fd9-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-rabbitmq--6128cd68

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

correlation-context routing-key=rk-49166599, team=alpha
traceparent 00-04a61e1c63c411c330b65855ccd2e2d9-3dbcfdcae3406a94-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-rabbitmq--6128cd68
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-c2c7bb29,team=alpha
ot-baggage-routing-key rk-c2c7bb29
traceparent 00-60b3e3cd425b5ab4a3b2e985cb4b3ccc-4f3fdcbcc9f9b361-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-http--5f17b2c0

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-88f6e06cae219c878514d61494b982d9-64ed18490cc495ed-00
test id
elastic-dotnet--kafka-http--5f17b2c0
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-ccdf162e,team=alpha
ot-baggage-routing-key rk-ccdf162e
traceparent 00-d7b63621137bb25994a15310a752250f-2d4d9ca672645cae-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-grpc--132b1a15

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-c05f64877740c495654ed4f017dbc152-8af86151af365ba0-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-c05f64877740c495654ed4f017dbc152-8af86151af365ba0-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--132b1a15
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-51841bba,team=alpha
ot-baggage-routing-key rk-51841bba
traceparent 00-f88931dd4d10ca643c3ee1e10ffd8db1-2c4438b65c63c264-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-kafka--20863534

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--kafka-kafka--20863534
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-6bad4e68,team=alpha
ot-baggage-routing-key rk-6bad4e68
traceparent 00-c7a7fd477493024c11dad77614b4c3b2-e9d4d7b2881297fe-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-rabbitmq--1bf3584f

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

traceparent 00-e8ca6691e62bad01dc6f5a02650d907f-735a7344bf108e43-01
tracestate es=s:1
test id
elastic-dotnet--kafka-rabbitmq--1bf3584f
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-66821ae5,team=alpha
ot-baggage-routing-key rk-66821ae5
traceparent 00-3e4a9ee8a394c7d982ccf0fb2589b63e-aa59a1a48a5695d3-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-http--987ad503

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
elastic-apm-traceparent 00-3e4a9ee8a394c7d982ccf0fb2589b63e-3a444da7ee964a82-01
traceparent 00-3e4a9ee8a394c7d982ccf0fb2589b63e-3a444da7ee964a82-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-http--987ad503
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-d69ce5d4,team=alpha
ot-baggage-routing-key rk-d69ce5d4
traceparent 00-7651114589cbb79c348a881800ca7185-613ff8723229601e-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-grpc--57690717

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-7651114589cbb79c348a881800ca7185-e78bee962ca3717e-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-7651114589cbb79c348a881800ca7185-e78bee962ca3717e-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--57690717
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-8bff9508,team=alpha
ot-baggage-routing-key rk-8bff9508
traceparent 00-0a1ec6f690893ceaba64ba36f93279c3-795073acbb2245cd-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-kafka--a1a0500c

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--rabbitmq-kafka--a1a0500c
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-83473189,team=alpha
ot-baggage-routing-key rk-83473189
traceparent 00-fe246bd2a7909100cf16869ba0ab4803-caef69115e96840e-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-rabbitmq--b8fef42e

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

traceparent 00-fe246bd2a7909100cf16869ba0ab4803-3633589e92465524-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-rabbitmq--b8fef42e
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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