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
30 Nov 2026, 06:43 UTC
Harness
ae4b9c9 · run run-2026-11-30.1
Raw JSON
run-2026-11-30.1.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-b8a9748d,team=alpha
ot-baggage-routing-key rk-b8a9748d
traceparent 00-d32c2edc6da88244a79e7082d3a7f04a-18295156b703f28a-01
tracestate cptest=v1
x-cp-canary elastic-node--http-http--b51db29a

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-d32c2edc6da88244a79e7082d3a7f04a-7ab6798809495a0d-01
tracestate cptest=v1
user-agent axios/1.21.1
test id
elastic-node--http-http--b51db29a
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-4c09febe,team=alpha
ot-baggage-routing-key rk-4c09febe
traceparent 00-4aa37c148a5a76e9143d760c77d83cc0-6f6f942a3e9bdb21-01
tracestate cptest=v1
x-cp-canary elastic-node--http-grpc--903ede1d

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-4aa37c148a5a76e9143d760c77d83cc0-9c667abb3f3b31e2-01
tracestate cptest=v1
user-agent grpc-node-js/1.14.7
test id
elastic-node--http-grpc--903ede1d
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-8824c9b2,team=alpha
ot-baggage-routing-key rk-8824c9b2
traceparent 00-9e3f865d94e2dea91d3ba1635422b77e-7de99d22888846b5-01
tracestate cptest=v1
x-cp-canary elastic-node--http-kafka--9d79318b

Observed at the sink on the outbound Kafka record headers

traceparent 00-9e3f865d94e2dea91d3ba1635422b77e-ec7a0b60244c8dc7-01
tracestate cptest=v1
test id
elastic-node--http-kafka--9d79318b
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-80899345,team=alpha
ot-baggage-routing-key rk-80899345
traceparent 00-554f26979b2e52c7be32885efb1aaa68-24a62d26aebbca2a-01
tracestate cptest=v1
x-cp-canary elastic-node--http-rabbitmq--ba1de010

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

No headers observed.

test id
elastic-node--http-rabbitmq--ba1de010
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-b95a4156,team=alpha
ot-baggage-routing-key rk-b95a4156
traceparent 00-c117080e1495ec3b81fbd7362f50f342-6be09a8029a1a9ed-01
tracestate cptest=v1
x-cp-canary elastic-node--grpc-http--f874532f

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-c117080e1495ec3b81fbd7362f50f342-18f0de29fad16f7b-01
tracestate cptest=v1
user-agent axios/1.21.1
test id
elastic-node--grpc-http--f874532f
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-7997d349,team=alpha
ot-baggage-routing-key rk-7997d349
traceparent 00-31093754b1656bf2f612e0634bda1157-fe1a8a09beee243c-01
tracestate cptest=v1
x-cp-canary elastic-node--grpc-grpc--4f2f1709

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-31093754b1656bf2f612e0634bda1157-44e0e0b70deb460f-01
tracestate cptest=v1
user-agent grpc-node-js/1.14.7
test id
elastic-node--grpc-grpc--4f2f1709
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-c7645209,team=alpha
ot-baggage-routing-key rk-c7645209
traceparent 00-9014edc59dc2fe452e7ba164f894ecf6-4c1eb647c0326abc-01
tracestate cptest=v1
x-cp-canary elastic-node--grpc-kafka--2c87968e

Observed at the sink on the outbound Kafka record headers

traceparent 00-9014edc59dc2fe452e7ba164f894ecf6-ee1eacfbe3d2383f-01
tracestate cptest=v1
test id
elastic-node--grpc-kafka--2c87968e
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-a8e77ce5,team=alpha
ot-baggage-routing-key rk-a8e77ce5
traceparent 00-ace5d22f7a277a2cfa21f866cbcca47a-59a88ebc66fbaa91-01
tracestate cptest=v1
x-cp-canary elastic-node--grpc-rabbitmq--4219f995

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

No headers observed.

test id
elastic-node--grpc-rabbitmq--4219f995
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-3098dcbf,team=alpha
ot-baggage-routing-key rk-3098dcbf
traceparent 00-0db4e8ae300190c4891a3869f42164c9-e1c415b11a7662d9-01
tracestate cptest=v1
x-cp-canary elastic-node--kafka-http--ae6a65db

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-0db4e8ae300190c4891a3869f42164c9-8d8b2d88b4959de1-01
tracestate cptest=v1
user-agent axios/1.21.1
test id
elastic-node--kafka-http--ae6a65db
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-f3c8b75f,team=alpha
ot-baggage-routing-key rk-f3c8b75f
traceparent 00-93886d6f3f19f1c50ca2a7a90e61419e-8147fd654f38c4dd-01
tracestate cptest=v1
x-cp-canary elastic-node--kafka-grpc--f7049700

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-93886d6f3f19f1c50ca2a7a90e61419e-f7a5db88d55c416a-01
tracestate cptest=v1
user-agent grpc-node-js/1.14.7
test id
elastic-node--kafka-grpc--f7049700
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-27d56f69,team=alpha
ot-baggage-routing-key rk-27d56f69
traceparent 00-3786a23845dde3bbcefc204ea6b7619b-3f215bccb6e07734-01
tracestate cptest=v1
x-cp-canary elastic-node--kafka-kafka--e58c9a28

Observed at the sink on the outbound Kafka record headers

traceparent 00-3786a23845dde3bbcefc204ea6b7619b-4ad7940ed79508b2-01
tracestate cptest=v1
test id
elastic-node--kafka-kafka--e58c9a28
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-4f195528,team=alpha
ot-baggage-routing-key rk-4f195528
traceparent 00-13bf645e9f19461373b90af8c8058bd0-c134abaa69da6a71-01
tracestate cptest=v1
x-cp-canary elastic-node--kafka-rabbitmq--56e50724

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

No headers observed.

test id
elastic-node--kafka-rabbitmq--56e50724
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-bab6b27d,team=alpha
ot-baggage-routing-key rk-bab6b27d
traceparent 00-f76dbbd1314586a1d05b6a983bf40a0e-a23fcfe2241e57d1-01
tracestate cptest=v1
x-cp-canary elastic-node--rabbitmq-http--3e529308

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--3e529308
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-6c6fa9c2,team=alpha
ot-baggage-routing-key rk-6c6fa9c2
traceparent 00-e11feb853c17c53e4e8d4ac90292564e-bd8aa172e1c9f0c2-01
tracestate cptest=v1
x-cp-canary elastic-node--rabbitmq-grpc--3e4c5eb2

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--3e4c5eb2
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-9f4c0825,team=alpha
ot-baggage-routing-key rk-9f4c0825
traceparent 00-5d81770afb8ef89c5af83a7937fa7636-769cf662a12b1770-01
tracestate cptest=v1
x-cp-canary elastic-node--rabbitmq-kafka--337b406b

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-node--rabbitmq-kafka--337b406b
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-f0f5530e,team=alpha
ot-baggage-routing-key rk-f0f5530e
traceparent 00-68b34a1dd8fbb83141232b8b6b3ecbc7-0530f68a8448af00-01
tracestate cptest=v1
x-cp-canary elastic-node--rabbitmq-rabbitmq--02a7762c

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

No headers observed.

test id
elastic-node--rabbitmq-rabbitmq--02a7762c
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent

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