elastic-dotnet

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

attach CLR profiler env (Elastic.Apm.Profiler.Managed)

22/64 cells pass
  • Pass
  • Partial
  • New trace
  • Fail
  • Undelivered
  • Not run

Explanations

OpenTelemetry, Elastic APM and New Relic never implemented the OpenTracing-era ot-baggage-* headers

by-design ot-baggage-* is a legacy OpenTracing convention; OpenTelemetry, Elastic APM and New Relic each define their propagation header set without it.

The seeded ot-baggage-routing-key header is ignored — neither extracted nor re-emitted — by every OpenTelemetry, Elastic and New Relic variant on every delivered boundary. None of these tools ever emitted the OpenTracing header format: OpenTelemetry standardised on W3C baggage; 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.

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.

356 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 baggage does not

open The Elastic agent has no RabbitMQ.Client 7 instrumentation; the client's own default propagation carries trace id and tracestate only, never baggage.

*->rabbitmq injection and rabbitmq->* continuation both pass for traceparent/tracestate on elastic-apm-dotnet 1.34.7 — not because the agent instruments RabbitMQ (its own instrumentation is profiler-only and caps at RabbitMQ.Client <7.0.0), but because RabbitMQ.Client 7.x ships native ActivitySource instrumentation (PR #1261) that the agent's OpenTelemetry bridge picks up.

That native path cannot carry baggage: 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: forward baggage as an application header in the AMQP message properties yourself.

5 cells affected

elastic-dotnet-rabbitmq-native-no-baggage

Versions in this run

Tracer
elastic/apm-agent-dotnet 1.34.7 this version 1.34.7 on github-releases github
Runtime
.NET 8.0.30 (CLR 8.0.30)
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
7 Sept 2026, 10:56 UTC
Harness
commit not recorded · run run-2026-09-07
Raw JSON
run-2026-09-07.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-41ad5ddc,team=alpha
ot-baggage-routing-key rk-41ad5ddc
traceparent 00-9c3c51ad1fcab1dba83ee9e5b8e2b3ec-e3028009e8ebee14-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-http--b7673baa

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-41ad5ddc,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-41ad5ddc, team=alpha
elastic-apm-traceparent 00-9c3c51ad1fcab1dba83ee9e5b8e2b3ec-d0ec3fb23fda816e-01
traceparent 00-9c3c51ad1fcab1dba83ee9e5b8e2b3ec-d0ec3fb23fda816e-01
tracestate cptest=v1
test id
elastic-dotnet--http-http--b7673baa
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-1f913738,team=alpha
ot-baggage-routing-key rk-1f913738
traceparent 00-a12471b72298d667e8c017f0b64d49ad-059686262b6500b2-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-grpc--fb5beb7c

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-1f913738,team=alpha
content-type application/grpc
correlation-context routing-key=rk-1f913738, team=alpha
elastic-apm-traceparent 00-a12471b72298d667e8c017f0b64d49ad-c5f4407ac189d7da-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-a12471b72298d667e8c017f0b64d49ad-c5f4407ac189d7da-01
tracestate cptest=v1
user-agent grpc-dotnet/2.83.0 (.NET 8.0.30; CLR 8.0.30; net8.0; linux; arm64)
test id
elastic-dotnet--http-grpc--fb5beb7c
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-e4e241df,team=alpha
ot-baggage-routing-key rk-e4e241df
traceparent 00-212128fbace47eb264a9567c2c5cf322-833a7978a55d052a-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-kafka--55ff5784

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--http-kafka--55ff5784
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-dd1acef1,team=alpha
ot-baggage-routing-key rk-dd1acef1
traceparent 00-15e7515f9b4eaec9eb5230a061bee42c-8f500f1731fd1502-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--http-rabbitmq--abf70007

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

correlation-context routing-key=rk-dd1acef1, team=alpha
traceparent 00-15e7515f9b4eaec9eb5230a061bee42c-c4b2214ba5a66a30-01
tracestate cptest=v1
test id
elastic-dotnet--http-rabbitmq--abf70007
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-89422fce,team=alpha
ot-baggage-routing-key rk-89422fce
traceparent 00-7d7133e05370a33a8b77453dd6698365-f6be21aeec3469bb-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-http--b7a31986

Observed at the sink on the outbound HTTP request headers

baggage routing-key=rk-89422fce,team=alpha
content-type application/json; charset=utf-8
correlation-context routing-key=rk-89422fce, team=alpha
elastic-apm-traceparent 00-7d7133e05370a33a8b77453dd6698365-dcba015454d1f791-01
traceparent 00-7d7133e05370a33a8b77453dd6698365-dcba015454d1f791-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-http--b7a31986
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-3bb45f56,team=alpha
ot-baggage-routing-key rk-3bb45f56
traceparent 00-b27a22e882970a006799054ba7336e04-d58634fdc7cba77e-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-grpc--9b6088e3

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-3bb45f56,team=alpha
content-type application/grpc
correlation-context routing-key=rk-3bb45f56, team=alpha
elastic-apm-traceparent 00-b27a22e882970a006799054ba7336e04-7468ed98eec28782-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-b27a22e882970a006799054ba7336e04-7468ed98eec28782-01
tracestate cptest=v1
user-agent grpc-dotnet/2.83.0 (.NET 8.0.30; CLR 8.0.30; net8.0; linux; arm64)
test id
elastic-dotnet--grpc-grpc--9b6088e3
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-22bcdd67,team=alpha
ot-baggage-routing-key rk-22bcdd67
traceparent 00-daf7f1e1332895cb605cf7fddbe40aa4-2483f094811fbd2e-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-kafka--92670c18

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--grpc-kafka--92670c18
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-59cdc7f3,team=alpha
ot-baggage-routing-key rk-59cdc7f3
traceparent 00-97f1b03b25d7d1e6d829ea81b62273eb-ad6a6fd8f6d21d78-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--grpc-rabbitmq--e435c122

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

correlation-context routing-key=rk-59cdc7f3, team=alpha
traceparent 00-97f1b03b25d7d1e6d829ea81b62273eb-ad208b678712039f-01
tracestate cptest=v1
test id
elastic-dotnet--grpc-rabbitmq--e435c122
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-990f5138,team=alpha
ot-baggage-routing-key rk-990f5138
traceparent 00-0d27960e2bb93adaee4e00cb048301f7-103a35a47d30e0c4-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-http--aff8b715

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
traceparent 00-40c4ab516ed900e8a84c1a1b232899ec-235f72ec310c220f-00
test id
elastic-dotnet--kafka-http--aff8b715
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-7ff2392b,team=alpha
ot-baggage-routing-key rk-7ff2392b
traceparent 00-5d3b37c1f4e6d09cf375e8a02c92ed32-597dcaa753befe2e-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-grpc--113a785c

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
traceparent 00-b7d1996f22aa02d17a49b6f558774323-cba9826415a03b9b-00
user-agent grpc-dotnet/2.83.0 (.NET 8.0.30; CLR 8.0.30; net8.0; linux; arm64)
test id
elastic-dotnet--kafka-grpc--113a785c
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-0332d825,team=alpha
ot-baggage-routing-key rk-0332d825
traceparent 00-146df1b13bb7794e9c07330c365b0aa8-f8f3d89d8740988e-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-kafka--489c0260

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--kafka-kafka--489c0260
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-6b45df3a,team=alpha
ot-baggage-routing-key rk-6b45df3a
traceparent 00-46766d073b626ae15205dfa5a353a68d-9c0934c9c6505fe5-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--kafka-rabbitmq--9adef77f

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

traceparent 00-5659511f1a5e5604fe0bf73c661e3373-aba8137c501fd691-01
tracestate es=s:1
test id
elastic-dotnet--kafka-rabbitmq--9adef77f
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-02ae6aef,team=alpha
ot-baggage-routing-key rk-02ae6aef
traceparent 00-2227e5b1d095cec1cdb9502a03ff4f25-b41830949d140cee-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-http--4d960d27

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
elastic-apm-traceparent 00-2227e5b1d095cec1cdb9502a03ff4f25-eebf95745d6d54f1-01
traceparent 00-2227e5b1d095cec1cdb9502a03ff4f25-eebf95745d6d54f1-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-http--4d960d27
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-dd3c3c58,team=alpha
ot-baggage-routing-key rk-dd3c3c58
traceparent 00-42cc3ac28cf85db6f0fb9c442ca445aa-c4caa26a26fc4aca-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-grpc--598a1ede

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-42cc3ac28cf85db6f0fb9c442ca445aa-c80dae7dec88ad64-01
grpc-accept-encoding identity,gzip,deflate
traceparent 00-42cc3ac28cf85db6f0fb9c442ca445aa-c80dae7dec88ad64-01
tracestate cptest=v1
user-agent grpc-dotnet/2.83.0 (.NET 8.0.30; CLR 8.0.30; net8.0; linux; arm64)
test id
elastic-dotnet--rabbitmq-grpc--598a1ede
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-618668ea,team=alpha
ot-baggage-routing-key rk-618668ea
traceparent 00-31b9edbdb129a097e17a0b9bc06107c5-8ec19483c7ae33ad-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-kafka--f89d94a1

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-dotnet--rabbitmq-kafka--f89d94a1
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-fd6bf6e6,team=alpha
ot-baggage-routing-key rk-fd6bf6e6
traceparent 00-7d878274bd6dfe334d5237bf519b507e-2b04a7078c521445-01
tracestate cptest=v1
x-cp-canary elastic-dotnet--rabbitmq-rabbitmq--f123ed0f

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

traceparent 00-7d878274bd6dfe334d5237bf519b507e-a7cad4c8cc084f22-01
tracestate cptest=v1
test id
elastic-dotnet--rabbitmq-rabbitmq--f123ed0f
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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