newrelic-dotnet

.NET zero-code newrelic-dotnet-agent10.43.0

attach CLR profiler env (New Relic .NET agent)

12/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

New Relic agents carry no W3C baggage on any boundary

by-design Baggage is not part of New Relic's distributed-tracing model (traceparent, tracestate, newrelic); no agent forwards the header and no feature request exists.

New Relic's "How distributed tracing works" defines the complete header model as exactly three headers: traceparent, tracestate and the vendor newrelic header. The seeded W3C baggage member is neither extracted nor re-emitted by any of the seven agents on any of the 16 boundaries, even where trace context continues perfectly (Python is 16/16 for trace context).

An org-wide search for "baggage" across all New Relic agent repositories returns three unrelated hits; no feature request for W3C baggage exists in any of the seven agent repos. New Relic carries no baggage on any protocol; an application that routes on it has to carry the header itself.

16 cells affected

newrelic-no-baggage

New Relic agents continue the trace but set the traceparent sampled flag from their own sampling decision

by-design A New Relic agent takes the trace id from traceparent but decides sampling itself unless an upstream New Relic agent's tracestate entry says otherwise; the flags byte it writes mirrors that decision, not the seeded 01.

Every New Relic pass on traceparent continues the seeded trace id, but the flags byte on the outbound header is the agent's own. The harness seeds 01 (sampled); what comes out is 00 on hops where the agent did not sample the transaction and 01 where it did. The W3C specification allows this: the sampled flag is a hint, and each participant may decide for itself.

New Relic's model carries the decision in its @nr tracestate entry (the sampled and priority fields). When an inbound request has an @nr entry from a trusted account, the agent adopts that decision; the harness seeds no @nr entry, so each agent decides with its own adaptive sampler and writes the result into both the @nr entry and the traceparent flags. Which hops come out 00 therefore varies by agent and by run.

The harness scores traceparent on the trace id only; the flags byte is recorded with each hop but not graded, so these cells pass. A W3C-only service downstream of a New Relic agent sees 00 on every request the agent did not sample, and may treat the trace as unsampled.

6 cells affected

newrelic-traceparent-flags-own-sampling

New Relic .NET: RabbitMQ.Client 7's async IChannel API is not instrumented by the classic agent

open The agent instruments the classic IModel API that RabbitMQ.Client 7 removed; v7 support exists only via the default-off hybrid agent, which emits span links.

newrelic-dotnet-agent 10.54.0 injects on all *->kafka legs but every *->rabbitmq leg carries nothing, and rabbitmq->* never accepts. The agent's instrumented-methods list is exclusively the classic IModel.* surface, which RabbitMQ.Client 7 removed entirely; this relay uses 7.2.2's async-only IChannel.BasicPublishAsync. The v7 async instrumentation PR #2890 was closed unmerged on a ValueTask<T> blocker.

The compatibility docs' "7.1.2 verified" claim refers to the hybrid-agent path (#2885: "RabbitMQ 7+ versions are supported with the new hybrid agent feature in agent versions 10.49.0+"), which picks up the client's native ActivitySource, but it is disabled by default and, per New Relic's docs, "Distributed tracing works differently (span links vs. parent/child relationships)". With the default configuration the RabbitMQ legs carry nothing, as measured.

What a user can do: enable the hybrid agent (accepting links rather than continuity), pin RabbitMQ.Client <7, or insert/accept DT headers manually with the agent API.

14 cells affected

newrelic-dotnet-rabbitmq-client7-not-instrumented

New Relic .NET: Confluent.Kafka produce injects, but nothing is carried on from a consumed record (cause not confirmed in source)

open After a Confluent.Kafka consume, outbound calls carry no headers at all. The measurement is consistent with the consumed record's headers never being accepted into a transaction; the agent's consume path has not been checked in source.

All *->kafka legs inject on newrelic-dotnet-agent 10.54.0, but every kafka->* leg fails: after a consume, outbound HTTP/gRPC/Kafka calls carry no DT headers at all (no active transaction). It belongs with the consume-side context-activation failures seen across vendors.

The mechanism is inferred from the measurement, not confirmed in the agent's source: whether the Confluent.Kafka consume wrapper starts a transaction, and whether it accepts the record headers into it, remains to be checked. We found no upstream issue. Workaround: start a transaction in the consume loop and accept the record headers into it with the agent API.

8 cells affected

newrelic-dotnet-kafka-consume-never-accepted

Versions measured

Tracer
newrelic/newrelic-dotnet-agent 10.43.0 10.43.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 (New Relic .NET agent)
Relay source
relays/dotnet
Ran at
10 Nov 2026, 10:05 UTC
Harness
374f21d · measured in backtest-newrelic-dotnet-10.43.0
Requires
NEW_RELIC_LICENSE_KEY
Raw JSON
10.43.0.json → variants[id = "newrelic-dotnet"]

Libraries

grpcGrpc.AspNetCore + Grpc.Net.Client 2.83.0
httpHttpClient
kafkaConfluent.Kafka 2.14.2
rabbitmqRabbitMQ.Client 7.2.2

Configuration

NEW_RELIC_DISTRIBUTED_TRACING_ENABLEDtrue

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-b5ed4db5,team=alpha
ot-baggage-routing-key rk-b5ed4db5
traceparent 00-f79b9ddc67a082ccfc047e55f57cc96c-fc6db4464974f371-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-http--94abcb11

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
correlation-context routing-key=rk-b5ed4db5, team=alpha
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiJmNzliOWRkYzY3YTA4MmNjZmMwNDdlNTVmNTdjYzk2YyIsInByIjowLjIyOTk0OCwic2EiOmZhbHNlLCJ0aSI6MTc5NDMwNTExNTc5MSwidHgiOiI3ZGZjMTA0MDUxMGMwZWY3IiwiaWQiOiI2OTRlMTdjM2MyNGIwN2EyIn19
traceparent 00-f79b9ddc67a082ccfc047e55f57cc96c-694e17c3c24b07a2-00
tracestate 8478732@nr=0-0-8478732-572436422-694e17c3c24b07a2-7dfc1040510c0ef7-0-0.229948-1794305115791,cptest=v1
test id
newrelic-dotnet--http-http--94abcb11
raw statuses
baggage=absenttracestate=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-6f901612,team=alpha
ot-baggage-routing-key rk-6f901612
traceparent 00-3422e2f404e8f4abde7f48a4d0fbc7ce-0f0e656d12de3c87-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-grpc--46663319

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
correlation-context routing-key=rk-6f901612, team=alpha
grpc-accept-encoding identity,gzip,deflate
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiIzNDIyZTJmNDA0ZThmNGFiZGU3ZjQ4YTRkMGZiYzdjZSIsInByIjowLjQwNjkxOSwic2EiOmZhbHNlLCJ0aSI6MTc5NDMwNTExNTc5NSwidHgiOiIzYTBhMjhhZmYyNTg3NWY5IiwiaWQiOiI2MDIwZTFiMWI0MjVlYzQ3In19
traceparent 00-3422e2f404e8f4abde7f48a4d0fbc7ce-6020e1b1b425ec47-00
tracestate 8478732@nr=0-0-8478732-572436422-6020e1b1b425ec47-3a0a28aff25875f9-0-0.406919-1794305115795,cptest=v1
user-agent grpc-dotnet/2.83.0 (.NET 8.0.33; CLR 8.0.33; net8.0; linux; x64)
test id
newrelic-dotnet--http-grpc--46663319
raw statuses
baggage=absenttracestate=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-4f04c7c0,team=alpha
ot-baggage-routing-key rk-4f04c7c0
traceparent 00-90d0630e52159f778529232ea6db94d1-35525dbe92a68a9c-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-kafka--20ec79c0

Observed at the sink on the outbound Kafka record headers

newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiI5MGQwNjMwZTUyMTU5Zjc3ODUyOTIzMmVhNmRiOTRkMSIsInByIjowLjE0NTM4Mywic2EiOmZhbHNlLCJ0aSI6MTc5NDMwNTExNTc5OCwidHgiOiJkMWZlOGM3M2IwOTQwZjUyIiwiaWQiOiI2NmNlNzcyNzFhMWE1NjdlIn19
traceparent 00-90d0630e52159f778529232ea6db94d1-66ce77271a1a567e-00
tracestate 8478732@nr=0-0-8478732-572436422-66ce77271a1a567e-d1fe8c73b0940f52-0-0.145383-1794305115798,cptest=v1
test id
newrelic-dotnet--http-kafka--20ec79c0
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
HTTP RabbitMQ baggage tracestate traceparent ot-baggage delivered via rabbitmq

Seeded on the inbound HTTP request headers

baggage routing-key=rk-f1909386,team=alpha
ot-baggage-routing-key rk-f1909386
traceparent 00-26d385df0fbcae7b0cdcb8f9be61d230-78a53afe66991048-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-rabbitmq--ce709aa1

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

No headers observed.

test id
newrelic-dotnet--http-rabbitmq--ce709aa1
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent
gRPC HTTP baggage tracestate traceparent ot-baggage delivered via http

Seeded on the inbound gRPC metadata

baggage routing-key=rk-c7414d39,team=alpha
ot-baggage-routing-key rk-c7414d39
traceparent 00-5ab42eebc33276d34534f37ffcbe9e22-40157acad469dcaf-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-http--328d3219

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
correlation-context routing-key=rk-c7414d39, team=alpha
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiI1YWI0MmVlYmMzMzI3NmQzNDUzNGYzN2ZmY2JlOWUyMiIsInByIjowLjg1MjcwNSwic2EiOmZhbHNlLCJ0aSI6MTc5NDMwNTExNjg2NSwidHgiOiIzNTRjZWJiZDVkOWFlNDU2IiwiaWQiOiJkZTRjM2ZhZmUzZTNiMWZkIn19
traceparent 00-5ab42eebc33276d34534f37ffcbe9e22-de4c3fafe3e3b1fd-00
tracestate 8478732@nr=0-0-8478732-572436422-de4c3fafe3e3b1fd-354cebbd5d9ae456-0-0.852705-1794305116865,cptest=v1
test id
newrelic-dotnet--grpc-http--328d3219
raw statuses
baggage=absenttracestate=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-ea96af73,team=alpha
ot-baggage-routing-key rk-ea96af73
traceparent 00-55b232ec1663cb39cb8485bc19b31b53-13430dacbfdb044c-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-grpc--eff74f2e

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
correlation-context routing-key=rk-ea96af73, team=alpha
grpc-accept-encoding identity,gzip,deflate
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiI1NWIyMzJlYzE2NjNjYjM5Y2I4NDg1YmMxOWIzMWI1MyIsInByIjowLjk1MTg3Mywic2EiOmZhbHNlLCJ0aSI6MTc5NDMwNTExNjkxNCwidHgiOiIzZWJiODA1OTI4N2U4NjFmIiwiaWQiOiIzNTk1MmIzNGYwOTQ3NzQ2In19
traceparent 00-55b232ec1663cb39cb8485bc19b31b53-35952b34f0947746-00
tracestate 8478732@nr=0-0-8478732-572436422-35952b34f0947746-3ebb8059287e861f-0-0.951873-1794305116914,cptest=v1
user-agent grpc-dotnet/2.83.0 (.NET 8.0.33; CLR 8.0.33; net8.0; linux; x64)
test id
newrelic-dotnet--grpc-grpc--eff74f2e
raw statuses
baggage=absenttracestate=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-91bdf410,team=alpha
ot-baggage-routing-key rk-91bdf410
traceparent 00-36e4cd88a33aabb3dbc3aaf8972e2c56-691133464250c64f-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-kafka--666965b4

Observed at the sink on the outbound Kafka record headers

newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiIzNmU0Y2Q4OGEzM2FhYmIzZGJjM2FhZjg5NzJlMmM1NiIsInByIjowLjUyNzA5NCwic2EiOmZhbHNlLCJ0aSI6MTc5NDMwNTExNjk2NSwidHgiOiJhMTFjMzgzNGYxZTUzNDQ5IiwiaWQiOiIyZjU4MTk1ZDUwMWE3ZmYwIn19
traceparent 00-36e4cd88a33aabb3dbc3aaf8972e2c56-2f58195d501a7ff0-00
tracestate 8478732@nr=0-0-8478732-572436422-2f58195d501a7ff0-a11c3834f1e53449-0-0.527094-1794305116965,cptest=v1
test id
newrelic-dotnet--grpc-kafka--666965b4
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
gRPC RabbitMQ baggage tracestate traceparent ot-baggage delivered via rabbitmq

Seeded on the inbound gRPC metadata

baggage routing-key=rk-85cef89e,team=alpha
ot-baggage-routing-key rk-85cef89e
traceparent 00-2aeb0a32b74ce4d2b025b477c09e56a3-0d8b24a5575d64cd-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-rabbitmq--7564ac08

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

No headers observed.

test id
newrelic-dotnet--grpc-rabbitmq--7564ac08
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent
Kafka HTTP baggage tracestate traceparent ot-baggage delivered via http

Seeded on the inbound Kafka record headers

baggage routing-key=rk-78e326f2,team=alpha
ot-baggage-routing-key rk-78e326f2
traceparent 00-4adc30bea3079a4e80e64dcaefb24dfe-feea7c2f629d98db-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-http--ccfc1461

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
test id
newrelic-dotnet--kafka-http--ccfc1461
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent
Kafka gRPC baggage tracestate traceparent ot-baggage delivered via grpc

Seeded on the inbound Kafka record headers

baggage routing-key=rk-e2948426,team=alpha
ot-baggage-routing-key rk-e2948426
traceparent 00-837510e14e91184595ad1db8a9a3be48-4c05c12923c17a42-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-grpc--436abe73

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
user-agent grpc-dotnet/2.83.0 (.NET 8.0.33; CLR 8.0.33; net8.0; linux; x64)
test id
newrelic-dotnet--kafka-grpc--436abe73
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent
Kafka Kafka baggage tracestate traceparent ot-baggage delivered via kafka

Seeded on the inbound Kafka record headers

baggage routing-key=rk-8eee8936,team=alpha
ot-baggage-routing-key rk-8eee8936
traceparent 00-e7d3a702ccb27dbd377d15a29723317f-aa6ae48f6bfaba71-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-kafka--02dacc8c

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
newrelic-dotnet--kafka-kafka--02dacc8c
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-e86b9855,team=alpha
ot-baggage-routing-key rk-e86b9855
traceparent 00-06650737f398305d336c3d430d0b8443-c4e8b50d514166a9-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-rabbitmq--1ae3c506

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

No headers observed.

test id
newrelic-dotnet--kafka-rabbitmq--1ae3c506
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_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-692f5193,team=alpha
ot-baggage-routing-key rk-692f5193
traceparent 00-51c1d05fc9a7c03b168c65fe08f38eb9-829973b37c6e6945-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-http--0712a83b

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
test id
newrelic-dotnet--rabbitmq-http--0712a83b
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_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-4a91deda,team=alpha
ot-baggage-routing-key rk-4a91deda
traceparent 00-5bc326498c79811599a93fc75af984b2-e7fb64b2310c4401-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-grpc--9099d1ff

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
user-agent grpc-dotnet/2.83.0 (.NET 8.0.33; CLR 8.0.33; net8.0; linux; x64)
test id
newrelic-dotnet--rabbitmq-grpc--9099d1ff
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_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-cd661c06,team=alpha
ot-baggage-routing-key rk-cd661c06
traceparent 00-999230699d99d04133afc7020259ed52-2bf94ebc38331cc4-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-kafka--0dde7f97

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
newrelic-dotnet--rabbitmq-kafka--0dde7f97
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-735f5214,team=alpha
ot-baggage-routing-key rk-735f5214
traceparent 00-720e1199ac837fc254df56889b5de62d-83408663ee73a92e-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-rabbitmq--797b6611

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

No headers observed.

test id
newrelic-dotnet--rabbitmq-rabbitmq--797b6611
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent

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