newrelic-dotnet

.NET zero-code newrelic-dotnet-agent10.37.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.37.0 10.37.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:19 UTC
Harness
374f21d · measured in backtest-newrelic-dotnet-10.37.0
Requires
NEW_RELIC_LICENSE_KEY
Raw JSON
10.37.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-9e4ad520,team=alpha
ot-baggage-routing-key rk-9e4ad520
traceparent 00-8288741d4676ba669e9f8be5f921bdbc-f2198acd59c75fd3-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-http--1b4d158a

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
correlation-context routing-key=rk-9e4ad520, team=alpha
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiI4Mjg4NzQxZDQ2NzZiYTY2OWU5ZjhiZTVmOTIxYmRiYyIsInByIjowLjExNjUxNCwic2EiOmZhbHNlLCJ0aSI6MTc5NDMwNTk5MzY1NSwidHgiOiJhMGFlM2Q5ZmE5YWU0YzhlIiwiaWQiOiJkMjBmNWFmMDBkMWQxZGQzIn19
traceparent 00-8288741d4676ba669e9f8be5f921bdbc-d20f5af00d1d1dd3-00
tracestate 8478732@nr=0-0-8478732-572436422-d20f5af00d1d1dd3-a0ae3d9fa9ae4c8e-0-0.116514-1794305993655,cptest=v1
test id
newrelic-dotnet--http-http--1b4d158a
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-95bbee46,team=alpha
ot-baggage-routing-key rk-95bbee46
traceparent 00-4f2ac283bc3326278b6ab91aa51a5289-b34ec3504079e9ea-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-grpc--d930233e

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
correlation-context routing-key=rk-95bbee46, team=alpha
grpc-accept-encoding identity,gzip,deflate
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiI0ZjJhYzI4M2JjMzMyNjI3OGI2YWI5MWFhNTFhNTI4OSIsInByIjowLjk1OTM2OSwic2EiOmZhbHNlLCJ0aSI6MTc5NDMwNTk5MzY2MSwidHgiOiIxNzZkZGI5Yjg0NjEzNTAyIiwiaWQiOiI1OTVkNWM1OTAxMzRkNjZjIn19
traceparent 00-4f2ac283bc3326278b6ab91aa51a5289-595d5c590134d66c-00
tracestate 8478732@nr=0-0-8478732-572436422-595d5c590134d66c-176ddb9b84613502-0-0.959369-1794305993661,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--d930233e
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-c2c52920,team=alpha
ot-baggage-routing-key rk-c2c52920
traceparent 00-6c7412d36599ea7054ffa189c9f024c9-a92db28009d0f930-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-kafka--9d87e62d

Observed at the sink on the outbound Kafka record headers

newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiI2Yzc0MTJkMzY1OTllYTcwNTRmZmExODljOWYwMjRjOSIsInByIjowLjY2NDAyOSwic2EiOmZhbHNlLCJ0aSI6MTc5NDMwNTk5MzY2NiwidHgiOiI4ZGE3MzdhYzUyY2Y5OTFkIiwiaWQiOiJjNmQzZjFlNjRlNTMyNmNiIn19
traceparent 00-6c7412d36599ea7054ffa189c9f024c9-c6d3f1e64e5326cb-00
tracestate 8478732@nr=0-0-8478732-572436422-c6d3f1e64e5326cb-8da737ac52cf991d-0-0.664029-1794305993666,cptest=v1
test id
newrelic-dotnet--http-kafka--9d87e62d
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-d85a778c,team=alpha
ot-baggage-routing-key rk-d85a778c
traceparent 00-8c0926dc51a970dfdc6409fa430d9ea9-0f68e2cdf05ef71c-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-rabbitmq--786c8461

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

No headers observed.

test id
newrelic-dotnet--http-rabbitmq--786c8461
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-99f27d81,team=alpha
ot-baggage-routing-key rk-99f27d81
traceparent 00-8791da33a7ec6c1dbd3a5010020e8776-0678d1c0e3c6351f-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-http--0b6720f8

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
correlation-context routing-key=rk-99f27d81, team=alpha
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiI4NzkxZGEzM2E3ZWM2YzFkYmQzYTUwMTAwMjBlODc3NiIsInByIjowLjgzMDI0LCJzYSI6ZmFsc2UsInRpIjoxNzk0MzA1OTkzNjk3LCJ0eCI6IjJiMDQ5MmRlNDliY2NmNTEiLCJpZCI6Ijc4YTY2MmFhMjhiMjM4MWQifX0=
traceparent 00-8791da33a7ec6c1dbd3a5010020e8776-78a662aa28b2381d-00
tracestate 8478732@nr=0-0-8478732-572436422-78a662aa28b2381d-2b0492de49bccf51-0-0.83024-1794305993697,cptest=v1
test id
newrelic-dotnet--grpc-http--0b6720f8
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-59c073e1,team=alpha
ot-baggage-routing-key rk-59c073e1
traceparent 00-21258d119387ecfcb4a0cb6d414b95ed-7b460f3dacacafe9-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-grpc--4311b462

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
correlation-context routing-key=rk-59c073e1, team=alpha
grpc-accept-encoding identity,gzip,deflate
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiIyMTI1OGQxMTkzODdlY2ZjYjRhMGNiNmQ0MTRiOTVlZCIsInByIjowLjA1MDQ5Miwic2EiOmZhbHNlLCJ0aSI6MTc5NDMwNTk5MzcwOCwidHgiOiJlMTY5OTdiZThhMTU2MTBlIiwiaWQiOiJjYjIzZTk3NGUxYTI3MzJlIn19
traceparent 00-21258d119387ecfcb4a0cb6d414b95ed-cb23e974e1a2732e-00
tracestate 8478732@nr=0-0-8478732-572436422-cb23e974e1a2732e-e16997be8a15610e-0-0.050492-1794305993708,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--4311b462
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-6ef8be26,team=alpha
ot-baggage-routing-key rk-6ef8be26
traceparent 00-7264d1cb4026bc559c96cd523996e275-6fcfddb790c57284-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-kafka--67c071bc

Observed at the sink on the outbound Kafka record headers

newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiI3MjY0ZDFjYjQwMjZiYzU1OWM5NmNkNTIzOTk2ZTI3NSIsInByIjowLjcxNzIwMywic2EiOmZhbHNlLCJ0aSI6MTc5NDMwNTk5Mzc2NSwidHgiOiI0Y2Q3MjY0ODNiMjUyNzk5IiwiaWQiOiJhYWUxNTQyNDU0ZDlmZjQ4In19
traceparent 00-7264d1cb4026bc559c96cd523996e275-aae1542454d9ff48-00
tracestate 8478732@nr=0-0-8478732-572436422-aae1542454d9ff48-4cd726483b252799-0-0.717203-1794305993765,cptest=v1
test id
newrelic-dotnet--grpc-kafka--67c071bc
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-d8e7679e,team=alpha
ot-baggage-routing-key rk-d8e7679e
traceparent 00-a97ee9b1d9b9bf573046f68b468b5e09-c6c6887b64e25e06-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-rabbitmq--05fdd833

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

No headers observed.

test id
newrelic-dotnet--grpc-rabbitmq--05fdd833
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-15a2e98b,team=alpha
ot-baggage-routing-key rk-15a2e98b
traceparent 00-63ba8d57b22519ed76b7fcc21f862104-fc7ded8f0bf1932b-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-http--a2f853e8

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
test id
newrelic-dotnet--kafka-http--a2f853e8
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-2b22d861,team=alpha
ot-baggage-routing-key rk-2b22d861
traceparent 00-f205a1392adf3c072bfeb4ab5543199e-e066ec97d6fc9288-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-grpc--3a5ffb8e

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--3a5ffb8e
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-bd7b9049,team=alpha
ot-baggage-routing-key rk-bd7b9049
traceparent 00-11433c8c909cb73ca8e00c55b4995fec-06693d2d0f11320e-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-kafka--3c892aba

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
newrelic-dotnet--kafka-kafka--3c892aba
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-6aaf56ad,team=alpha
ot-baggage-routing-key rk-6aaf56ad
traceparent 00-4347638c887d2e35ee5c8a83b2874d2a-8263863a784bfd7b-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-rabbitmq--a701526f

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

No headers observed.

test id
newrelic-dotnet--kafka-rabbitmq--a701526f
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-35b7b0cd,team=alpha
ot-baggage-routing-key rk-35b7b0cd
traceparent 00-199d97f1f6249928c81847ccf553c563-3213bb10bfe6dd6d-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-http--0bbcc974

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
test id
newrelic-dotnet--rabbitmq-http--0bbcc974
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-8c6f05c5,team=alpha
ot-baggage-routing-key rk-8c6f05c5
traceparent 00-c9d673b2bc1507711ea8ea940223ce0d-028fc1e9dd318874-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-grpc--4f23b4a6

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--4f23b4a6
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-c13d12dd,team=alpha
ot-baggage-routing-key rk-c13d12dd
traceparent 00-e011818de0db5a09d443cc29de40f6c5-7e299a2e060c848d-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-kafka--d82ca314

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
newrelic-dotnet--rabbitmq-kafka--d82ca314
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-76e9f5d6,team=alpha
ot-baggage-routing-key rk-76e9f5d6
traceparent 00-8f7bdfd639f7f3c1de65cbecd185c3d0-c505b668c294f361-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-rabbitmq--9d96a346

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

No headers observed.

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

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