newrelic-dotnet

.NET zero-code newrelic-dotnet-agent10.56.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.56.0 10.56.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
9 Nov 2026, 19:42 UTC
Harness
9b99070 · measured in backtest-newrelic-dotnet-10.56.0
Requires
NEW_RELIC_LICENSE_KEY
Raw JSON
10.56.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-7dd72855,team=alpha
ot-baggage-routing-key rk-7dd72855
traceparent 00-6bb7b3b416f005ee5d93d712e9e1de10-5026a9ad62cd5fbd-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-http--b26d20f5

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
correlation-context routing-key=rk-7dd72855, team=alpha
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiI2YmI3YjNiNDE2ZjAwNWVlNWQ5M2Q3MTJlOWUxZGUxMCIsInByIjowLjAsInNhIjpmYWxzZSwidGkiOjE3OTQyNTMzNTY3MjMsInR4IjoiNDcxZmIzMzFiNGQzNWZiNSIsImlkIjoiMjcxNDc2ODhlMzk2NzIxMCJ9fQ==
traceparent 00-6bb7b3b416f005ee5d93d712e9e1de10-27147688e3967210-00
tracestate 8478732@nr=0-0-8478732-572436422-27147688e3967210-471fb331b4d35fb5-0-0-1794253356723,cptest=v1
test id
newrelic-dotnet--http-http--b26d20f5
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-d31045a8,team=alpha
ot-baggage-routing-key rk-d31045a8
traceparent 00-253d93b3093a3df009373832f55ab2f9-b8de65d6a2cccadb-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-grpc--c5cb85cc

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
correlation-context routing-key=rk-d31045a8, team=alpha
grpc-accept-encoding identity,gzip,deflate
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiIyNTNkOTNiMzA5M2EzZGYwMDkzNzM4MzJmNTVhYjJmOSIsInByIjowLjAsInNhIjpmYWxzZSwidGkiOjE3OTQyNTMzNTY3MjksInR4IjoiMTUyNDk2MWJiNjQ1ZTY0YSIsImlkIjoiYmNlN2U3NTJlM2Y1ZjU2YSJ9fQ==
traceparent 00-253d93b3093a3df009373832f55ab2f9-bce7e752e3f5f56a-00
tracestate 8478732@nr=0-0-8478732-572436422-bce7e752e3f5f56a-1524961bb645e64a-0-0-1794253356729,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--c5cb85cc
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-1654387a,team=alpha
ot-baggage-routing-key rk-1654387a
traceparent 00-1d58749eb226113652e27cd192e9c68f-3e61b4e1e47bfa19-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-kafka--f36de293

Observed at the sink on the outbound Kafka record headers

newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiIxZDU4NzQ5ZWIyMjYxMTM2NTJlMjdjZDE5MmU5YzY4ZiIsInByIjowLjAsInNhIjpmYWxzZSwidGkiOjE3OTQyNTMzNTY3MzIsInR4IjoiMjIxY2U5ZWM4YzJlNWNjMyIsImlkIjoiMmVlMjY0NjY3YTM2ZjE4NyJ9fQ==
traceparent 00-1d58749eb226113652e27cd192e9c68f-2ee264667a36f187-00
tracestate 8478732@nr=0-0-8478732-572436422-2ee264667a36f187-221ce9ec8c2e5cc3-0-0-1794253356732,cptest=v1
test id
newrelic-dotnet--http-kafka--f36de293
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-ccf37002,team=alpha
ot-baggage-routing-key rk-ccf37002
traceparent 00-59c314d3a513038382f657438b52280f-d42d9e4f7a17a4bc-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-rabbitmq--adfa8ea3

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

No headers observed.

test id
newrelic-dotnet--http-rabbitmq--adfa8ea3
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-b950a445,team=alpha
ot-baggage-routing-key rk-b950a445
traceparent 00-fb0081e8c4f9396a63eafe955d95bfcc-59507fd412073cfe-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-http--42a8ff94

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
correlation-context routing-key=rk-b950a445, team=alpha
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiJmYjAwODFlOGM0ZjkzOTZhNjNlYWZlOTU1ZDk1YmZjYyIsInByIjowLjAsInNhIjpmYWxzZSwidGkiOjE3OTQyNTMzNTcyNjIsInR4IjoiYzYxNTk0NTE5YzJiOTc4NCIsImlkIjoiMjljZjQ3NWY0ODg3YzM3MCJ9fQ==
traceparent 00-fb0081e8c4f9396a63eafe955d95bfcc-29cf475f4887c370-00
tracestate 8478732@nr=0-0-8478732-572436422-29cf475f4887c370-c61594519c2b9784-0-0-1794253357262,cptest=v1
test id
newrelic-dotnet--grpc-http--42a8ff94
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-618c8f73,team=alpha
ot-baggage-routing-key rk-618c8f73
traceparent 00-da4d98dad3f650cbc8c5693c912c4096-3483d438f9354664-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-grpc--5c44c555

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
correlation-context routing-key=rk-618c8f73, team=alpha
grpc-accept-encoding identity,gzip,deflate
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiJkYTRkOThkYWQzZjY1MGNiYzhjNTY5M2M5MTJjNDA5NiIsInByIjowLjAsInNhIjpmYWxzZSwidGkiOjE3OTQyNTMzNTcyODcsInR4IjoiYTE3ZmVjMGM0NTgxNzQ2MCIsImlkIjoiODI2MDkwZDFjYTU5Zjk4NCJ9fQ==
traceparent 00-da4d98dad3f650cbc8c5693c912c4096-826090d1ca59f984-00
tracestate 8478732@nr=0-0-8478732-572436422-826090d1ca59f984-a17fec0c45817460-0-0-1794253357287,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--5c44c555
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-3516376c,team=alpha
ot-baggage-routing-key rk-3516376c
traceparent 00-3c69539ec037e1fb625ec0f5e3047671-b52797cd499a77dc-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-kafka--d83044a5

Observed at the sink on the outbound Kafka record headers

newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiIzYzY5NTM5ZWMwMzdlMWZiNjI1ZWMwZjVlMzA0NzY3MSIsInByIjowLjAsInNhIjpmYWxzZSwidGkiOjE3OTQyNTMzNTczMDIsInR4IjoiNmEzOWU4OWUxYzNlN2Q3MyIsImlkIjoiZmIyYWRhMTI1YTA1YTRjMSJ9fQ==
traceparent 00-3c69539ec037e1fb625ec0f5e3047671-fb2ada125a05a4c1-00
tracestate 8478732@nr=0-0-8478732-572436422-fb2ada125a05a4c1-6a39e89e1c3e7d73-0-0-1794253357302,cptest=v1
test id
newrelic-dotnet--grpc-kafka--d83044a5
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-8abb045a,team=alpha
ot-baggage-routing-key rk-8abb045a
traceparent 00-6f1732d584ff6cc4cf1a10c5e7d2e77e-576d7ab2bbb1d079-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-rabbitmq--7c1a6e6d

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

No headers observed.

test id
newrelic-dotnet--grpc-rabbitmq--7c1a6e6d
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-f5ab8f6e,team=alpha
ot-baggage-routing-key rk-f5ab8f6e
traceparent 00-e0be12fd9f384c9db57ac192a5103f88-13e7bde54a4d9321-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-http--39b894b5

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
test id
newrelic-dotnet--kafka-http--39b894b5
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-d1a7cc8c,team=alpha
ot-baggage-routing-key rk-d1a7cc8c
traceparent 00-f166f9de035a65a357a1c9d58beee6db-65be0f2a55f7f67f-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-grpc--f171d4df

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--f171d4df
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-f9cd3480,team=alpha
ot-baggage-routing-key rk-f9cd3480
traceparent 00-775abd08ceb405f57b6c920dbfa89809-1fa5f88f357385c7-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-kafka--f28eb02f

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
newrelic-dotnet--kafka-kafka--f28eb02f
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-5415faeb,team=alpha
ot-baggage-routing-key rk-5415faeb
traceparent 00-a6143972ba2cc352395054d4aa573f9c-bbbf970fdcf6440f-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-rabbitmq--a21e4773

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

No headers observed.

test id
newrelic-dotnet--kafka-rabbitmq--a21e4773
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-b1fcad76,team=alpha
ot-baggage-routing-key rk-b1fcad76
traceparent 00-320f5c92d4b7fdf24b17bff89a388247-ddbbc7a0ed73fbf9-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-http--38a85d86

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
test id
newrelic-dotnet--rabbitmq-http--38a85d86
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-1afc13ef,team=alpha
ot-baggage-routing-key rk-1afc13ef
traceparent 00-6e8804a659c62f5e735b761ad4bd79a6-c9c4340492dfa2a2-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-grpc--4030e92a

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--4030e92a
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-58a5af76,team=alpha
ot-baggage-routing-key rk-58a5af76
traceparent 00-46e269376433a42399975d060945c9ad-01bfdef50ba890bb-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-kafka--820912d1

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
newrelic-dotnet--rabbitmq-kafka--820912d1
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-0566b89f,team=alpha
ot-baggage-routing-key rk-0566b89f
traceparent 00-1efd89670f7e927e8dc08f1d3cde9c52-0e8645d3a11bbb35-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-rabbitmq--01c048d9

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

No headers observed.

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

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