newrelic-dotnet

.NET zero-code newrelic-dotnet-agent10.42.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.42.0 10.42.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:08 UTC
Harness
374f21d · measured in backtest-newrelic-dotnet-10.42.0
Requires
NEW_RELIC_LICENSE_KEY
Raw JSON
10.42.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-8d5e5483,team=alpha
ot-baggage-routing-key rk-8d5e5483
traceparent 00-4a01dbe2acb3ec12a003eeb54aa1e2b5-3e42c943b586f9f6-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-http--71c08f76

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
correlation-context routing-key=rk-8d5e5483, team=alpha
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiI0YTAxZGJlMmFjYjNlYzEyYTAwM2VlYjU0YWExZTJiNSIsInByIjowLjc1MTgzNiwic2EiOmZhbHNlLCJ0aSI6MTc5NDMwNTI4Mjc2MCwidHgiOiJlZmExYzUxMjk1YjkyMWJlIiwiaWQiOiI4NzQyMDk1NjkwYzEyMjc3In19
traceparent 00-4a01dbe2acb3ec12a003eeb54aa1e2b5-8742095690c12277-00
tracestate 8478732@nr=0-0-8478732-572436422-8742095690c12277-efa1c51295b921be-0-0.751836-1794305282760,cptest=v1
test id
newrelic-dotnet--http-http--71c08f76
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-a6459134,team=alpha
ot-baggage-routing-key rk-a6459134
traceparent 00-3fb4c909145312512e63600e3ced5bbe-7f1c24b8b145661e-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-grpc--76d2779b

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
correlation-context routing-key=rk-a6459134, team=alpha
grpc-accept-encoding identity,gzip,deflate
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiIzZmI0YzkwOTE0NTMxMjUxMmU2MzYwMGUzY2VkNWJiZSIsInByIjowLjc3NDEzMSwic2EiOmZhbHNlLCJ0aSI6MTc5NDMwNTI4Mjc2NCwidHgiOiJlZmMzY2E4NjAyNTdiNzdkIiwiaWQiOiI3ZWM3NTgwMzExY2ZhM2QyIn19
traceparent 00-3fb4c909145312512e63600e3ced5bbe-7ec7580311cfa3d2-00
tracestate 8478732@nr=0-0-8478732-572436422-7ec7580311cfa3d2-efc3ca860257b77d-0-0.774131-1794305282764,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--76d2779b
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-bfeec492,team=alpha
ot-baggage-routing-key rk-bfeec492
traceparent 00-b70e83e183c90113e89f41f4daff83a1-dd124de92b2798e6-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-kafka--b0bf62be

Observed at the sink on the outbound Kafka record headers

newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiJiNzBlODNlMTgzYzkwMTEzZTg5ZjQxZjRkYWZmODNhMSIsInByIjowLjE2ODQ4LCJzYSI6ZmFsc2UsInRpIjoxNzk0MzA1MjgyNzY3LCJ0eCI6ImFhMzAyOWFhNmRjZmViNzEiLCJpZCI6IjlmYjM1MWYyYTk0NDg5YjQifX0=
traceparent 00-b70e83e183c90113e89f41f4daff83a1-9fb351f2a94489b4-00
tracestate 8478732@nr=0-0-8478732-572436422-9fb351f2a94489b4-aa3029aa6dcfeb71-0-0.16848-1794305282767,cptest=v1
test id
newrelic-dotnet--http-kafka--b0bf62be
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-80663859,team=alpha
ot-baggage-routing-key rk-80663859
traceparent 00-9e0488aceb89a461d3c67ba85bbd8a36-20d3e7483e376f4a-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-rabbitmq--86ab5769

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

No headers observed.

test id
newrelic-dotnet--http-rabbitmq--86ab5769
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-ac1633cd,team=alpha
ot-baggage-routing-key rk-ac1633cd
traceparent 00-b676fadacdf88fcee9250738bde8f55f-ad4f20699db2717a-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-http--8ce2fb82

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
correlation-context routing-key=rk-ac1633cd, team=alpha
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiJiNjc2ZmFkYWNkZjg4ZmNlZTkyNTA3MzhiZGU4ZjU1ZiIsInByIjowLjA4NzkxNCwic2EiOmZhbHNlLCJ0aSI6MTc5NDMwNTI4MzI5MCwidHgiOiIxMTUwN2QxNWY1NDFmZDA0IiwiaWQiOiIxYWUxMzU2YzI5NWE4MDVlIn19
traceparent 00-b676fadacdf88fcee9250738bde8f55f-1ae1356c295a805e-00
tracestate 8478732@nr=0-0-8478732-572436422-1ae1356c295a805e-11507d15f541fd04-0-0.087914-1794305283290,cptest=v1
test id
newrelic-dotnet--grpc-http--8ce2fb82
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-fee2d7cc,team=alpha
ot-baggage-routing-key rk-fee2d7cc
traceparent 00-070ca41da39613d5796e5740fcd50fca-11ae6236d85ec190-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-grpc--8b0e5a9d

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
correlation-context routing-key=rk-fee2d7cc, team=alpha
grpc-accept-encoding identity,gzip,deflate
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiIwNzBjYTQxZGEzOTYxM2Q1Nzk2ZTU3NDBmY2Q1MGZjYSIsInByIjowLjI4OTgzMywic2EiOmZhbHNlLCJ0aSI6MTc5NDMwNTI4MzMwMiwidHgiOiJmMmYxYzI1YzIxNWY1MDJmIiwiaWQiOiJjZWE0Yjk4MDAwNTc3OWZkIn19
traceparent 00-070ca41da39613d5796e5740fcd50fca-cea4b980005779fd-00
tracestate 8478732@nr=0-0-8478732-572436422-cea4b980005779fd-f2f1c25c215f502f-0-0.289833-1794305283302,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--8b0e5a9d
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-774b02d5,team=alpha
ot-baggage-routing-key rk-774b02d5
traceparent 00-4a4f0c702c61133d66e5a0d8b538231b-ce5e255cb93ce067-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-kafka--fbc56976

Observed at the sink on the outbound Kafka record headers

newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiI0YTRmMGM3MDJjNjExMzNkNjZlNWEwZDhiNTM4MjMxYiIsInByIjowLjkwOTAyOCwic2EiOmZhbHNlLCJ0aSI6MTc5NDMwNTI4MzMxMiwidHgiOiIyYjc5ZjE1YmRhMzBiZWQxIiwiaWQiOiJhN2QxYmRmMjQ5NTE2MmM5In19
traceparent 00-4a4f0c702c61133d66e5a0d8b538231b-a7d1bdf2495162c9-00
tracestate 8478732@nr=0-0-8478732-572436422-a7d1bdf2495162c9-2b79f15bda30bed1-0-0.909028-1794305283312,cptest=v1
test id
newrelic-dotnet--grpc-kafka--fbc56976
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-ca1501a1,team=alpha
ot-baggage-routing-key rk-ca1501a1
traceparent 00-c95a33b61b6107f164818eea506931b1-9d227ed3260dbc8e-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-rabbitmq--bd547896

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

No headers observed.

test id
newrelic-dotnet--grpc-rabbitmq--bd547896
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-b267748b,team=alpha
ot-baggage-routing-key rk-b267748b
traceparent 00-ee922a93ef3a089f7e7ed5ca0e578d8a-d455dc4ad70bf5f9-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-http--ca1029dd

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
test id
newrelic-dotnet--kafka-http--ca1029dd
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-242dd9b7,team=alpha
ot-baggage-routing-key rk-242dd9b7
traceparent 00-b22f4264397bbd58e59371241b5159dd-385f96619a767bf7-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-grpc--43403458

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--43403458
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-0dcbd660,team=alpha
ot-baggage-routing-key rk-0dcbd660
traceparent 00-e9c5780d9e64b82d87a8785900253358-e58854cc4060648c-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-kafka--d0571f5a

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
newrelic-dotnet--kafka-kafka--d0571f5a
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-86c70e91,team=alpha
ot-baggage-routing-key rk-86c70e91
traceparent 00-a6cba7b1265d98c0b75ba9afd30039eb-d3c780cc088ef66e-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-rabbitmq--d1d58825

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

No headers observed.

test id
newrelic-dotnet--kafka-rabbitmq--d1d58825
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-d0b64a29,team=alpha
ot-baggage-routing-key rk-d0b64a29
traceparent 00-a38195dbdee5002e7bf8004264c862be-8fea2957dd8b7015-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-http--1dbccc5f

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
test id
newrelic-dotnet--rabbitmq-http--1dbccc5f
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-b499d2ca,team=alpha
ot-baggage-routing-key rk-b499d2ca
traceparent 00-75db5cab5e18623b4446898dfb4b0408-f7cdd3f4f9b4821b-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-grpc--b3dfdb37

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--b3dfdb37
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-8fbb1f3f,team=alpha
ot-baggage-routing-key rk-8fbb1f3f
traceparent 00-a936650a414e2d34b4c733f673971fc1-7b970b0a991435e2-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-kafka--53ece430

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
newrelic-dotnet--rabbitmq-kafka--53ece430
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-d54be2ee,team=alpha
ot-baggage-routing-key rk-d54be2ee
traceparent 00-e361159d5486dc1659d84a15256b136f-4f7bded9e65d72b2-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-rabbitmq--b438c0df

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

No headers observed.

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

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