elastic-node

Node.js zero-code elastic-apm-node4.10.0

attach --require elastic-apm-node/start

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

Not compared with the uninstrumented Node.js relay (no run on this site measured it on node v22.23.4).

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

Elastic Node, Python, Ruby and PHP agents do not propagate W3C baggage on any boundary

open Only Elastic's Java agent (and .NET over HTTP/gRPC) implements the baggage propagation the agent spec mandates; these agents drop it on every boundary.

Elastic's agent spec mandates baggage support, but only the Java agent delivers it end-to-end. elastic-apm-node 4.18.0 has no W3C baggage implementation; elastic-apm (Python) 6.26.2, elastic-apm (Ruby) 4.9.0 and elastic_apm (PHP) 1.17.0 measure baggage absent on every boundary, including http->http where traceparent/tracestate continue. The seeded member is neither extracted nor re-emitted.

Outside Java, Elastic APM cannot currently carry application baggage across protocol boundaries; a user must forward the baggage header as an application header themselves. Elastic's Node distributed-tracing docs likewise describe manual traceparent passing only (no tracestate or baggage). We found no upstream issue requesting W3C baggage in these agents.

16 cells affected

elastic-agents-no-w3c-baggage

elastic-apm-node does not instrument amqplib; RabbitMQ legs carry nothing

open amqplib is absent from the Node agent's supported technologies; long-standing requests (#1188, #1791) have been open since 2019/2020.

elastic-apm-node 4.18.0 propagates traceparent and tracestate over HTTP, gRPC and kafkajs, but amqplib is absent from the supported-technologies page, so nothing is injected on *->rabbitmq and nothing is extracted on rabbitmq->*. Elastic's docs direct queue users to manual traceparent passing (the recipe carries traceparent only).

The amqplib requests #1188 (Jul 2019) and #1791 (Jul 2020) remain open. Workaround: pass traceparent/tracestate in message headers yourself and start the consumer transaction with the received traceparent.

14 cells affected

elastic-node-amqplib-not-instrumented

Versions measured

Tracer
elastic-apm-node 4.10.0 4.10.0 on npm github
Runtime
node v22.23.4
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 elastic-apm-node/start
Relay source
relays/node/tools/elastic
Ran at
9 Nov 2026, 19:55 UTC
Harness
9b99070 · measured in backtest-elastic-node-4.10.0
Raw JSON
4.10.0.json → variants[id = "elastic-node"]

Libraries

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

Configuration

Library defaults: no propagation-related environment set.

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-e974caa4,team=alpha
ot-baggage-routing-key rk-e974caa4
traceparent 00-eb7c13483dc9e0d84264c46af89d616a-9d9f49de723faa94-01
tracestate cptest=v1
x-cp-canary elastic-node--http-http--52346075

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 47
content-type application/json
traceparent 00-eb7c13483dc9e0d84264c46af89d616a-6159087767ba2d56-01
tracestate cptest=v1
user-agent axios/1.20.0
test id
elastic-node--http-http--52346075
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-7c41b198,team=alpha
ot-baggage-routing-key rk-7c41b198
traceparent 00-a1d1fa155415ccc8cd3c52c2415a3dc3-a96263beefea96eb-01
tracestate cptest=v1
x-cp-canary elastic-node--http-grpc--e1f488f9

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-a1d1fa155415ccc8cd3c52c2415a3dc3-4b928ff9056cf017-01
tracestate cptest=v1
user-agent grpc-node-js/1.14.4
test id
elastic-node--http-grpc--e1f488f9
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-886f9ed3,team=alpha
ot-baggage-routing-key rk-886f9ed3
traceparent 00-3173e5b614ad4bbef01abc1f470738ad-99d717252380820f-01
tracestate cptest=v1
x-cp-canary elastic-node--http-kafka--fcc98048

Observed at the sink on the outbound Kafka record headers

traceparent 00-3173e5b614ad4bbef01abc1f470738ad-a5a8147efeb430dd-01
tracestate cptest=v1
test id
elastic-node--http-kafka--fcc98048
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-ca4085b6,team=alpha
ot-baggage-routing-key rk-ca4085b6
traceparent 00-efa98896d574f09ae4861202a0ed89da-5f2abe34b7fb98f8-01
tracestate cptest=v1
x-cp-canary elastic-node--http-rabbitmq--a0e5caec

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

No headers observed.

test id
elastic-node--http-rabbitmq--a0e5caec
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-156643a8,team=alpha
ot-baggage-routing-key rk-156643a8
traceparent 00-473fcffc13025d4bbe706e613d24cca4-e4148aad74c7db71-01
tracestate cptest=v1
x-cp-canary elastic-node--grpc-http--51da3408

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 47
content-type application/json
traceparent 00-473fcffc13025d4bbe706e613d24cca4-d62603a77d059bdb-01
tracestate cptest=v1
user-agent axios/1.20.0
test id
elastic-node--grpc-http--51da3408
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-5420be16,team=alpha
ot-baggage-routing-key rk-5420be16
traceparent 00-c0ab03141d7071cc2a48c3b0bdfbc6a3-0a961d3569d86250-01
tracestate cptest=v1
x-cp-canary elastic-node--grpc-grpc--1c4cf8c3

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-c0ab03141d7071cc2a48c3b0bdfbc6a3-4859e1d14c536ec9-01
tracestate cptest=v1
user-agent grpc-node-js/1.14.4
test id
elastic-node--grpc-grpc--1c4cf8c3
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-f3d36cb2,team=alpha
ot-baggage-routing-key rk-f3d36cb2
traceparent 00-399bae35b986a07e9e9c1104f85de5bd-304425bf0afda58c-01
tracestate cptest=v1
x-cp-canary elastic-node--grpc-kafka--7dd5f741

Observed at the sink on the outbound Kafka record headers

traceparent 00-399bae35b986a07e9e9c1104f85de5bd-2f99c0f0f3e111a8-01
tracestate cptest=v1
test id
elastic-node--grpc-kafka--7dd5f741
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-5c016b3d,team=alpha
ot-baggage-routing-key rk-5c016b3d
traceparent 00-258e0f9e13c7572704aebd12c2322b2c-1c98b09ff191fb3b-01
tracestate cptest=v1
x-cp-canary elastic-node--grpc-rabbitmq--6826869f

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

No headers observed.

test id
elastic-node--grpc-rabbitmq--6826869f
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-f1f2b946,team=alpha
ot-baggage-routing-key rk-f1f2b946
traceparent 00-77e58f03fff48945547630ea1eff2b07-d8850d8449d52bad-01
tracestate cptest=v1
x-cp-canary elastic-node--kafka-http--fbef57bc

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-77e58f03fff48945547630ea1eff2b07-bd699c4d2ed8a105-01
tracestate cptest=v1
user-agent axios/1.20.0
test id
elastic-node--kafka-http--fbef57bc
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
Kafka gRPC baggage tracestate traceparent ot-baggage delivered via grpc

Seeded on the inbound Kafka record headers

baggage routing-key=rk-e45e212b,team=alpha
ot-baggage-routing-key rk-e45e212b
traceparent 00-5d35219695f1b1f301fd07a0a8568f4f-be5918af653c0706-01
tracestate cptest=v1
x-cp-canary elastic-node--kafka-grpc--11b44892

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-5d35219695f1b1f301fd07a0a8568f4f-408a0b038c728ef1-01
tracestate cptest=v1
user-agent grpc-node-js/1.14.4
test id
elastic-node--kafka-grpc--11b44892
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
Kafka Kafka baggage tracestate traceparent ot-baggage delivered via kafka

Seeded on the inbound Kafka record headers

baggage routing-key=rk-15c32c1e,team=alpha
ot-baggage-routing-key rk-15c32c1e
traceparent 00-fe86560938d581b08e092b2d2274b570-da45b0de2e6b7bd6-01
tracestate cptest=v1
x-cp-canary elastic-node--kafka-kafka--5be1e706

Observed at the sink on the outbound Kafka record headers

traceparent 00-fe86560938d581b08e092b2d2274b570-a36738c13ca8592f-01
tracestate cptest=v1
test id
elastic-node--kafka-kafka--5be1e706
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
Kafka RabbitMQ baggage tracestate traceparent ot-baggage delivered via rabbitmq

Seeded on the inbound Kafka record headers

baggage routing-key=rk-ec734950,team=alpha
ot-baggage-routing-key rk-ec734950
traceparent 00-fc149f1cf5a5c028fbae240a9d59e400-37b50af756ca1d69-01
tracestate cptest=v1
x-cp-canary elastic-node--kafka-rabbitmq--419916d9

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

No headers observed.

test id
elastic-node--kafka-rabbitmq--419916d9
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-bbe90e88,team=alpha
ot-baggage-routing-key rk-bbe90e88
traceparent 00-1b312f68bf5e73d485751683b35e3018-d3a69f2e8bf6e5e4-01
tracestate cptest=v1
x-cp-canary elastic-node--rabbitmq-http--cfc47c39

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 51
content-type application/json
user-agent axios/1.20.0
test id
elastic-node--rabbitmq-http--cfc47c39
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-57a1ced8,team=alpha
ot-baggage-routing-key rk-57a1ced8
traceparent 00-a497e3c760e4dda0d45a472f59a7bf0b-76957cc8dc307b31-01
tracestate cptest=v1
x-cp-canary elastic-node--rabbitmq-grpc--31bcc579

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
elastic-node--rabbitmq-grpc--31bcc579
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-f7a14012,team=alpha
ot-baggage-routing-key rk-f7a14012
traceparent 00-a99e5f9c62e1f2c7a060eff2794549ac-9a9db05eead979be-01
tracestate cptest=v1
x-cp-canary elastic-node--rabbitmq-kafka--274a731d

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-node--rabbitmq-kafka--274a731d
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-2cde1261,team=alpha
ot-baggage-routing-key rk-2cde1261
traceparent 00-5f4391b8c7b3164ed84d608ad30116a8-aa0b83d78bd01859-01
tracestate cptest=v1
x-cp-canary elastic-node--rabbitmq-rabbitmq--4e8383b2

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

No headers observed.

test id
elastic-node--rabbitmq-rabbitmq--4e8383b2
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent

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