elastic-dotnet

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

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.2 1.34.2 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
1 Nov 2026, 05:44 UTC
Harness
e793604 · measured in backtest-elastic-dotnet-1.34.2
Raw JSON
1.34.2.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-2a2b38db,team=alpha
ot-baggage-routing-key rk-2a2b38db
traceparent 00-b9bac4f3e76772c58fecc7c91d23311c-7b09a3d6e5d0a9d2-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-http--73fe40e2

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-2a2b38db,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-2a2b38db, team=alpha
elastic-apm-traceparent 00-b9bac4f3e76772c58fecc7c91d23311c-739e8fb23d4114c0-01
traceparent 00-b9bac4f3e76772c58fecc7c91d23311c-739e8fb23d4114c0-01
tracestate cptest=v1
test id
elastic-dotnet--http-http--73fe40e2
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-face2d59,team=alpha
ot-baggage-routing-key rk-face2d59
traceparent 00-45d76130628df76e1686907f1a05872b-d3cecb5559d3d59d-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-grpc--18bdab51

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-face2d59,team=alpha
content-type application/grpc
correlation-context routing-key=rk-face2d59, team=alpha
elastic-apm-traceparent 00-45d76130628df76e1686907f1a05872b-4b5caa93f594f0d1-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-45d76130628df76e1686907f1a05872b-4b5caa93f594f0d1-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--18bdab51
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-5e9455e3,team=alpha
ot-baggage-routing-key rk-5e9455e3
traceparent 00-5a5e57186b09000f073364e79fda4b42-093f3e57ee67538c-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-kafka--3cde960c

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--http-kafka--3cde960c
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-e6a6047a,team=alpha
ot-baggage-routing-key rk-e6a6047a
traceparent 00-3a630c0e63b75941d342a755002d43d4-b6ded8313fd14fb8-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-rabbitmq--899d3984

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

correlation-context routing-key=rk-e6a6047a, team=alpha
traceparent 00-3a630c0e63b75941d342a755002d43d4-a3b9d4fcd981ef6a-01
tracestate cptest=v1
test id
elastic-dotnet--http-rabbitmq--899d3984
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-4166722c,team=alpha
ot-baggage-routing-key rk-4166722c
traceparent 00-5a7265dfc7495645df638354e53467b6-4ef92add5c7c2172-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-http--9edc7848

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-4166722c,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-4166722c, team=alpha
elastic-apm-traceparent 00-5a7265dfc7495645df638354e53467b6-f206998678b9b7d2-01
traceparent 00-5a7265dfc7495645df638354e53467b6-f206998678b9b7d2-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-http--9edc7848
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-618c7e16,team=alpha
ot-baggage-routing-key rk-618c7e16
traceparent 00-c4338edcd01e170f4efdd11357587287-7da672bb95df6365-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-grpc--c4977639

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-618c7e16,team=alpha
content-type application/grpc
correlation-context routing-key=rk-618c7e16, team=alpha
elastic-apm-traceparent 00-c4338edcd01e170f4efdd11357587287-864d463a7665dac3-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-c4338edcd01e170f4efdd11357587287-864d463a7665dac3-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--c4977639
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-95119adb,team=alpha
ot-baggage-routing-key rk-95119adb
traceparent 00-0545fd9c98ac963f4584b038bd977678-2367e6dea136f8db-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-kafka--06b48b9f

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--grpc-kafka--06b48b9f
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-3db85b3f,team=alpha
ot-baggage-routing-key rk-3db85b3f
traceparent 00-7a5ce03d00cf67e3f902ddd32f00b361-0988396218e28a9a-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-rabbitmq--0da499df

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

correlation-context routing-key=rk-3db85b3f, team=alpha
traceparent 00-7a5ce03d00cf67e3f902ddd32f00b361-fa7b93fa87f05ceb-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-rabbitmq--0da499df
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-cb590027,team=alpha
ot-baggage-routing-key rk-cb590027
traceparent 00-673a4297d2c4c776099dbdd08e99f2a7-2bcb5533e8bf7187-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-http--79dbae47

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-4a0b03deef20878b2397c676d85f23cc-350df0450e9c1016-00
test id
elastic-dotnet--kafka-http--79dbae47
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-657e38b5,team=alpha
ot-baggage-routing-key rk-657e38b5
traceparent 00-9f22773e3af5fe2641c610f2c17ee5aa-d540d322171cf7d3-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-grpc--75a9e029

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-d033327f097da69abbbf61cd82786bf1-aa2fa281ffe5853d-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--75a9e029
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-389c86d6,team=alpha
ot-baggage-routing-key rk-389c86d6
traceparent 00-675ec79ac015f9c2f8874b5103a667aa-57d19fc31b599b32-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-kafka--d3129e10

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--kafka-kafka--d3129e10
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-689e393b,team=alpha
ot-baggage-routing-key rk-689e393b
traceparent 00-2b4bc14a65cdfc01caf02698511e4d34-05a105ca426a06f3-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-rabbitmq--050bfd71

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

traceparent 00-a0935325bf1fe8def644875e8ecebda3-1978f2240694e17e-01
tracestate es=s:1
test id
elastic-dotnet--kafka-rabbitmq--050bfd71
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-69a413b0,team=alpha
ot-baggage-routing-key rk-69a413b0
traceparent 00-d96557f80dd00248caf251650aaf1301-bff90d3eff41f6bb-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-http--d966bbc4

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
elastic-apm-traceparent 00-d96557f80dd00248caf251650aaf1301-d6d0f41bbd45fabb-01
traceparent 00-d96557f80dd00248caf251650aaf1301-d6d0f41bbd45fabb-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-http--d966bbc4
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-01f88f97,team=alpha
ot-baggage-routing-key rk-01f88f97
traceparent 00-3aa77d7e5247f590bf4a284a1b060020-c8004c4cbd17992e-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-grpc--9ef8d401

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-3aa77d7e5247f590bf4a284a1b060020-8d7ad3a36c6f8731-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-3aa77d7e5247f590bf4a284a1b060020-8d7ad3a36c6f8731-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--9ef8d401
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-8a3c7088,team=alpha
ot-baggage-routing-key rk-8a3c7088
traceparent 00-4c775b229efbe24b610e19171f6b19c2-08d0667b9e229a43-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-kafka--700b0a8d

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--rabbitmq-kafka--700b0a8d
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-772c3126,team=alpha
ot-baggage-routing-key rk-772c3126
traceparent 00-99d68199ca2cfe732f11433c28a1cdc7-ccd4883a5011b123-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-rabbitmq--e5bd5f04

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

traceparent 00-99d68199ca2cfe732f11433c28a1cdc7-f7ff1c7b85ea30e3-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-rabbitmq--e5bd5f04
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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