newrelic-dotnet

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

attach CLR profiler env (New Relic .NET agent)

16/64 cells pass
  • Pass
  • Partial
  • New trace
  • Fail
  • Undelivered
  • Not run

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.

216 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.

104 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.

63 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 in this run

Tracer
newrelic/newrelic-dotnet-agent 10.58.0 this version 10.58.0 on github-releases github
Runtime
.NET 10.0.15 (CLR 10.0.15)
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
24 Nov 2026, 14:17 UTC
Harness
26e0f41 · run run-2026-11-24.5
Requires
NEW_RELIC_LICENSE_KEY
Raw JSON
run-2026-11-24.5.json → variants[id = "newrelic-dotnet"]

Libraries

grpcGrpc.AspNetCore + Grpc.Net.Client 2.85.0
httpHttpClient
kafkaConfluent.Kafka 2.16.0
rabbitmqRabbitMQ.Client 7.3.0

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 native: present_same_trace

Seeded on the inbound HTTP request headers

baggage routing-key=rk-00680f74,team=alpha
ot-baggage-routing-key rk-00680f74
traceparent 00-3e59853b6c85fb5996ee5bc47a8e0d01-85c8b8fbfd7264a1-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-http--33612e58

Observed at the sink on the outbound HTTP request headers

baggage routing-key = rk-00680f74, team = alpha
content-type application/json; charset=utf-8
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiIzZTU5ODUzYjZjODVmYjU5OTZlZTViYzQ3YThlMGQwMSIsInByIjoxLjAsInNhIjp0cnVlLCJ0aSI6MTc5NTUyOTgyODg2OCwidHgiOiJiZTY1YmQ0NzQxNjkxZWFmIiwiaWQiOiJlN2JjYTU3MGM1ZWEyM2U4In19
traceparent 00-3e59853b6c85fb5996ee5bc47a8e0d01-e7bca570c5ea23e8-01
tracestate 8478732@nr=0-0-8478732-572436422-e7bca570c5ea23e8-be65bd4741691eaf-1-1-1795529828868,cptest=v1
test id
newrelic-dotnet--http-http--33612e58
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent
HTTP gRPC baggage tracestate traceparent ot-baggage delivered via grpc native: present_same_trace

Seeded on the inbound HTTP request headers

baggage routing-key=rk-77cc12bb,team=alpha
ot-baggage-routing-key rk-77cc12bb
traceparent 00-190b02a896afb9157593f54506111f11-ccbccc0806092c37-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-grpc--8550dead

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key = rk-77cc12bb, team = alpha
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiIxOTBiMDJhODk2YWZiOTE1NzU5M2Y1NDUwNjExMWYxMSIsInByIjoxLjAsInNhIjp0cnVlLCJ0aSI6MTc5NTUyOTgyODg3MywidHgiOiI2NTExYmQ5YjQ2MjUyNDlkIiwiaWQiOiIxZDYwNDRmNjQ4MjIzMWU5In19
traceparent 00-190b02a896afb9157593f54506111f11-1d6044f6482231e9-01
tracestate 8478732@nr=0-0-8478732-572436422-1d6044f6482231e9-6511bd9b4625249d-1-1-1795529828873,cptest=v1
user-agent grpc-dotnet/2.85.0 (.NET 10.0.15; CLR 10.0.15; net10.0; linux; x64)
test id
newrelic-dotnet--http-grpc--8550dead
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent
HTTP Kafka baggage tracestate traceparent ot-baggage delivered via kafka native: present_same_trace

Seeded on the inbound HTTP request headers

baggage routing-key=rk-428df971,team=alpha
ot-baggage-routing-key rk-428df971
traceparent 00-2b69630aaa6ca250399fc4157e98815c-6d41f6fcb4730ef3-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-kafka--53e0ebaa

Observed at the sink on the outbound Kafka record headers

newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiIyYjY5NjMwYWFhNmNhMjUwMzk5ZmM0MTU3ZTk4ODE1YyIsInByIjoxLjAsInNhIjp0cnVlLCJ0aSI6MTc5NTUyOTgyODg3NSwidHgiOiJhOGU3NjFiZTM2NTM0MmM2IiwiaWQiOiJkMjhhMWE3Njg5Y2RlM2M3In19
traceparent 00-2b69630aaa6ca250399fc4157e98815c-d28a1a7689cde3c7-01
tracestate 8478732@nr=0-0-8478732-572436422-d28a1a7689cde3c7-a8e761be365342c6-1-1-1795529828875,cptest=v1
test id
newrelic-dotnet--http-kafka--53e0ebaa
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-4026a1a1,team=alpha
ot-baggage-routing-key rk-4026a1a1
traceparent 00-b172609c5d1bf4c3e9047a11d1e0b32e-0b2ff246b529a7c2-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-rabbitmq--22358f4d

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

No headers observed.

test id
newrelic-dotnet--http-rabbitmq--22358f4d
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent
gRPC HTTP baggage tracestate traceparent ot-baggage delivered via http native: present_same_trace

Seeded on the inbound gRPC metadata

baggage routing-key=rk-56a6aa6a,team=alpha
ot-baggage-routing-key rk-56a6aa6a
traceparent 00-3b344da8781127e081ec84832455b1cd-5f079e96b0cb2108-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-http--1b27a5b5

Observed at the sink on the outbound HTTP request headers

baggage routing-key = rk-56a6aa6a, team = alpha
content-type application/json; charset=utf-8
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiIzYjM0NGRhODc4MTEyN2UwODFlYzg0ODMyNDU1YjFjZCIsInByIjoxLjAsInNhIjp0cnVlLCJ0aSI6MTc5NTUyOTgyOTQ4MywidHgiOiI2YjQ3ZGQ4MmE2ZGIxMGU3IiwiaWQiOiI1ZjE2YjE3ZWUxMDdhMzE1In19
traceparent 00-3b344da8781127e081ec84832455b1cd-5f16b17ee107a315-01
tracestate 8478732@nr=0-0-8478732-572436422-5f16b17ee107a315-6b47dd82a6db10e7-1-1-1795529829483,cptest=v1
test id
newrelic-dotnet--grpc-http--1b27a5b5
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent
gRPC gRPC baggage tracestate traceparent ot-baggage delivered via grpc native: present_same_trace

Seeded on the inbound gRPC metadata

baggage routing-key=rk-c7708240,team=alpha
ot-baggage-routing-key rk-c7708240
traceparent 00-da1c22bf3a4dee2bc9fbbabf3413f6a0-b1c38c077834a425-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-grpc--46083421

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key = rk-c7708240, team = alpha
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiJkYTFjMjJiZjNhNGRlZTJiYzlmYmJhYmYzNDEzZjZhMCIsInByIjowLjAsInNhIjpmYWxzZSwidGkiOjE3OTU1Mjk4Mjk1ODIsInR4IjoiYWU2ZDVkMDVhZDBjOGIxMyIsImlkIjoiOTA3NTU0ZGM1NjMwNGMxNiJ9fQ==
traceparent 00-da1c22bf3a4dee2bc9fbbabf3413f6a0-907554dc56304c16-00
tracestate 8478732@nr=0-0-8478732-572436422-907554dc56304c16-ae6d5d05ad0c8b13-0-0-1795529829582,cptest=v1
user-agent grpc-dotnet/2.85.0 (.NET 10.0.15; CLR 10.0.15; net10.0; linux; x64)
test id
newrelic-dotnet--grpc-grpc--46083421
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent
gRPC Kafka baggage tracestate traceparent ot-baggage delivered via kafka native: present_same_trace

Seeded on the inbound gRPC metadata

baggage routing-key=rk-ac8cb28a,team=alpha
ot-baggage-routing-key rk-ac8cb28a
traceparent 00-535bcc412a21e075b2fca16ececc4473-f70e1050f66d3647-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-kafka--f05a5076

Observed at the sink on the outbound Kafka record headers

newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiI1MzViY2M0MTJhMjFlMDc1YjJmY2ExNmVjZWNjNDQ3MyIsInByIjowLjAsInNhIjpmYWxzZSwidGkiOjE3OTU1Mjk4Mjk2NTQsInR4IjoiYTEzOGRiMGViZmRjZGIyOCIsImlkIjoiMTIzODgwODRjYzVhZDlhMSJ9fQ==
traceparent 00-535bcc412a21e075b2fca16ececc4473-12388084cc5ad9a1-00
tracestate 8478732@nr=0-0-8478732-572436422-12388084cc5ad9a1-a138db0ebfdcdb28-0-0-1795529829654,cptest=v1
test id
newrelic-dotnet--grpc-kafka--f05a5076
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-93e7ed28,team=alpha
ot-baggage-routing-key rk-93e7ed28
traceparent 00-157f8446bc6742c64a56435b7cea704a-2da9775a8f550d74-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-rabbitmq--46701c1a

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

No headers observed.

test id
newrelic-dotnet--grpc-rabbitmq--46701c1a
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-09ee1116,team=alpha
ot-baggage-routing-key rk-09ee1116
traceparent 00-eb2047cb1149c592a8762d7eaf4258ce-bafefd3338a66434-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-http--789759c7

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
test id
newrelic-dotnet--kafka-http--789759c7
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-516ae096,team=alpha
ot-baggage-routing-key rk-516ae096
traceparent 00-45715454f25b61febc9c945523960cdf-7c7e33eb49e02d53-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-grpc--e6fb6656

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.85.0 (.NET 10.0.15; CLR 10.0.15; net10.0; linux; x64)
test id
newrelic-dotnet--kafka-grpc--e6fb6656
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-870ef485,team=alpha
ot-baggage-routing-key rk-870ef485
traceparent 00-ab4a512e6c90fa12dc47fcfd1c2c7af8-bbe27f172cd737ce-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-kafka--b9f5de00

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
newrelic-dotnet--kafka-kafka--b9f5de00
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-8cf524d2,team=alpha
ot-baggage-routing-key rk-8cf524d2
traceparent 00-0ed7b968c6ecc2262a93adb43d6f7cbc-d2d946e57e1ebb41-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-rabbitmq--456beaf5

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

No headers observed.

test id
newrelic-dotnet--kafka-rabbitmq--456beaf5
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-57b79bbc,team=alpha
ot-baggage-routing-key rk-57b79bbc
traceparent 00-8805bd8d3a58230315ea2f031384da3b-1b6e3d0a594dafc0-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-http--c1c9e86f

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
test id
newrelic-dotnet--rabbitmq-http--c1c9e86f
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-18a1fa2b,team=alpha
ot-baggage-routing-key rk-18a1fa2b
traceparent 00-8b4feb1bc3dc0d8fec53b1d2b8209713-30fc297331f7d9d2-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-grpc--1e42902a

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.85.0 (.NET 10.0.15; CLR 10.0.15; net10.0; linux; x64)
test id
newrelic-dotnet--rabbitmq-grpc--1e42902a
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-372454dc,team=alpha
ot-baggage-routing-key rk-372454dc
traceparent 00-e04aacc1bb1d366951f6feadb5a643f8-ce11c722b4e4f2f3-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-kafka--61791f8b

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
newrelic-dotnet--rabbitmq-kafka--61791f8b
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-962041da,team=alpha
ot-baggage-routing-key rk-962041da
traceparent 00-53a7e961b0cf3c86d5363ff4234c57e6-4e714da412dc5501-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-rabbitmq--94884525

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

No headers observed.

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

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