elastic-node

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

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.5.3 4.5.3 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
10 Nov 2026, 08:22 UTC
Harness
9b99070 · measured in backtest-elastic-node-4.5.3
Raw JSON
4.5.3.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-4856ed28,team=alpha
ot-baggage-routing-key rk-4856ed28
traceparent 00-0aaeb3967f7ba01cadcbe4812e75fc10-42ef904a8435d090-01
tracestate cptest=v1
x-cp-canary elastic-node--http-http--ace328d3

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-0aaeb3967f7ba01cadcbe4812e75fc10-dc171689d94c44bf-01
tracestate cptest=v1
user-agent axios/1.20.0
test id
elastic-node--http-http--ace328d3
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-da519001,team=alpha
ot-baggage-routing-key rk-da519001
traceparent 00-88f746ba37321f403ec333c863876c87-784a91377ae9c190-01
tracestate cptest=v1
x-cp-canary elastic-node--http-grpc--b27e4e20

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-88f746ba37321f403ec333c863876c87-9c411d960a36d1c3-01
tracestate cptest=v1
user-agent grpc-node-js/1.14.4
test id
elastic-node--http-grpc--b27e4e20
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-c6ae0777,team=alpha
ot-baggage-routing-key rk-c6ae0777
traceparent 00-520641d0c2840a3903f065684562a634-650bd517a5362539-01
tracestate cptest=v1
x-cp-canary elastic-node--http-kafka--38233f33

Observed at the sink on the outbound Kafka record headers

traceparent 00-520641d0c2840a3903f065684562a634-cf1b0d55269d14fc-01
tracestate cptest=v1
test id
elastic-node--http-kafka--38233f33
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-2b9425eb,team=alpha
ot-baggage-routing-key rk-2b9425eb
traceparent 00-5155be7f1267bbdce62b5ff990bb0e2c-e606ef6ad4133e80-01
tracestate cptest=v1
x-cp-canary elastic-node--http-rabbitmq--d3360cca

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

No headers observed.

test id
elastic-node--http-rabbitmq--d3360cca
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-f5aae579,team=alpha
ot-baggage-routing-key rk-f5aae579
traceparent 00-1a32382011a8dec44e537dbd738d40f5-1efd7da2aa20364c-01
tracestate cptest=v1
x-cp-canary elastic-node--grpc-http--33374226

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-1a32382011a8dec44e537dbd738d40f5-36d64d0c65d7a7e2-01
tracestate cptest=v1
user-agent axios/1.20.0
test id
elastic-node--grpc-http--33374226
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-02a07543,team=alpha
ot-baggage-routing-key rk-02a07543
traceparent 00-c57eadd58765e9af8037376c606535b9-a996fdf9ae46fa38-01
tracestate cptest=v1
x-cp-canary elastic-node--grpc-grpc--9dc8b2e2

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-c57eadd58765e9af8037376c606535b9-59c2bfc1518689a2-01
tracestate cptest=v1
user-agent grpc-node-js/1.14.4
test id
elastic-node--grpc-grpc--9dc8b2e2
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-1726a1ab,team=alpha
ot-baggage-routing-key rk-1726a1ab
traceparent 00-7715db95c5a1a7f346e668cf5508042b-3e08e83e3a76fd88-01
tracestate cptest=v1
x-cp-canary elastic-node--grpc-kafka--b3738b54

Observed at the sink on the outbound Kafka record headers

traceparent 00-7715db95c5a1a7f346e668cf5508042b-57d20603acca3c7e-01
tracestate cptest=v1
test id
elastic-node--grpc-kafka--b3738b54
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-df2e6d11,team=alpha
ot-baggage-routing-key rk-df2e6d11
traceparent 00-dfa40d9a5352d88a955329ca55de420d-d0775fbce9368f7a-01
tracestate cptest=v1
x-cp-canary elastic-node--grpc-rabbitmq--93c075aa

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

No headers observed.

test id
elastic-node--grpc-rabbitmq--93c075aa
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-347cbd24,team=alpha
ot-baggage-routing-key rk-347cbd24
traceparent 00-4087fec09cd2fea6ffe488832f50492f-621f6973483055f0-01
tracestate cptest=v1
x-cp-canary elastic-node--kafka-http--aa620d64

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-4087fec09cd2fea6ffe488832f50492f-b2a1d83878584e06-01
tracestate cptest=v1
user-agent axios/1.20.0
test id
elastic-node--kafka-http--aa620d64
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-dda32548,team=alpha
ot-baggage-routing-key rk-dda32548
traceparent 00-2e97b1fdc99a5b37407b53abb20c757c-5087e7c2f71b4a78-01
tracestate cptest=v1
x-cp-canary elastic-node--kafka-grpc--61f29f7c

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-2e97b1fdc99a5b37407b53abb20c757c-e600e2ffbbba94d3-01
tracestate cptest=v1
user-agent grpc-node-js/1.14.4
test id
elastic-node--kafka-grpc--61f29f7c
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-c9465399,team=alpha
ot-baggage-routing-key rk-c9465399
traceparent 00-dbe6f36558154125899d67b60ccebf9c-88fd3cdb3b2f1a4d-01
tracestate cptest=v1
x-cp-canary elastic-node--kafka-kafka--70d51d98

Observed at the sink on the outbound Kafka record headers

traceparent 00-dbe6f36558154125899d67b60ccebf9c-8382848c9ac543e5-01
tracestate cptest=v1
test id
elastic-node--kafka-kafka--70d51d98
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-d222b845,team=alpha
ot-baggage-routing-key rk-d222b845
traceparent 00-92a1fb3910038e7b5823b320acfa729a-0a51a712b26e7dd7-01
tracestate cptest=v1
x-cp-canary elastic-node--kafka-rabbitmq--e04542ca

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

No headers observed.

test id
elastic-node--kafka-rabbitmq--e04542ca
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-24109f7c,team=alpha
ot-baggage-routing-key rk-24109f7c
traceparent 00-b42e9e66cfd1ca1766ded42c37934647-cddacbf6aca8aa1e-01
tracestate cptest=v1
x-cp-canary elastic-node--rabbitmq-http--2eff8520

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--2eff8520
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-f9836bfd,team=alpha
ot-baggage-routing-key rk-f9836bfd
traceparent 00-3c6d6ec5dcb49cf04e0b392e49cb93fa-587299b5087a6255-01
tracestate cptest=v1
x-cp-canary elastic-node--rabbitmq-grpc--20e38873

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--20e38873
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-88f005d4,team=alpha
ot-baggage-routing-key rk-88f005d4
traceparent 00-49bd61ccfd94bd2f0dbcd4176ce43367-1876dfb8e0b60f10-01
tracestate cptest=v1
x-cp-canary elastic-node--rabbitmq-kafka--d46fddc8

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-node--rabbitmq-kafka--d46fddc8
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-eab4da6f,team=alpha
ot-baggage-routing-key rk-eab4da6f
traceparent 00-0843dbb051b1e55606995d26d9146180-10b7e96c38303369-01
tracestate cptest=v1
x-cp-canary elastic-node--rabbitmq-rabbitmq--63957b1b

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

No headers observed.

test id
elastic-node--rabbitmq-rabbitmq--63957b1b
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent

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