newrelic-dotnet

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

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.44.1 10.44.1 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, 09:58 UTC
Harness
374f21d · measured in backtest-newrelic-dotnet-10.44.1
Requires
NEW_RELIC_LICENSE_KEY
Raw JSON
10.44.1.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-03bc50fd,team=alpha
ot-baggage-routing-key rk-03bc50fd
traceparent 00-7d54133054c838afee7dd93c6b59c61c-00d8557c0647ae6e-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-http--c8b6e5ec

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
correlation-context routing-key=rk-03bc50fd, team=alpha
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiI3ZDU0MTMzMDU0YzgzOGFmZWU3ZGQ5M2M2YjU5YzYxYyIsInByIjowLjAyMjAxNCwic2EiOmZhbHNlLCJ0aSI6MTc5NDMwNDcyMzUwNiwidHgiOiJjNzRkYmNlOWU4MjEwOTEwIiwiaWQiOiI5MmY4YzhkNjk0ODZiNDMzIn19
traceparent 00-7d54133054c838afee7dd93c6b59c61c-92f8c8d69486b433-00
tracestate 8478732@nr=0-0-8478732-572436422-92f8c8d69486b433-c74dbce9e8210910-0-0.022014-1794304723506,cptest=v1
test id
newrelic-dotnet--http-http--c8b6e5ec
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-153b67c6,team=alpha
ot-baggage-routing-key rk-153b67c6
traceparent 00-434909457b1a0affb8007938b5d4bc9f-2ab90ca02f68d062-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-grpc--024a583d

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
correlation-context routing-key=rk-153b67c6, team=alpha
grpc-accept-encoding identity,gzip,deflate
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiI0MzQ5MDk0NTdiMWEwYWZmYjgwMDc5MzhiNWQ0YmM5ZiIsInByIjowLjcwMTI1NCwic2EiOmZhbHNlLCJ0aSI6MTc5NDMwNDcyMzUxMiwidHgiOiI3YWRkYmE1MmJiY2U0YmFlIiwiaWQiOiIxMzEyMTVhNjAxZWZjNzAzIn19
traceparent 00-434909457b1a0affb8007938b5d4bc9f-131215a601efc703-00
tracestate 8478732@nr=0-0-8478732-572436422-131215a601efc703-7addba52bbce4bae-0-0.701254-1794304723512,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--024a583d
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-d0ac2c76,team=alpha
ot-baggage-routing-key rk-d0ac2c76
traceparent 00-09661e98fd0c431c872d2d531daeb417-cae98873f5a08f90-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-kafka--298e1a8e

Observed at the sink on the outbound Kafka record headers

newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiIwOTY2MWU5OGZkMGM0MzFjODcyZDJkNTMxZGFlYjQxNyIsInByIjowLjc4OTc4NSwic2EiOmZhbHNlLCJ0aSI6MTc5NDMwNDcyMzUxNiwidHgiOiJmYjMwNzU2ZWNkNjBmNjJjIiwiaWQiOiJjZjAyYjA3NWE0ODQ3YjBhIn19
traceparent 00-09661e98fd0c431c872d2d531daeb417-cf02b075a4847b0a-00
tracestate 8478732@nr=0-0-8478732-572436422-cf02b075a4847b0a-fb30756ecd60f62c-0-0.789785-1794304723516,cptest=v1
test id
newrelic-dotnet--http-kafka--298e1a8e
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-1cfe949d,team=alpha
ot-baggage-routing-key rk-1cfe949d
traceparent 00-b7852c1a6b20c4ae2ddce32f03f183e5-0d6392f9b12f73d4-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-rabbitmq--76f17a0e

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

No headers observed.

test id
newrelic-dotnet--http-rabbitmq--76f17a0e
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-b9f61d7d,team=alpha
ot-baggage-routing-key rk-b9f61d7d
traceparent 00-9eb6cbc6b335ceae4c1704b0e3b3211d-387efd7f5d0ae1d1-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-http--6b30fe78

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
correlation-context routing-key=rk-b9f61d7d, team=alpha
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiI5ZWI2Y2JjNmIzMzVjZWFlNGMxNzA0YjBlM2IzMjExZCIsInByIjowLjg4MDc2NSwic2EiOmZhbHNlLCJ0aSI6MTc5NDMwNDcyNDU1NCwidHgiOiJmM2Y2MDlkZDQ4NzcxMjJkIiwiaWQiOiJkMzMyZDUyZWY4MTM2NjEyIn19
traceparent 00-9eb6cbc6b335ceae4c1704b0e3b3211d-d332d52ef8136612-00
tracestate 8478732@nr=0-0-8478732-572436422-d332d52ef8136612-f3f609dd4877122d-0-0.880765-1794304724554,cptest=v1
test id
newrelic-dotnet--grpc-http--6b30fe78
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-198753a9,team=alpha
ot-baggage-routing-key rk-198753a9
traceparent 00-a420c8a6885c93e7a1bb35fa8b15dfc3-5355b6506d869b56-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-grpc--917c7450

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
correlation-context routing-key=rk-198753a9, team=alpha
grpc-accept-encoding identity,gzip,deflate
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiJhNDIwYzhhNjg4NWM5M2U3YTFiYjM1ZmE4YjE1ZGZjMyIsInByIjowLjg4MDc5NSwic2EiOmZhbHNlLCJ0aSI6MTc5NDMwNDcyNDU2MSwidHgiOiJkZTZmMWRkNWZkOWZjNTg1IiwiaWQiOiIyMmI2NzQ3ZDg0OGZkNGIxIn19
traceparent 00-a420c8a6885c93e7a1bb35fa8b15dfc3-22b6747d848fd4b1-00
tracestate 8478732@nr=0-0-8478732-572436422-22b6747d848fd4b1-de6f1dd5fd9fc585-0-0.880795-1794304724561,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--917c7450
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-07c49286,team=alpha
ot-baggage-routing-key rk-07c49286
traceparent 00-4ac9a134a0e1145386bd1cb18ddbcfe9-1f31efa0775f9403-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-kafka--26243629

Observed at the sink on the outbound Kafka record headers

newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiI0YWM5YTEzNGEwZTExNDUzODZiZDFjYjE4ZGRiY2ZlOSIsInByIjowLjIxMjYwMiwic2EiOmZhbHNlLCJ0aSI6MTc5NDMwNDcyNDU3OCwidHgiOiJmMDUwMGExOTg3NDIyYWU5IiwiaWQiOiJkOWZiZTI1YWI0YzIwYThjIn19
traceparent 00-4ac9a134a0e1145386bd1cb18ddbcfe9-d9fbe25ab4c20a8c-00
tracestate 8478732@nr=0-0-8478732-572436422-d9fbe25ab4c20a8c-f0500a1987422ae9-0-0.212602-1794304724578,cptest=v1
test id
newrelic-dotnet--grpc-kafka--26243629
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-c15b62ef,team=alpha
ot-baggage-routing-key rk-c15b62ef
traceparent 00-81ed06b3a229f36c23ee15dd976a9629-129ee212c79f0a60-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-rabbitmq--c02e6baf

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

No headers observed.

test id
newrelic-dotnet--grpc-rabbitmq--c02e6baf
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-6f08c7ee,team=alpha
ot-baggage-routing-key rk-6f08c7ee
traceparent 00-caeabefd4d858489e69541e53d625731-40febfd4795042f0-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-http--e82a1419

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
test id
newrelic-dotnet--kafka-http--e82a1419
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-1dd64412,team=alpha
ot-baggage-routing-key rk-1dd64412
traceparent 00-8992f51f0fb9a7a35c3680d4f21a8815-5c1387d380da0143-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-grpc--44e2a38d

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--44e2a38d
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-82d27355,team=alpha
ot-baggage-routing-key rk-82d27355
traceparent 00-cf81e3af3813fc30ccd891478f343a83-5d3538bff7d399c8-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-kafka--25018747

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
newrelic-dotnet--kafka-kafka--25018747
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-2ea0e24f,team=alpha
ot-baggage-routing-key rk-2ea0e24f
traceparent 00-c142b2908ce7c633114213cacb9ff09f-1ddf4ece632db7be-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-rabbitmq--97cc5284

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

No headers observed.

test id
newrelic-dotnet--kafka-rabbitmq--97cc5284
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-c2e3eb30,team=alpha
ot-baggage-routing-key rk-c2e3eb30
traceparent 00-bc01417ff5603e47c44c04b993c9338d-6b1108a0b8355d93-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-http--11d7d89c

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
test id
newrelic-dotnet--rabbitmq-http--11d7d89c
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-e85bbea3,team=alpha
ot-baggage-routing-key rk-e85bbea3
traceparent 00-d4c7976a122b1be6bcb63589fd64bf36-d50c15e7926acec1-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-grpc--07a0bcdc

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--07a0bcdc
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-b8db2acb,team=alpha
ot-baggage-routing-key rk-b8db2acb
traceparent 00-bdd58e76e6bc4e74855b5531ffbdcf94-79775a2569304743-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-kafka--09f3fc7d

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
newrelic-dotnet--rabbitmq-kafka--09f3fc7d
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-658e4783,team=alpha
ot-baggage-routing-key rk-658e4783
traceparent 00-a50fe8550de1d327ccc0413eed9589db-5b1f4137b8ff913d-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-rabbitmq--a2dc6f05

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

No headers observed.

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

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