elastic-node

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

attach --require elastic-apm-node/start

18/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

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.

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

Tracer
elastic-apm-node 4.18.0 this version 4.18.0 on npm github
Runtime
node v26.13.1
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
25 Nov 2026, 00:15 UTC
Harness
7920dd0 · run run-2026-11-25
Raw JSON
run-2026-11-25.json → variants[id = "elastic-node"]

Libraries

express5.3.0
grpc-js1.14.7
http_clientaxios 1.21.1
kafkajs2.2.4
rabbitmqamqplib 2.4.0

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-668e4670,team=alpha
ot-baggage-routing-key rk-668e4670
traceparent 00-9b2b99f7deb9ccd6e75895ea49676253-d671bdd02ef80535-01
tracestate cptest=v1
x-cp-canary elastic-node--http-http--47d7594a

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-9b2b99f7deb9ccd6e75895ea49676253-d0b059c778d2b5d4-01
tracestate cptest=v1
user-agent axios/1.21.1
test id
elastic-node--http-http--47d7594a
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-b1fec00b,team=alpha
ot-baggage-routing-key rk-b1fec00b
traceparent 00-775a5fd7eeccb68ad5b40a3f1df37f9e-206e99a6a227247f-01
tracestate cptest=v1
x-cp-canary elastic-node--http-grpc--1ac49a59

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-775a5fd7eeccb68ad5b40a3f1df37f9e-05bbd36793ccc6f4-01
tracestate cptest=v1
user-agent grpc-node-js/1.14.7
test id
elastic-node--http-grpc--1ac49a59
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-6e443892,team=alpha
ot-baggage-routing-key rk-6e443892
traceparent 00-cce4f0d509f152d033411f3f8bef6871-1795577245df5d3b-01
tracestate cptest=v1
x-cp-canary elastic-node--http-kafka--d4b87606

Observed at the sink on the outbound Kafka record headers

traceparent 00-cce4f0d509f152d033411f3f8bef6871-3e2ef417098134d6-01
tracestate cptest=v1
test id
elastic-node--http-kafka--d4b87606
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-c8b3d248,team=alpha
ot-baggage-routing-key rk-c8b3d248
traceparent 00-65d2806e7358da68edf160bccaad0a6f-0c57817c95d0df09-01
tracestate cptest=v1
x-cp-canary elastic-node--http-rabbitmq--728936b7

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

No headers observed.

test id
elastic-node--http-rabbitmq--728936b7
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-664b2e59,team=alpha
ot-baggage-routing-key rk-664b2e59
traceparent 00-3a2b63c03572c9eb83de6a0246bd6175-9f47467479de7f29-01
tracestate cptest=v1
x-cp-canary elastic-node--grpc-http--d21f25e0

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-3a2b63c03572c9eb83de6a0246bd6175-62b4ba0695c4e793-01
tracestate cptest=v1
user-agent axios/1.21.1
test id
elastic-node--grpc-http--d21f25e0
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-9bad0adf,team=alpha
ot-baggage-routing-key rk-9bad0adf
traceparent 00-ed30841fb432b8f0b5c89650a4b39662-249c8bfa7badfa78-01
tracestate cptest=v1
x-cp-canary elastic-node--grpc-grpc--544b86b6

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-ed30841fb432b8f0b5c89650a4b39662-d9aa110c727655db-01
tracestate cptest=v1
user-agent grpc-node-js/1.14.7
test id
elastic-node--grpc-grpc--544b86b6
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-e99261cd,team=alpha
ot-baggage-routing-key rk-e99261cd
traceparent 00-696537f497e0ae262a3b3f15edd3402a-8ad4f82f3432a8cd-01
tracestate cptest=v1
x-cp-canary elastic-node--grpc-kafka--4d782bf0

Observed at the sink on the outbound Kafka record headers

traceparent 00-696537f497e0ae262a3b3f15edd3402a-018b8a36ffcdd69a-01
tracestate cptest=v1
test id
elastic-node--grpc-kafka--4d782bf0
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-d1fc3780,team=alpha
ot-baggage-routing-key rk-d1fc3780
traceparent 00-cc7151732a13661e0adc7f6fed814abc-80a4c33e23ad7e7c-01
tracestate cptest=v1
x-cp-canary elastic-node--grpc-rabbitmq--7f125a70

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

No headers observed.

test id
elastic-node--grpc-rabbitmq--7f125a70
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-ddd962af,team=alpha
ot-baggage-routing-key rk-ddd962af
traceparent 00-945c49361134141d0caf14073f3f89e4-93ffd2e807537f43-01
tracestate cptest=v1
x-cp-canary elastic-node--kafka-http--f75da7b9

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-945c49361134141d0caf14073f3f89e4-74a3bdbe0869a98f-01
tracestate cptest=v1
user-agent axios/1.21.1
test id
elastic-node--kafka-http--f75da7b9
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-9cda2731,team=alpha
ot-baggage-routing-key rk-9cda2731
traceparent 00-511adce23473ac9152ebaa80830f097b-f647d000c748151b-01
tracestate cptest=v1
x-cp-canary elastic-node--kafka-grpc--435227a7

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-511adce23473ac9152ebaa80830f097b-12e369cacca6faf1-01
tracestate cptest=v1
user-agent grpc-node-js/1.14.7
test id
elastic-node--kafka-grpc--435227a7
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-3ac5442c,team=alpha
ot-baggage-routing-key rk-3ac5442c
traceparent 00-977fa14eaaef75eccec6d64607bb5169-fc6cf583b8311c07-01
tracestate cptest=v1
x-cp-canary elastic-node--kafka-kafka--06c061d3

Observed at the sink on the outbound Kafka record headers

traceparent 00-977fa14eaaef75eccec6d64607bb5169-3591d730b2cc84cc-01
tracestate cptest=v1
test id
elastic-node--kafka-kafka--06c061d3
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-3d7e1d56,team=alpha
ot-baggage-routing-key rk-3d7e1d56
traceparent 00-d0191683a8094eaf817d535e12ab3ecd-d4b568b0c4cf13d1-01
tracestate cptest=v1
x-cp-canary elastic-node--kafka-rabbitmq--fe5fd17c

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

No headers observed.

test id
elastic-node--kafka-rabbitmq--fe5fd17c
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-afb95581,team=alpha
ot-baggage-routing-key rk-afb95581
traceparent 00-900f3c17384fffca8734660ca4e6b8d8-7469a33e077c0ae3-01
tracestate cptest=v1
x-cp-canary elastic-node--rabbitmq-http--1c812e02

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.21.1
test id
elastic-node--rabbitmq-http--1c812e02
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-6c7941b3,team=alpha
ot-baggage-routing-key rk-6c7941b3
traceparent 00-62692a25b5c26fec25ecb3342336d485-e7fcc7d2ea91ff8f-01
tracestate cptest=v1
x-cp-canary elastic-node--rabbitmq-grpc--4e2350a6

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.7
test id
elastic-node--rabbitmq-grpc--4e2350a6
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-46b8b6c5,team=alpha
ot-baggage-routing-key rk-46b8b6c5
traceparent 00-b5e1d6855a1ee9b7c5e9d8845b1b5033-ed8c2938f2eb7b84-01
tracestate cptest=v1
x-cp-canary elastic-node--rabbitmq-kafka--643dd6b8

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-node--rabbitmq-kafka--643dd6b8
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-06a6110e,team=alpha
ot-baggage-routing-key rk-06a6110e
traceparent 00-67482d321b8874f87cf90638df2f8275-a5f6e97e6fe917cb-01
tracestate cptest=v1
x-cp-canary elastic-node--rabbitmq-rabbitmq--65dbbf57

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

No headers observed.

test id
elastic-node--rabbitmq-rabbitmq--65dbbf57
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent

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