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

OpenTelemetry, Elastic APM and New Relic never implemented the OpenTracing-era ot-baggage-* headers

by-design ot-baggage-* is a legacy OpenTracing convention; OpenTelemetry, Elastic APM and New Relic each define their propagation header set without it.

The seeded ot-baggage-routing-key header is ignored — neither extracted nor re-emitted — by every OpenTelemetry, Elastic and New Relic variant on every delivered boundary. None of these tools ever emitted the OpenTracing header format: OpenTelemetry standardised on W3C baggage; 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.

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.

356 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). Our references record 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 v22.23.2
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
7 Sept 2026, 10:56 UTC
Harness
commit not recorded · run run-2026-09-07
Raw JSON
run-2026-09-07.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-367997e2,team=alpha
ot-baggage-routing-key rk-367997e2
traceparent 00-3af2d8d85ddcdfe742f7ae567b2bb92e-8ed1cdb9a40df672-01
tracestate cptest=v1
x-cp-canary elastic-node--http-http--17c2c94e

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-3af2d8d85ddcdfe742f7ae567b2bb92e-ea5253d38af04361-01
tracestate cptest=v1
user-agent axios/1.20.0
test id
elastic-node--http-http--17c2c94e
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-f3eae3b7,team=alpha
ot-baggage-routing-key rk-f3eae3b7
traceparent 00-99e2e2608b1f42a93dc24ae85aea170c-c110d85c0a74275b-01
tracestate cptest=v1
x-cp-canary elastic-node--http-grpc--daff45f0

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-99e2e2608b1f42a93dc24ae85aea170c-47e721d32cc1f43b-01
tracestate cptest=v1
user-agent grpc-node-js/1.14.4
test id
elastic-node--http-grpc--daff45f0
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-67dfd50d,team=alpha
ot-baggage-routing-key rk-67dfd50d
traceparent 00-ecb984c56181c27b48a749dbf5e02621-d36bda8cf1459cf8-01
tracestate cptest=v1
x-cp-canary elastic-node--http-kafka--74d118ae

Observed at the sink on the outbound Kafka record headers

traceparent 00-ecb984c56181c27b48a749dbf5e02621-a408591715c3ae65-01
tracestate cptest=v1
test id
elastic-node--http-kafka--74d118ae
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-295f5b6b,team=alpha
ot-baggage-routing-key rk-295f5b6b
traceparent 00-210a56fb6c3c643543d7cbe7865d339b-a42f4197a566dd3d-01
tracestate cptest=v1
x-cp-canary elastic-node--http-rabbitmq--f93121e4

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

No headers observed.

test id
elastic-node--http-rabbitmq--f93121e4
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-76d0d100,team=alpha
ot-baggage-routing-key rk-76d0d100
traceparent 00-2ccdc3677a2063cb4ef5f0f8c4161b7b-c515a8e9e7a8e0f5-01
tracestate cptest=v1
x-cp-canary elastic-node--grpc-http--41b07844

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-2ccdc3677a2063cb4ef5f0f8c4161b7b-90c7d60acf492fb4-01
tracestate cptest=v1
user-agent axios/1.20.0
test id
elastic-node--grpc-http--41b07844
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-b223280c,team=alpha
ot-baggage-routing-key rk-b223280c
traceparent 00-6f2cae22aab1c62283eddb604bd52c12-7c7f80bc5a5b8399-01
tracestate cptest=v1
x-cp-canary elastic-node--grpc-grpc--73578347

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-6f2cae22aab1c62283eddb604bd52c12-cc064f5ac4c19d8f-01
tracestate cptest=v1
user-agent grpc-node-js/1.14.4
test id
elastic-node--grpc-grpc--73578347
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-084e5ebf,team=alpha
ot-baggage-routing-key rk-084e5ebf
traceparent 00-220af5524c064eb537923779a20a276f-68f2dcf0e29c4415-01
tracestate cptest=v1
x-cp-canary elastic-node--grpc-kafka--8ddab34a

Observed at the sink on the outbound Kafka record headers

traceparent 00-220af5524c064eb537923779a20a276f-7dcf11d297f8eb33-01
tracestate cptest=v1
test id
elastic-node--grpc-kafka--8ddab34a
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-64ae01ec,team=alpha
ot-baggage-routing-key rk-64ae01ec
traceparent 00-17a3d11c80d9dbbd99a5ba6d1b827b34-561ace1f1587a6f2-01
tracestate cptest=v1
x-cp-canary elastic-node--grpc-rabbitmq--c51dda5a

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

No headers observed.

test id
elastic-node--grpc-rabbitmq--c51dda5a
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-39ca51ab,team=alpha
ot-baggage-routing-key rk-39ca51ab
traceparent 00-d41113994b7078f910458e52a8901e24-9362a17955acc94b-01
tracestate cptest=v1
x-cp-canary elastic-node--kafka-http--33638ae3

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-d41113994b7078f910458e52a8901e24-12838d5f0599469d-01
tracestate cptest=v1
user-agent axios/1.20.0
test id
elastic-node--kafka-http--33638ae3
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-b755cc5d,team=alpha
ot-baggage-routing-key rk-b755cc5d
traceparent 00-2dd79793af1e1a1460e8403283df04c6-ac81e50580651b63-01
tracestate cptest=v1
x-cp-canary elastic-node--kafka-grpc--f54ebacf

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-2dd79793af1e1a1460e8403283df04c6-ff8ff7a3701c9763-01
tracestate cptest=v1
user-agent grpc-node-js/1.14.4
test id
elastic-node--kafka-grpc--f54ebacf
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-d248352a,team=alpha
ot-baggage-routing-key rk-d248352a
traceparent 00-8932d9906568daf1af2953f5fb166314-88d4e5d1ffc02cf5-01
tracestate cptest=v1
x-cp-canary elastic-node--kafka-kafka--3aef92e2

Observed at the sink on the outbound Kafka record headers

traceparent 00-8932d9906568daf1af2953f5fb166314-47338daa4d560850-01
tracestate cptest=v1
test id
elastic-node--kafka-kafka--3aef92e2
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-08c5b6a7,team=alpha
ot-baggage-routing-key rk-08c5b6a7
traceparent 00-0dbaa5a0e282b59b7a18ed7c1ac74207-aa0a89008756872f-01
tracestate cptest=v1
x-cp-canary elastic-node--kafka-rabbitmq--c940ae86

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

No headers observed.

test id
elastic-node--kafka-rabbitmq--c940ae86
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-6ff98c80,team=alpha
ot-baggage-routing-key rk-6ff98c80
traceparent 00-f7143ca35c774f019bb8fb518bd94cfb-6edd0b0f4cfe3822-01
tracestate cptest=v1
x-cp-canary elastic-node--rabbitmq-http--a3b2e795

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--a3b2e795
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-616afff6,team=alpha
ot-baggage-routing-key rk-616afff6
traceparent 00-4b390fcbc0c99bd9c3fdc551e8490288-dc112df0c84ac690-01
tracestate cptest=v1
x-cp-canary elastic-node--rabbitmq-grpc--6a5f72d4

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--6a5f72d4
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-44f51b36,team=alpha
ot-baggage-routing-key rk-44f51b36
traceparent 00-d583459b8fb005f53d384bb8eec49307-1f025232b83c226c-01
tracestate cptest=v1
x-cp-canary elastic-node--rabbitmq-kafka--1dc7fd62

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-node--rabbitmq-kafka--1dc7fd62
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-cdaaf0ca,team=alpha
ot-baggage-routing-key rk-cdaaf0ca
traceparent 00-ef4573bbbf06a38ca4593b7281003f56-4e82330a26460888-01
tracestate cptest=v1
x-cp-canary elastic-node--rabbitmq-rabbitmq--62ee9435

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

No headers observed.

test id
elastic-node--rabbitmq-rabbitmq--62ee9435
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent

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