newrelic-dotnet

.NET zero-code newrelic-dotnet-agent10.49.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.49.0 10.49.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, 07:51 UTC
Harness
9b99070 · measured in backtest-newrelic-dotnet-10.49.0
Requires
NEW_RELIC_LICENSE_KEY
Raw JSON
10.49.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-a908ec9c,team=alpha
ot-baggage-routing-key rk-a908ec9c
traceparent 00-bb405ad370786dea9c32450a6a5067d7-fe68b15c1b1982fd-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-http--6dcdafd3

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
correlation-context routing-key=rk-a908ec9c, team=alpha
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiJiYjQwNWFkMzcwNzg2ZGVhOWMzMjQ1MGE2YTUwNjdkNyIsInByIjowLjAsInNhIjpmYWxzZSwidGkiOjE3OTQyOTcxMDYxMzgsInR4IjoiODI5N2FmMDhmYzQwOTQ5NyIsImlkIjoiMTU3MzExM2YzNWNmYTFmNiJ9fQ==
traceparent 00-bb405ad370786dea9c32450a6a5067d7-1573113f35cfa1f6-00
tracestate 8478732@nr=0-0-8478732-572436422-1573113f35cfa1f6-8297af08fc409497-0-0-1794297106138,cptest=v1
test id
newrelic-dotnet--http-http--6dcdafd3
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-a8e0c7ae,team=alpha
ot-baggage-routing-key rk-a8e0c7ae
traceparent 00-21f9b53534145fd2d5888315f9b56482-26401f7678527583-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-grpc--5aa834f8

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
correlation-context routing-key=rk-a8e0c7ae, team=alpha
grpc-accept-encoding identity,gzip,deflate
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiIyMWY5YjUzNTM0MTQ1ZmQyZDU4ODgzMTVmOWI1NjQ4MiIsInByIjowLjAsInNhIjpmYWxzZSwidGkiOjE3OTQyOTcxMDYxNDcsInR4IjoiNDMzZjY0ZmM4ZTk1N2QxYSIsImlkIjoiMDViYWQ5MGIyNTUyMWIyYyJ9fQ==
traceparent 00-21f9b53534145fd2d5888315f9b56482-05bad90b25521b2c-00
tracestate 8478732@nr=0-0-8478732-572436422-05bad90b25521b2c-433f64fc8e957d1a-0-0-1794297106147,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--5aa834f8
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-93945190,team=alpha
ot-baggage-routing-key rk-93945190
traceparent 00-d7d832893231d939afcadb8680d82026-23a773219e8cd8d4-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-kafka--40df6891

Observed at the sink on the outbound Kafka record headers

newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiJkN2Q4MzI4OTMyMzFkOTM5YWZjYWRiODY4MGQ4MjAyNiIsInByIjowLjAsInNhIjpmYWxzZSwidGkiOjE3OTQyOTcxMDYxNTEsInR4IjoiNTAzZDlhYTZiMDg5NzNmMyIsImlkIjoiNjY1Yjg2NjU4NGE3YjljMyJ9fQ==
traceparent 00-d7d832893231d939afcadb8680d82026-665b866584a7b9c3-00
tracestate 8478732@nr=0-0-8478732-572436422-665b866584a7b9c3-503d9aa6b08973f3-0-0-1794297106151,cptest=v1
test id
newrelic-dotnet--http-kafka--40df6891
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-5c5a3f17,team=alpha
ot-baggage-routing-key rk-5c5a3f17
traceparent 00-6dd83fd8ff9251af25e97b41607ea2a0-7b291176f845fcc8-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-rabbitmq--51e491cd

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

No headers observed.

test id
newrelic-dotnet--http-rabbitmq--51e491cd
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-c340d8f7,team=alpha
ot-baggage-routing-key rk-c340d8f7
traceparent 00-211656a3f1575d2abbfb99a503f39e99-8131db2fbf0dada1-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-http--9976e092

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
correlation-context routing-key=rk-c340d8f7, team=alpha
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiIyMTE2NTZhM2YxNTc1ZDJhYmJmYjk5YTUwM2YzOWU5OSIsInByIjowLjAsInNhIjpmYWxzZSwidGkiOjE3OTQyOTcxMDY3MjUsInR4IjoiYmUyODMwMDY3ODE2MWI1OSIsImlkIjoiNDUzY2ViMzU3NTA1OGQwYyJ9fQ==
traceparent 00-211656a3f1575d2abbfb99a503f39e99-453ceb3575058d0c-00
tracestate 8478732@nr=0-0-8478732-572436422-453ceb3575058d0c-be28300678161b59-0-0-1794297106725,cptest=v1
test id
newrelic-dotnet--grpc-http--9976e092
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-9d3c0717,team=alpha
ot-baggage-routing-key rk-9d3c0717
traceparent 00-4950587045db54284812f05629f79db4-167a19005c22b1ec-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-grpc--bb8134b2

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
correlation-context routing-key=rk-9d3c0717, team=alpha
grpc-accept-encoding identity,gzip,deflate
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiI0OTUwNTg3MDQ1ZGI1NDI4NDgxMmYwNTYyOWY3OWRiNCIsInByIjowLjAsInNhIjpmYWxzZSwidGkiOjE3OTQyOTcxMDY3NzksInR4IjoiMjI4M2IwNTRiOTg5N2JkNyIsImlkIjoiY2Q1YjI1YzhmNTRmNGMzNiJ9fQ==
traceparent 00-4950587045db54284812f05629f79db4-cd5b25c8f54f4c36-00
tracestate 8478732@nr=0-0-8478732-572436422-cd5b25c8f54f4c36-2283b054b9897bd7-0-0-1794297106779,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--bb8134b2
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-473a6b2e,team=alpha
ot-baggage-routing-key rk-473a6b2e
traceparent 00-7250d993ba9a5718ca5d3eb9a03f54ed-02b54073b34a3965-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-kafka--b97e2b30

Observed at the sink on the outbound Kafka record headers

newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiI3MjUwZDk5M2JhOWE1NzE4Y2E1ZDNlYjlhMDNmNTRlZCIsInByIjowLjAsInNhIjpmYWxzZSwidGkiOjE3OTQyOTcxMDY3OTksInR4IjoiMzU1NDg3YThiZTMxYjE1ZiIsImlkIjoiNzUxZjM1YzFiZDRhYTRlZiJ9fQ==
traceparent 00-7250d993ba9a5718ca5d3eb9a03f54ed-751f35c1bd4aa4ef-00
tracestate 8478732@nr=0-0-8478732-572436422-751f35c1bd4aa4ef-355487a8be31b15f-0-0-1794297106799,cptest=v1
test id
newrelic-dotnet--grpc-kafka--b97e2b30
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-acf4f879,team=alpha
ot-baggage-routing-key rk-acf4f879
traceparent 00-4f762fdec0e74484860208a77830274f-e0a928f03ac34c42-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-rabbitmq--0fc742e2

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

No headers observed.

test id
newrelic-dotnet--grpc-rabbitmq--0fc742e2
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-4193782f,team=alpha
ot-baggage-routing-key rk-4193782f
traceparent 00-fea63528eb6d2853698e9fcf1ea291cf-c0287b730f259454-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-http--1443715a

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
test id
newrelic-dotnet--kafka-http--1443715a
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-de14a0f3,team=alpha
ot-baggage-routing-key rk-de14a0f3
traceparent 00-95e4b099daeec027ad7e33c375dc5b02-23e02640ce7c85f2-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-grpc--72526003

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--72526003
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-8618b4f2,team=alpha
ot-baggage-routing-key rk-8618b4f2
traceparent 00-96373b17cc30ef51bf8018cb489354ac-2110467bbadbeded-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-kafka--cfff1f48

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
newrelic-dotnet--kafka-kafka--cfff1f48
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-c9d6f008,team=alpha
ot-baggage-routing-key rk-c9d6f008
traceparent 00-b43ff1d405b78703cf3ad7c4a306a2d6-5b5a51eadc31f059-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-rabbitmq--568c75d6

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

No headers observed.

test id
newrelic-dotnet--kafka-rabbitmq--568c75d6
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-a25cc63e,team=alpha
ot-baggage-routing-key rk-a25cc63e
traceparent 00-0113f8c0665da7c8e010355a27453e03-d46f56a7df0c4288-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-http--00159f5c

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
test id
newrelic-dotnet--rabbitmq-http--00159f5c
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-67ba2795,team=alpha
ot-baggage-routing-key rk-67ba2795
traceparent 00-b655e0f7dc6e91b006ed3f537273e177-2b968bd3fb512394-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-grpc--b0f0c8a9

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--b0f0c8a9
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-8c4a6e68,team=alpha
ot-baggage-routing-key rk-8c4a6e68
traceparent 00-707e30b4d1c862818026f842544da281-827f8d24fbd944a3-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-kafka--980ccb56

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
newrelic-dotnet--rabbitmq-kafka--980ccb56
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-4514e77d,team=alpha
ot-baggage-routing-key rk-4514e77d
traceparent 00-de5764cec11f058948d5358062d8283b-c9fdf48a5e109a38-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-rabbitmq--de2543ab

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

No headers observed.

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

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