elastic-java

Java zero-code elastic-apm-agent1.56.0

attach -javaagent:elastic-apm-agent.jar

48/64 cells pass
  • Pass
  • Partial
  • New trace
  • Fail
  • Undelivered
  • Not run

Not compared with the uninstrumented Java relay (no run on this site measured it on java 25.0.5).

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

Versions measured

Tracer
co.elastic.apm:elastic-apm-agent 1.56.0 1.56.0 on maven github
Runtime
java 25.0.5
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
-javaagent:elastic-apm-agent.jar
Relay source
relays/java
Ran at
9 Nov 2026, 13:06 UTC
Harness
9beafb3 · measured in run-2026-11-09.3
Raw JSON
1.56.0.json → variants[id = "elastic-java"]

Libraries

grpcgrpc-java
http-clientRestTemplate (HttpURLConnection)
kafkaspring-kafka
kafka-clients3.9.2
rabbitmqspring-rabbit (amqp-client 5.25.0)
spring-boot3.5.16

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-0d96c7c8,team=alpha
ot-baggage-routing-key rk-0d96c7c8
traceparent 00-899a21b2aaca8cc820aef008bce3169b-313d13c4b5e32f06-01
tracestate cptest=v1
x-cp-canary elastic-java--http-http--ec3ee825

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-0d96c7c8,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-899a21b2aaca8cc820aef008bce3169b-756810cda059386f-01
traceparent 00-899a21b2aaca8cc820aef008bce3169b-756810cda059386f-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--http-http--ec3ee825
raw statuses
baggage=propagatedtracestate=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-45d8842d,team=alpha
ot-baggage-routing-key rk-45d8842d
traceparent 00-55786214e3a6d9c9ad061e190450ce58-8a8e1523ab39cef1-01
tracestate cptest=v1
x-cp-canary elastic-java--http-grpc--cd321e03

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-45d8842d,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-55786214e3a6d9c9ad061e190450ce58-8523c99de39571bc-01
grpc-accept-encoding gzip
traceparent 00-55786214e3a6d9c9ad061e190450ce58-8523c99de39571bc-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--http-grpc--cd321e03
raw statuses
baggage=propagatedtracestate=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-dddd14ea,team=alpha
ot-baggage-routing-key rk-dddd14ea
traceparent 00-49dd15d958d6d585a273d8b296be9ab9-9918fe07830f0606-01
tracestate cptest=v1
x-cp-canary elastic-java--http-kafka--2df30474

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-dddd14ea,team=alpha
elasticapmtraceparent base64:AABJ3RXZWNbVhaJz2LKWvpq5Acwg2GsKtLF5AgE=
traceparent 00-49dd15d958d6d585a273d8b296be9ab9-cc20d86b0ab4b179-01
tracestate cptest=v1
test id
elastic-java--http-kafka--2df30474
raw statuses
baggage=propagatedtracestate=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-77d20be9,team=alpha
ot-baggage-routing-key rk-77d20be9
traceparent 00-084568da627412799318200c9391bca7-3e8e397ef8544954-01
tracestate cptest=v1
x-cp-canary elastic-java--http-rabbitmq--73433cd1

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

baggage routing-key=rk-77d20be9,team=alpha
elastic-apm-traceparent 00-084568da627412799318200c9391bca7-a2974d05a46df248-01
traceparent 00-084568da627412799318200c9391bca7-a2974d05a46df248-01
tracestate cptest=v1
test id
elastic-java--http-rabbitmq--73433cd1
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent
gRPC HTTP baggage tracestate traceparent ot-baggage delivered via http

Seeded on the inbound gRPC metadata

baggage routing-key=rk-561bf2c4,team=alpha
ot-baggage-routing-key rk-561bf2c4
traceparent 00-b406c4a372866d592bd12856a97b4fe7-f95ca0663560be2d-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-http--b40f8e1f

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-561bf2c4,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-b406c4a372866d592bd12856a97b4fe7-0c1594a5017e24ed-01
traceparent 00-b406c4a372866d592bd12856a97b4fe7-0c1594a5017e24ed-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--grpc-http--b40f8e1f
raw statuses
baggage=propagatedtracestate=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-657bc654,team=alpha
ot-baggage-routing-key rk-657bc654
traceparent 00-08a768fd33ae605fdbb9712177ecb1c2-0621084838dec542-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-grpc--5347a0fe

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-657bc654,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-08a768fd33ae605fdbb9712177ecb1c2-1895c7401e8f4f12-01
grpc-accept-encoding gzip
traceparent 00-08a768fd33ae605fdbb9712177ecb1c2-1895c7401e8f4f12-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--grpc-grpc--5347a0fe
raw statuses
baggage=propagatedtracestate=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-c5c3d169,team=alpha
ot-baggage-routing-key rk-c5c3d169
traceparent 00-e62c6a5fd3b869c3ee77f3fb0f85ec83-0267e8d2446f9ae0-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-kafka--69278eb3

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-c5c3d169,team=alpha
elasticapmtraceparent base64:AADmLGpf07hpw+538/sPheyDASv6iBw2XEN1AgE=
traceparent 00-e62c6a5fd3b869c3ee77f3fb0f85ec83-2bfa881c365c4375-01
tracestate cptest=v1
test id
elastic-java--grpc-kafka--69278eb3
raw statuses
baggage=propagatedtracestate=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-3f6cce03,team=alpha
ot-baggage-routing-key rk-3f6cce03
traceparent 00-2df255b7fa2b087291b4800238220995-b8533e3997700ef1-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-rabbitmq--da73ac7c

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

baggage routing-key=rk-3f6cce03,team=alpha
elastic-apm-traceparent 00-2df255b7fa2b087291b4800238220995-f37accc50e8a8946-01
traceparent 00-2df255b7fa2b087291b4800238220995-f37accc50e8a8946-01
tracestate cptest=v1
test id
elastic-java--grpc-rabbitmq--da73ac7c
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent
Kafka HTTP baggage tracestate traceparent ot-baggage delivered via http

Seeded on the inbound Kafka record headers

baggage routing-key=rk-ac2b2e74,team=alpha
ot-baggage-routing-key rk-ac2b2e74
traceparent 00-3bbef69df954b77868a6afbda3cf61bd-86d74503558236cb-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-http--9c8af29e

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-ac2b2e74,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-3bbef69df954b77868a6afbda3cf61bd-d8ca5bdd607322d0-01
traceparent 00-3bbef69df954b77868a6afbda3cf61bd-d8ca5bdd607322d0-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--kafka-http--9c8af29e
raw statuses
baggage=propagatedtracestate=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-a7b6a4a0,team=alpha
ot-baggage-routing-key rk-a7b6a4a0
traceparent 00-05f947b4339ea794be0e8a42d1327b38-564165469d111a30-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-grpc--b06febf9

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-a7b6a4a0,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-05f947b4339ea794be0e8a42d1327b38-153ecc32fd418654-01
grpc-accept-encoding gzip
traceparent 00-05f947b4339ea794be0e8a42d1327b38-153ecc32fd418654-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--kafka-grpc--b06febf9
raw statuses
baggage=propagatedtracestate=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-75126969,team=alpha
ot-baggage-routing-key rk-75126969
traceparent 00-12b6f5aff55d763f1c812c227cfd983c-7c6c5415598a4b37-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-kafka--9df6d0b4

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-75126969,team=alpha
elasticapmtraceparent base64:AAAStvWv9V12PxyBLCJ8/Zg8ASpn6joCjdczAgE=
traceparent 00-12b6f5aff55d763f1c812c227cfd983c-2a67ea3a028dd733-01
tracestate cptest=v1
test id
elastic-java--kafka-kafka--9df6d0b4
raw statuses
baggage=propagatedtracestate=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-997eedf5,team=alpha
ot-baggage-routing-key rk-997eedf5
traceparent 00-334f3f81d521f4f26d1a9253cfd07220-0cd390b35b2bc4c6-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-rabbitmq--6ec264e8

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

baggage routing-key=rk-997eedf5,team=alpha
elastic-apm-traceparent 00-334f3f81d521f4f26d1a9253cfd07220-9ee91be5c44f73fd-01
traceparent 00-334f3f81d521f4f26d1a9253cfd07220-9ee91be5c44f73fd-01
tracestate cptest=v1
test id
elastic-java--kafka-rabbitmq--6ec264e8
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_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-7fbcedb3,team=alpha
ot-baggage-routing-key rk-7fbcedb3
traceparent 00-2b089d14abf187f83ab094f83e63d966-b8086637c34103eb-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-http--66343b03

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-7fbcedb3,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-2b089d14abf187f83ab094f83e63d966-eb958dc9b53b2046-01
traceparent 00-2b089d14abf187f83ab094f83e63d966-eb958dc9b53b2046-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--rabbitmq-http--66343b03
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_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-2035e3d5,team=alpha
ot-baggage-routing-key rk-2035e3d5
traceparent 00-dbf415147606382e750ec86277e46a96-944847a79faf2821-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-grpc--59abcc17

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-2035e3d5,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-dbf415147606382e750ec86277e46a96-fd228154fc703dfe-01
grpc-accept-encoding gzip
traceparent 00-dbf415147606382e750ec86277e46a96-fd228154fc703dfe-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--rabbitmq-grpc--59abcc17
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_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-45f2e30e,team=alpha
ot-baggage-routing-key rk-45f2e30e
traceparent 00-3bfca0742eca8a63af2966b63a8f09f8-c4ba3b5608662205-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-kafka--64a6984e

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-45f2e30e,team=alpha
elasticapmtraceparent base64:AAA7/KB0LsqKY68pZrY6jwn4AUr8flvwdDMlAgE=
traceparent 00-3bfca0742eca8a63af2966b63a8f09f8-4afc7e5bf0743325-01
tracestate cptest=v1
test id
elastic-java--rabbitmq-kafka--64a6984e
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_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-298c7734,team=alpha
ot-baggage-routing-key rk-298c7734
traceparent 00-998eb73cd999faa2d8890dc127a6ed38-c20da88ab0fdc45d-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-rabbitmq--777c3526

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

baggage routing-key=rk-298c7734,team=alpha
elastic-apm-traceparent 00-998eb73cd999faa2d8890dc127a6ed38-6214e2e9a1f8fb6f-01
traceparent 00-998eb73cd999faa2d8890dc127a6ed38-6214e2e9a1f8fb6f-01
tracestate cptest=v1
test id
elastic-java--rabbitmq-rabbitmq--777c3526
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent

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