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
23 Nov 2026, 13:41 UTC
Harness
f018f71 · run run-2026-11-24
Raw JSON
run-2026-11-24.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-46604cab,team=alpha
ot-baggage-routing-key rk-46604cab
traceparent 00-e42fd862a680c8627888f67adc3d3710-ffec1e0c87e7b228-01
tracestate cptest=v1
x-cp-canary elastic-node--http-http--9050f2ce

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-e42fd862a680c8627888f67adc3d3710-1cc7634356942651-01
tracestate cptest=v1
user-agent axios/1.21.1
test id
elastic-node--http-http--9050f2ce
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-97ba4174,team=alpha
ot-baggage-routing-key rk-97ba4174
traceparent 00-333fb2c5b7f6225267acbdeede564d21-3d5498769963ebdd-01
tracestate cptest=v1
x-cp-canary elastic-node--http-grpc--47f78a65

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-333fb2c5b7f6225267acbdeede564d21-9d8aeb68182ba0f6-01
tracestate cptest=v1
user-agent grpc-node-js/1.14.7
test id
elastic-node--http-grpc--47f78a65
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-2df35974,team=alpha
ot-baggage-routing-key rk-2df35974
traceparent 00-1370ea88d72ae6a8fe8694d56f29df76-22ce8ebd18a31e54-01
tracestate cptest=v1
x-cp-canary elastic-node--http-kafka--a9d4149a

Observed at the sink on the outbound Kafka record headers

traceparent 00-1370ea88d72ae6a8fe8694d56f29df76-76792ac1d21556d6-01
tracestate cptest=v1
test id
elastic-node--http-kafka--a9d4149a
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-69d7c5d0,team=alpha
ot-baggage-routing-key rk-69d7c5d0
traceparent 00-9ab773eb6865273d6a30baf86e462cfd-96091d07bfd42a92-01
tracestate cptest=v1
x-cp-canary elastic-node--http-rabbitmq--52e52a39

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

No headers observed.

test id
elastic-node--http-rabbitmq--52e52a39
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-7976ea17,team=alpha
ot-baggage-routing-key rk-7976ea17
traceparent 00-3efb65041a4db56b57dca77da59e76aa-9757d8d3a06b10a0-01
tracestate cptest=v1
x-cp-canary elastic-node--grpc-http--f9404d1e

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-3efb65041a4db56b57dca77da59e76aa-281aae9bb774c4dd-01
tracestate cptest=v1
user-agent axios/1.21.1
test id
elastic-node--grpc-http--f9404d1e
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-3cbd0ad8,team=alpha
ot-baggage-routing-key rk-3cbd0ad8
traceparent 00-56e3a79a13833c8985bc74fa3db5f46b-03155014341fa863-01
tracestate cptest=v1
x-cp-canary elastic-node--grpc-grpc--d5114f19

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-56e3a79a13833c8985bc74fa3db5f46b-77684a84f4f072d6-01
tracestate cptest=v1
user-agent grpc-node-js/1.14.7
test id
elastic-node--grpc-grpc--d5114f19
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-959a9381,team=alpha
ot-baggage-routing-key rk-959a9381
traceparent 00-30717eb7130cc03967e723fea8fe5374-555e47d638d8c36a-01
tracestate cptest=v1
x-cp-canary elastic-node--grpc-kafka--645cb46d

Observed at the sink on the outbound Kafka record headers

traceparent 00-30717eb7130cc03967e723fea8fe5374-33d2e5ac6d092524-01
tracestate cptest=v1
test id
elastic-node--grpc-kafka--645cb46d
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-84d6250c,team=alpha
ot-baggage-routing-key rk-84d6250c
traceparent 00-038fe5e435a1bc021d444fc39cdbf47b-d3610c264e3ab7a2-01
tracestate cptest=v1
x-cp-canary elastic-node--grpc-rabbitmq--d55127e5

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

No headers observed.

test id
elastic-node--grpc-rabbitmq--d55127e5
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-175b31eb,team=alpha
ot-baggage-routing-key rk-175b31eb
traceparent 00-6eca109b68c16031f2fe1d1725a1fd53-87ca5ccf818f5b99-01
tracestate cptest=v1
x-cp-canary elastic-node--kafka-http--525c88f4

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-6eca109b68c16031f2fe1d1725a1fd53-aab920d988a5a006-01
tracestate cptest=v1
user-agent axios/1.21.1
test id
elastic-node--kafka-http--525c88f4
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-b52615a2,team=alpha
ot-baggage-routing-key rk-b52615a2
traceparent 00-c0c42e1e60cf6e95547af1804a4e203d-3c034bed4ac64c84-01
tracestate cptest=v1
x-cp-canary elastic-node--kafka-grpc--72500831

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-c0c42e1e60cf6e95547af1804a4e203d-a104bd60a77983e1-01
tracestate cptest=v1
user-agent grpc-node-js/1.14.7
test id
elastic-node--kafka-grpc--72500831
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-e821da81,team=alpha
ot-baggage-routing-key rk-e821da81
traceparent 00-29efaf10f0c88243973ef4e639036bcd-292b075997c2ff10-01
tracestate cptest=v1
x-cp-canary elastic-node--kafka-kafka--bce9e611

Observed at the sink on the outbound Kafka record headers

traceparent 00-29efaf10f0c88243973ef4e639036bcd-0165bec1f5d5464d-01
tracestate cptest=v1
test id
elastic-node--kafka-kafka--bce9e611
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-f75a874b,team=alpha
ot-baggage-routing-key rk-f75a874b
traceparent 00-0d6b5fca00da75aa92fd6ad01480b74c-ce05baf4e025f7de-01
tracestate cptest=v1
x-cp-canary elastic-node--kafka-rabbitmq--d31a2bb4

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

No headers observed.

test id
elastic-node--kafka-rabbitmq--d31a2bb4
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-51b3384c,team=alpha
ot-baggage-routing-key rk-51b3384c
traceparent 00-531eae24081aa018d197c8bd1309f088-8076db48c06998c7-01
tracestate cptest=v1
x-cp-canary elastic-node--rabbitmq-http--705d3888

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--705d3888
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-b056bb8e,team=alpha
ot-baggage-routing-key rk-b056bb8e
traceparent 00-6db64d3fffdba3bcb78b25d3e20ce8a7-41b6f321d203926e-01
tracestate cptest=v1
x-cp-canary elastic-node--rabbitmq-grpc--da3f1a5b

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--da3f1a5b
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-2b0a2db1,team=alpha
ot-baggage-routing-key rk-2b0a2db1
traceparent 00-e779e441a080de86e5c61bc318f9f435-ed1f7370286c85f7-01
tracestate cptest=v1
x-cp-canary elastic-node--rabbitmq-kafka--3b4a0c41

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-node--rabbitmq-kafka--3b4a0c41
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-72c5ff92,team=alpha
ot-baggage-routing-key rk-72c5ff92
traceparent 00-dcac0ae8e8fd4d77b0c834342d7afa02-fb5df6fdaaeff978-01
tracestate cptest=v1
x-cp-canary elastic-node--rabbitmq-rabbitmq--459dc78f

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

No headers observed.

test id
elastic-node--rabbitmq-rabbitmq--459dc78f
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent

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