newrelic-dotnet

.NET zero-code newrelic-dotnet-agent10.45.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.45.0 10.45.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, 08:34 UTC
Harness
9b99070 · measured in backtest-newrelic-dotnet-10.45.0
Requires
NEW_RELIC_LICENSE_KEY
Raw JSON
10.45.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-0fdb416a,team=alpha
ot-baggage-routing-key rk-0fdb416a
traceparent 00-e67760688ab88c5908289aa03d5746af-07b5302c95fc1feb-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-http--01704beb

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
correlation-context routing-key=rk-0fdb416a, team=alpha
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiJlNjc3NjA2ODhhYjg4YzU5MDgyODlhYTAzZDU3NDZhZiIsInByIjowLjAsInNhIjpmYWxzZSwidGkiOjE3OTQyOTk2Njc2MDYsInR4IjoiMzk4NzUzNjM2ZmVkZWQ3YSIsImlkIjoiZWU0MDY1ZGZlZjcwZGIxMiJ9fQ==
traceparent 00-e67760688ab88c5908289aa03d5746af-ee4065dfef70db12-00
tracestate 8478732@nr=0-0-8478732-572436422-ee4065dfef70db12-398753636feded7a-0-0-1794299667606,cptest=v1
test id
newrelic-dotnet--http-http--01704beb
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-7e0ae834,team=alpha
ot-baggage-routing-key rk-7e0ae834
traceparent 00-399a0e599ddcf617770d9494ae2be6c5-d3a088fda982baa2-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-grpc--f210d285

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
correlation-context routing-key=rk-7e0ae834, team=alpha
grpc-accept-encoding identity,gzip,deflate
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiIzOTlhMGU1OTlkZGNmNjE3NzcwZDk0OTRhZTJiZTZjNSIsInByIjowLjAsInNhIjpmYWxzZSwidGkiOjE3OTQyOTk2Njc2MTAsInR4IjoiZDczMzE4MzgwOTQ4ZTIzMyIsImlkIjoiNDE5MDg0MmZhOWY2NjE5MCJ9fQ==
traceparent 00-399a0e599ddcf617770d9494ae2be6c5-4190842fa9f66190-00
tracestate 8478732@nr=0-0-8478732-572436422-4190842fa9f66190-d73318380948e233-0-0-1794299667610,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--f210d285
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-4eed835a,team=alpha
ot-baggage-routing-key rk-4eed835a
traceparent 00-e6aeee9832ed02a6ee231732ac63ca04-1ca93e8b469ad410-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-kafka--036ee5e3

Observed at the sink on the outbound Kafka record headers

newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiJlNmFlZWU5ODMyZWQwMmE2ZWUyMzE3MzJhYzYzY2EwNCIsInByIjowLjAsInNhIjpmYWxzZSwidGkiOjE3OTQyOTk2Njc2MTMsInR4IjoiYTEwYjY3MDFmMzE4Yjk3MCIsImlkIjoiZTYyNTY5NmE5Yjk3MzQ3MyJ9fQ==
traceparent 00-e6aeee9832ed02a6ee231732ac63ca04-e625696a9b973473-00
tracestate 8478732@nr=0-0-8478732-572436422-e625696a9b973473-a10b6701f318b970-0-0-1794299667613,cptest=v1
test id
newrelic-dotnet--http-kafka--036ee5e3
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-5a4ff938,team=alpha
ot-baggage-routing-key rk-5a4ff938
traceparent 00-5338bf1c022ee582d03dbfefb3a552a1-19cadeb42bfa33b1-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-rabbitmq--35c5fbfa

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

No headers observed.

test id
newrelic-dotnet--http-rabbitmq--35c5fbfa
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-d0f9ab8d,team=alpha
ot-baggage-routing-key rk-d0f9ab8d
traceparent 00-e93b45f80ce8e95217282149c132aef9-922cbbd1c55d8347-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-http--0e548e39

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
correlation-context routing-key=rk-d0f9ab8d, team=alpha
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiJlOTNiNDVmODBjZThlOTUyMTcyODIxNDljMTMyYWVmOSIsInByIjowLjAsInNhIjpmYWxzZSwidGkiOjE3OTQyOTk2Njc2NTksInR4IjoiM2UyZjNlNDFjMWFhNTNmMiIsImlkIjoiYjhhMTk2MThhZTU0NWYyZSJ9fQ==
traceparent 00-e93b45f80ce8e95217282149c132aef9-b8a19618ae545f2e-00
tracestate 8478732@nr=0-0-8478732-572436422-b8a19618ae545f2e-3e2f3e41c1aa53f2-0-0-1794299667659,cptest=v1
test id
newrelic-dotnet--grpc-http--0e548e39
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-d6dbfb60,team=alpha
ot-baggage-routing-key rk-d6dbfb60
traceparent 00-62400073d081eb33b0106578e6d95c42-fa1df6920f959d15-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-grpc--181d62b4

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
correlation-context routing-key=rk-d6dbfb60, team=alpha
grpc-accept-encoding identity,gzip,deflate
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiI2MjQwMDA3M2QwODFlYjMzYjAxMDY1NzhlNmQ5NWM0MiIsInByIjowLjAsInNhIjpmYWxzZSwidGkiOjE3OTQyOTk2Njc2OTksInR4IjoiYzIzMjRlYWQ3MzdlNWFmNyIsImlkIjoiYmQxNDY4MWYwYWI1OWE5YSJ9fQ==
traceparent 00-62400073d081eb33b0106578e6d95c42-bd14681f0ab59a9a-00
tracestate 8478732@nr=0-0-8478732-572436422-bd14681f0ab59a9a-c2324ead737e5af7-0-0-1794299667699,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--181d62b4
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-a2a7549f,team=alpha
ot-baggage-routing-key rk-a2a7549f
traceparent 00-fb63603d8f2b3cc40e3a3b1ef9a21a71-ab001bd4399afe23-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-kafka--e08ea5c8

Observed at the sink on the outbound Kafka record headers

newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiJmYjYzNjAzZDhmMmIzY2M0MGUzYTNiMWVmOWEyMWE3MSIsInByIjowLjAsInNhIjpmYWxzZSwidGkiOjE3OTQyOTk2Njc3MzUsInR4IjoiNzhmMzFkNTlmMzNkZjRkOSIsImlkIjoiMjdlMjU2NGFlNzhkNjI2MiJ9fQ==
traceparent 00-fb63603d8f2b3cc40e3a3b1ef9a21a71-27e2564ae78d6262-00
tracestate 8478732@nr=0-0-8478732-572436422-27e2564ae78d6262-78f31d59f33df4d9-0-0-1794299667735,cptest=v1
test id
newrelic-dotnet--grpc-kafka--e08ea5c8
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-37065f68,team=alpha
ot-baggage-routing-key rk-37065f68
traceparent 00-0927d658ed1f60e850477b7ce53bd7d5-03d162671c83f0d2-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-rabbitmq--3df0665b

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

No headers observed.

test id
newrelic-dotnet--grpc-rabbitmq--3df0665b
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-f6cbb616,team=alpha
ot-baggage-routing-key rk-f6cbb616
traceparent 00-921f7c56c5a8b5778a60a183650c4e70-216a14286e132e17-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-http--28ffbde3

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
test id
newrelic-dotnet--kafka-http--28ffbde3
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-081c2803,team=alpha
ot-baggage-routing-key rk-081c2803
traceparent 00-42d086bdf50fa0e078d61b9cebe95415-1049b37ae5dc7f71-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-grpc--33e53469

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--33e53469
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-a9826d3b,team=alpha
ot-baggage-routing-key rk-a9826d3b
traceparent 00-1892f28e445e0d77a0c481165e52f813-a7fef5b0bc3a958b-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-kafka--11747bb2

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
newrelic-dotnet--kafka-kafka--11747bb2
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-e3dc7b1b,team=alpha
ot-baggage-routing-key rk-e3dc7b1b
traceparent 00-8d00ec7670968f6928ee037e711bf86c-73686006b849047c-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-rabbitmq--1242c3b4

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

No headers observed.

test id
newrelic-dotnet--kafka-rabbitmq--1242c3b4
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-e7f92024,team=alpha
ot-baggage-routing-key rk-e7f92024
traceparent 00-ad193cecad67b416505f1d368d0ebb8d-e4965bc026d3bb67-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-http--9f5bf2cd

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
test id
newrelic-dotnet--rabbitmq-http--9f5bf2cd
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-9fea4bda,team=alpha
ot-baggage-routing-key rk-9fea4bda
traceparent 00-3579b5111b96052bece6795cfd0b960d-2d424008aa65bc16-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-grpc--431723e7

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--431723e7
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-0d3b2184,team=alpha
ot-baggage-routing-key rk-0d3b2184
traceparent 00-0b9a43a53d4ed0f58dfd89dd3f5986ea-15b6bd41f63b34e9-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-kafka--dbf867e5

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
newrelic-dotnet--rabbitmq-kafka--dbf867e5
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-576bc579,team=alpha
ot-baggage-routing-key rk-576bc579
traceparent 00-192930cce9d7cff7604c787fcf7d99a4-356656f02aff28fd-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-rabbitmq--e99fcbd1

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

No headers observed.

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

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