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
23 Nov 2026, 19:01 UTC
Harness
0ac8158 · run run-2026-11-24.1
Requires
NEW_RELIC_LICENSE_KEY
Raw JSON
run-2026-11-24.1.json → variants[id = "newrelic-dotnet"]

Libraries

grpcGrpc.AspNetCore + Grpc.Net.Client 2.85.0
httpHttpClient
kafkaConfluent.Kafka 2.16.0
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 native: present_same_trace

Seeded on the inbound HTTP request headers

baggage routing-key=rk-ee06af87,team=alpha
ot-baggage-routing-key rk-ee06af87
traceparent 00-8ca7262e5d646bb28b208c8ac527d008-c4e21a7a9acf9610-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-http--139b2870

Observed at the sink on the outbound HTTP request headers

baggage routing-key = rk-ee06af87, team = alpha
content-type application/json; charset=utf-8
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiI4Y2E3MjYyZTVkNjQ2YmIyOGIyMDhjOGFjNTI3ZDAwOCIsInByIjoxLjAsInNhIjp0cnVlLCJ0aSI6MTc5NTQ2MDQ5MjQ0NiwidHgiOiI5NjM0NGYyZDc3MjJkZDIwIiwiaWQiOiI2Mjk3OTM4MTM3NTY2ZjZjIn19
traceparent 00-8ca7262e5d646bb28b208c8ac527d008-6297938137566f6c-01
tracestate 8478732@nr=0-0-8478732-572436422-6297938137566f6c-96344f2d7722dd20-1-1-1795460492446,cptest=v1
test id
newrelic-dotnet--http-http--139b2870
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-e9e2fdcb,team=alpha
ot-baggage-routing-key rk-e9e2fdcb
traceparent 00-bed7ebdec98ca97681c2ff7238025926-1b35c373ee81f37d-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-grpc--3d92a18c

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key = rk-e9e2fdcb, team = alpha
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiJiZWQ3ZWJkZWM5OGNhOTc2ODFjMmZmNzIzODAyNTkyNiIsInByIjoxLjAsInNhIjp0cnVlLCJ0aSI6MTc5NTQ2MDQ5MjQ1MCwidHgiOiJhZjE0MTEzYjc1NzJiZDdmIiwiaWQiOiI2MjBmNGRhZDk1MzdjM2YyIn19
traceparent 00-bed7ebdec98ca97681c2ff7238025926-620f4dad9537c3f2-01
tracestate 8478732@nr=0-0-8478732-572436422-620f4dad9537c3f2-af14113b7572bd7f-1-1-1795460492450,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--3d92a18c
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-81a9a6e5,team=alpha
ot-baggage-routing-key rk-81a9a6e5
traceparent 00-c475903818a10848cf92c7e09acbf9c5-c839c7dd10f6664b-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-kafka--8e293e5d

Observed at the sink on the outbound Kafka record headers

newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiJjNDc1OTAzODE4YTEwODQ4Y2Y5MmM3ZTA5YWNiZjljNSIsInByIjoxLjAsInNhIjp0cnVlLCJ0aSI6MTc5NTQ2MDQ5MjQ1MywidHgiOiI3Y2Q4Zjc3MThiODAxMWVlIiwiaWQiOiJjNDA2NWNiNDE4OTFkODIzIn19
traceparent 00-c475903818a10848cf92c7e09acbf9c5-c4065cb41891d823-01
tracestate 8478732@nr=0-0-8478732-572436422-c4065cb41891d823-7cd8f7718b8011ee-1-1-1795460492453,cptest=v1
test id
newrelic-dotnet--http-kafka--8e293e5d
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-7523568f,team=alpha
ot-baggage-routing-key rk-7523568f
traceparent 00-68a6f93e058c00bfd53d7665f2fa3807-16149f613d316f9c-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--http-rabbitmq--bbb1cae5

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

No headers observed.

test id
newrelic-dotnet--http-rabbitmq--bbb1cae5
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-496a156f,team=alpha
ot-baggage-routing-key rk-496a156f
traceparent 00-acc597a08314705846410cb9b232ee9b-b4d2a6f67bc541e7-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-http--f1c097b9

Observed at the sink on the outbound HTTP request headers

baggage routing-key = rk-496a156f, team = alpha
content-type application/json; charset=utf-8
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiJhY2M1OTdhMDgzMTQ3MDU4NDY0MTBjYjliMjMyZWU5YiIsInByIjoxLjAsInNhIjp0cnVlLCJ0aSI6MTc5NTQ2MDQ5MzQ4NiwidHgiOiJmZGRhYzY0NGQ5ZTY4MTFkIiwiaWQiOiJiOTFiNmZjMzM2MWUyN2M1In19
traceparent 00-acc597a08314705846410cb9b232ee9b-b91b6fc3361e27c5-01
tracestate 8478732@nr=0-0-8478732-572436422-b91b6fc3361e27c5-fddac644d9e6811d-1-1-1795460493486,cptest=v1
test id
newrelic-dotnet--grpc-http--f1c097b9
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-ec65fbda,team=alpha
ot-baggage-routing-key rk-ec65fbda
traceparent 00-ed009ed42644881addc62bf36bf2168d-87f9d0be689e6fb3-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-grpc--68c93edb

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key = rk-ec65fbda, team = alpha
content-type application/grpc
grpc-accept-encoding identity,gzip,deflate
newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiJlZDAwOWVkNDI2NDQ4ODFhZGRjNjJiZjM2YmYyMTY4ZCIsInByIjowLjAsInNhIjpmYWxzZSwidGkiOjE3OTU0NjA0OTM0OTYsInR4IjoiNjZmN2E3ZTA3MGJkYzIzMSIsImlkIjoiYjYwNzU2MjZjODBjNGQ5ZSJ9fQ==
traceparent 00-ed009ed42644881addc62bf36bf2168d-b6075626c80c4d9e-00
tracestate 8478732@nr=0-0-8478732-572436422-b6075626c80c4d9e-66f7a7e070bdc231-0-0-1795460493496,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--68c93edb
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-c3fb22b1,team=alpha
ot-baggage-routing-key rk-c3fb22b1
traceparent 00-d242c8b9f0d5b3087f6f6765fca2b26e-45fc6e907410162d-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-kafka--668c1469

Observed at the sink on the outbound Kafka record headers

newrelic eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiODQ3ODczMiIsImFwIjoiNTcyNDM2NDIyIiwidHIiOiJkMjQyYzhiOWYwZDViMzA4N2Y2ZjY3NjVmY2EyYjI2ZSIsInByIjowLjAsInNhIjpmYWxzZSwidGkiOjE3OTU0NjA0OTM1MDcsInR4IjoiYzc5N2ZlMDY3YjE5ZWIwZSIsImlkIjoiZjExM2VmNzI5ZGMzY2E5MCJ9fQ==
traceparent 00-d242c8b9f0d5b3087f6f6765fca2b26e-f113ef729dc3ca90-00
tracestate 8478732@nr=0-0-8478732-572436422-f113ef729dc3ca90-c797fe067b19eb0e-0-0-1795460493507,cptest=v1
test id
newrelic-dotnet--grpc-kafka--668c1469
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-c453948d,team=alpha
ot-baggage-routing-key rk-c453948d
traceparent 00-70cfba2e00d9da22587507392abe0234-d4800db9e192d62c-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--grpc-rabbitmq--2e69e7cf

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

No headers observed.

test id
newrelic-dotnet--grpc-rabbitmq--2e69e7cf
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-ab715d37,team=alpha
ot-baggage-routing-key rk-ab715d37
traceparent 00-bb4d3496caa4c4393e4508dd0221e5da-9c44024731192ac4-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-http--c5242c8d

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
test id
newrelic-dotnet--kafka-http--c5242c8d
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-21e0abeb,team=alpha
ot-baggage-routing-key rk-21e0abeb
traceparent 00-54367e52e61df117c16765837a0e5ffd-fed64a41ff1bc6af-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-grpc--b2d5baf8

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--b2d5baf8
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-7ca15a18,team=alpha
ot-baggage-routing-key rk-7ca15a18
traceparent 00-ef662ff35c35e607e0738e862a5b9915-9e35a1e0eec44323-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-kafka--97d940ed

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
newrelic-dotnet--kafka-kafka--97d940ed
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-478cfd51,team=alpha
ot-baggage-routing-key rk-478cfd51
traceparent 00-f564a7f361b973087ad91fa6db68c24b-ae25b61013c7bbef-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--kafka-rabbitmq--c9623ea2

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

No headers observed.

test id
newrelic-dotnet--kafka-rabbitmq--c9623ea2
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-1a22a6cb,team=alpha
ot-baggage-routing-key rk-1a22a6cb
traceparent 00-21bb414e93fc4fa58c1a29c282afb6c8-5f92fe5a1005f89b-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-http--5b22b84e

Observed at the sink on the outbound HTTP request headers

content-type application/json; charset=utf-8
test id
newrelic-dotnet--rabbitmq-http--5b22b84e
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-8e22e463,team=alpha
ot-baggage-routing-key rk-8e22e463
traceparent 00-978dd511808317f8960f71bb1c4239f1-b8025e0c687cd465-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-grpc--27c55646

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--27c55646
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-bd677240,team=alpha
ot-baggage-routing-key rk-bd677240
traceparent 00-97d2752fb7497e273bc63a203e4c5256-c4e85c8e3882b327-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-kafka--9a7b628d

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
newrelic-dotnet--rabbitmq-kafka--9a7b628d
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-e51a9c2d,team=alpha
ot-baggage-routing-key rk-e51a9c2d
traceparent 00-4df8e9e216a52a26522e196ae3c2cea6-c733345b4bf0c76f-01
tracestate cptest=v1
x-cp-canary newrelic-dotnet--rabbitmq-rabbitmq--d8ad0a91

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

No headers observed.

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

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