newrelic-node

Node.js zero-code newrelic (npm)14.3.10

attach --require newrelic

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

Explanations

OpenTelemetry, Elastic APM and New Relic never implemented the OpenTracing-era ot-baggage-* headers

by-design ot-baggage-* is a legacy OpenTracing convention; OpenTelemetry, Elastic APM and New Relic each define their propagation header set without it.

The seeded ot-baggage-routing-key header is ignored — neither extracted nor re-emitted — by every OpenTelemetry, Elastic and New Relic variant on every delivered boundary. None of these tools ever emitted the OpenTracing header format: OpenTelemetry standardised on W3C baggage; 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.

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.

356 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. If you route on baggage, New Relic contributes nothing on any protocol — carry it as an application header yourself.

108 cells affected

newrelic-no-baggage

New Relic Node: kafkajs instrumentation is behind a default-off feature flag

config feature_flags.js ships kafkajs_instrumentation: false; with it off the agent skips kafkajs entirely, so no headers are injected or accepted on Kafka.

newrelic 14.3.10 is 9/16: HTTP, gRPC and RabbitMQ pass in both directions, Kafka is dead in both directions. lib/feature_flags.js has kafkajs_instrumentation: false (still false on main); with the flag off the agent logs "skipping instrumentation of kafkajs" and does nothing. The instrumentation shipped behind the flag in v11.19.0 (Jun 2024) and was never promoted to default; the compatibility list also caps kafkajs at 2.2.4.

Empirically confirmed: rerunning with NEW_RELIC_FEATURE_FLAG_KAFKAJS_INSTRUMENTATION=true flips all seven Kafka boundaries to pass (W3C headers both directions) — 16/16, one environment variable apart. Run archived at results/experiments/newrelic-node-kafkajs-flag.json.

14 cells affected

newrelic-node-kafkajs-feature-flag-off

Versions in this run

Tracer
newrelic 14.3.10 this version 14.3.10 on npm github
Runtime
node v22.23.2
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
--require newrelic
Relay source
relays/node/tools/newrelic
Ran at
7 Sept 2026, 10:58 UTC
Harness
commit not recorded · run run-2026-09-07
Requires
NEW_RELIC_LICENSE_KEY
Raw JSON
run-2026-09-07.json → variants[id = "newrelic-node"]

Libraries

express4.22.2
grpc-js1.14.4
http_clientaxios 1.20.0
kafkajs2.2.4
rabbitmqamqplib 0.10.9

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-b4551dc2,team=alpha
ot-baggage-routing-key rk-b4551dc2
traceparent 00-846eeedf61fc63720b69d98218b0aed8-48a9443669199658-01
tracestate cptest=v1
x-cp-canary newrelic-node--http-http--b309b053

Observed at the sink on the outbound HTTP request headers

accept application/json, text/plain, */*
accept-encoding gzip, compress, deflate, br
connection keep-alive
content-length 48
content-type application/json
traceparent 00-846eeedf61fc63720b69d98218b0aed8-6c945fb882dad06a-00
tracestate 8478732@nr=0-0-8478732-572448233--95481f222f2883c6-0-0.917476-1788778711980,cptest=v1
user-agent axios/1.20.0
test id
newrelic-node--http-http--b309b053
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-868ad291,team=alpha
ot-baggage-routing-key rk-868ad291
traceparent 00-2039138df8eb0031d74de9b55030dde9-1fba09e69140830a-01
tracestate cptest=v1
x-cp-canary newrelic-node--http-grpc--40755f93

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
accept-encoding identity
content-type application/grpc
grpc-accept-encoding identity,deflate,gzip
traceparent 00-2039138df8eb0031d74de9b55030dde9-4002393f6b31606f-00
tracestate 8478732@nr=0-0-8478732-572448233--360ea4922437e495-0-0.913742-1788778711990,cptest=v1
user-agent grpc-node-js/1.14.4
test id
newrelic-node--http-grpc--40755f93
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-613b9540,team=alpha
ot-baggage-routing-key rk-613b9540
traceparent 00-7c63d4727cdf18fd296a1f8f24c6b335-9724d1905e5e1366-01
tracestate cptest=v1
x-cp-canary newrelic-node--http-kafka--d1f16c71

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
newrelic-node--http-kafka--d1f16c71
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent
HTTP RabbitMQ baggage tracestate traceparent ot-baggage delivered via rabbitmq

Seeded on the inbound HTTP request headers

baggage routing-key=rk-59a5ead8,team=alpha
ot-baggage-routing-key rk-59a5ead8
traceparent 00-f1f5d7ec3d6a1a56989650aeadd2ac2f-e26a464bcfc975bf-01
tracestate cptest=v1
x-cp-canary newrelic-node--http-rabbitmq--ea2b9d4f

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

traceparent 00-f1f5d7ec3d6a1a56989650aeadd2ac2f-c0022ff0015a7ca1-00
tracestate 8478732@nr=0-0-8478732-572448233--97297ba85f4663d1-0-0.375314-1788778712000,cptest=v1
test id
newrelic-node--http-rabbitmq--ea2b9d4f
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
gRPC HTTP baggage tracestate traceparent ot-baggage delivered via http

Seeded on the inbound gRPC metadata

baggage routing-key=rk-c0753177,team=alpha
ot-baggage-routing-key rk-c0753177
traceparent 00-490ae54d7094188a180ef901427c321b-a1a77f88ccb05a4c-01
tracestate cptest=v1
x-cp-canary newrelic-node--grpc-http--0ee39078

Observed at the sink on the outbound HTTP request headers

accept application/json, text/plain, */*
accept-encoding gzip, compress, deflate, br
connection keep-alive
content-length 48
content-type application/json
traceparent 00-490ae54d7094188a180ef901427c321b-c79bdd7010ffd9bd-00
tracestate 8478732@nr=0-0-8478732-572448233--f5d516aaff5e7a8b-0-0.272453-1788778712534,cptest=v1
user-agent axios/1.20.0
test id
newrelic-node--grpc-http--0ee39078
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-8242be0c,team=alpha
ot-baggage-routing-key rk-8242be0c
traceparent 00-e63d30dbecd06ec53c489ce2807ab47c-87b068963590883c-01
tracestate cptest=v1
x-cp-canary newrelic-node--grpc-grpc--d9045a47

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
accept-encoding identity
content-type application/grpc
grpc-accept-encoding identity,deflate,gzip
traceparent 00-e63d30dbecd06ec53c489ce2807ab47c-ed25858a5dda3ab4-00
tracestate 8478732@nr=0-0-8478732-572448233--d0917125e71d996c-0-0.076537-1788778712549,cptest=v1
user-agent grpc-node-js/1.14.4
test id
newrelic-node--grpc-grpc--d9045a47
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-f38d0ebc,team=alpha
ot-baggage-routing-key rk-f38d0ebc
traceparent 00-9c86d0f82ca534708ec9486e83f6fc10-9dd21216816d5f70-01
tracestate cptest=v1
x-cp-canary newrelic-node--grpc-kafka--3fc9d147

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
newrelic-node--grpc-kafka--3fc9d147
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent
gRPC RabbitMQ baggage tracestate traceparent ot-baggage delivered via rabbitmq

Seeded on the inbound gRPC metadata

baggage routing-key=rk-a9d0f9c3,team=alpha
ot-baggage-routing-key rk-a9d0f9c3
traceparent 00-542c599e27191afb51d31f331315c4f4-4e8808f5756ad316-01
tracestate cptest=v1
x-cp-canary newrelic-node--grpc-rabbitmq--9a33de22

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

traceparent 00-542c599e27191afb51d31f331315c4f4-0f335c2bbf095425-00
tracestate 8478732@nr=0-0-8478732-572448233--739f95a46a381ee5-0-0.819299-1788778712570,cptest=v1
test id
newrelic-node--grpc-rabbitmq--9a33de22
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
Kafka HTTP baggage tracestate traceparent ot-baggage delivered via http

Seeded on the inbound Kafka record headers

baggage routing-key=rk-c70cc4e8,team=alpha
ot-baggage-routing-key rk-c70cc4e8
traceparent 00-f0c994f850988bca3c3273d7af43b135-446e1ead0c1adc78-01
tracestate cptest=v1
x-cp-canary newrelic-node--kafka-http--53ddab24

Observed at the sink on the outbound HTTP request headers

accept application/json, text/plain, */*
accept-encoding gzip, compress, deflate, br
connection keep-alive
content-length 49
content-type application/json
user-agent axios/1.20.0
test id
newrelic-node--kafka-http--53ddab24
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-eb53436d,team=alpha
ot-baggage-routing-key rk-eb53436d
traceparent 00-982f69c1aee32119564b65e5fc29cc38-892d43ad1ec87065-01
tracestate cptest=v1
x-cp-canary newrelic-node--kafka-grpc--81ebab07

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
accept-encoding identity
content-type application/grpc
grpc-accept-encoding identity,deflate,gzip
user-agent grpc-node-js/1.14.4
test id
newrelic-node--kafka-grpc--81ebab07
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-78a353b5,team=alpha
ot-baggage-routing-key rk-78a353b5
traceparent 00-89b2289f9ef0619e47cba41a773688ea-55fbfbdc23074cf1-01
tracestate cptest=v1
x-cp-canary newrelic-node--kafka-kafka--b7eb543a

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
newrelic-node--kafka-kafka--b7eb543a
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-05e6450e,team=alpha
ot-baggage-routing-key rk-05e6450e
traceparent 00-81b1436b364e5d4e20a2056d65ac7b89-5e7526d5f6cb1311-01
tracestate cptest=v1
x-cp-canary newrelic-node--kafka-rabbitmq--c4d300d3

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

No headers observed.

test id
newrelic-node--kafka-rabbitmq--c4d300d3
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-3a92d01d,team=alpha
ot-baggage-routing-key rk-3a92d01d
traceparent 00-26d54f144b7b2443dc710f525600a822-b7fad5528b0b4fb0-01
tracestate cptest=v1
x-cp-canary newrelic-node--rabbitmq-http--0d5102a1

Observed at the sink on the outbound HTTP request headers

accept application/json, text/plain, */*
accept-encoding gzip, compress, deflate, br
connection keep-alive
content-length 52
content-type application/json
traceparent 00-26d54f144b7b2443dc710f525600a822-1e1cfd4f92020420-00
tracestate 8478732@nr=0-0-8478732-572448233--e3758101c368ecbe-0-0.151698-1788778715623,cptest=v1
user-agent axios/1.20.0
test id
newrelic-node--rabbitmq-http--0d5102a1
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_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-ae2fa441,team=alpha
ot-baggage-routing-key rk-ae2fa441
traceparent 00-8b15a1a771161d8582460999e9c98d87-875f017641e949a2-01
tracestate cptest=v1
x-cp-canary newrelic-node--rabbitmq-grpc--dc9fd9b6

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
accept-encoding identity
content-type application/grpc
grpc-accept-encoding identity,deflate,gzip
traceparent 00-8b15a1a771161d8582460999e9c98d87-e6c18697cef7f5c5-00
tracestate 8478732@nr=0-0-8478732-572448233--7c2529d187b403b5-0-0.455238-1788778716118,cptest=v1
user-agent grpc-node-js/1.14.4
test id
newrelic-node--rabbitmq-grpc--dc9fd9b6
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_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-25ddc407,team=alpha
ot-baggage-routing-key rk-25ddc407
traceparent 00-ffd97343066535d09596249560b25e3c-461c4c294b1f104b-01
tracestate cptest=v1
x-cp-canary newrelic-node--rabbitmq-kafka--ab232aa2

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
newrelic-node--rabbitmq-kafka--ab232aa2
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-186d6267,team=alpha
ot-baggage-routing-key rk-186d6267
traceparent 00-8df80a4d653768f363cfc4178ad7d00a-783f5de911661046-01
tracestate cptest=v1
x-cp-canary newrelic-node--rabbitmq-rabbitmq--b8f1688a

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

traceparent 00-8df80a4d653768f363cfc4178ad7d00a-ec249ac7e62b830d-00
tracestate 8478732@nr=0-0-8478732-572448233--9ab7dc5b135c04de-0-0.222894-1788778717128,cptest=v1
test id
newrelic-node--rabbitmq-rabbitmq--b8f1688a
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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