elastic-java

Java zero-code elastic-apm-agent1.55.2

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.55.2 1.55.2 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
1 Nov 2026, 05:32 UTC
Harness
e793604 · measured in backtest-elastic-java-1.55.2
Raw JSON
1.55.2.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-40d7687c,team=alpha
ot-baggage-routing-key rk-40d7687c
traceparent 00-41c1659ea7591e5924bc7e359600e3d5-d222a4d97fa3739f-01
tracestate cptest=v1
x-cp-canary elastic-java--http-http--7881e9ab

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-40d7687c,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-41c1659ea7591e5924bc7e359600e3d5-07e381114bec0fd5-01
traceparent 00-41c1659ea7591e5924bc7e359600e3d5-07e381114bec0fd5-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--http-http--7881e9ab
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-c9c39b37,team=alpha
ot-baggage-routing-key rk-c9c39b37
traceparent 00-a25b764b5f0eb8cf92fa179f783cf60f-5be5ab9846fc7e07-01
tracestate cptest=v1
x-cp-canary elastic-java--http-grpc--5703e44d

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-c9c39b37,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-a25b764b5f0eb8cf92fa179f783cf60f-9af2e259e5a0639d-01
grpc-accept-encoding gzip
traceparent 00-a25b764b5f0eb8cf92fa179f783cf60f-9af2e259e5a0639d-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--http-grpc--5703e44d
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-41b5a788,team=alpha
ot-baggage-routing-key rk-41b5a788
traceparent 00-633bb21e607decebbc098834464a9dc4-db5bedc312e7f05f-01
tracestate cptest=v1
x-cp-canary elastic-java--http-kafka--9e3f3807

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-41b5a788,team=alpha
elasticapmtraceparent base64:AABjO7IeYH3s67wJiDRGSp3EAWGTINUQyNXOAgE=
traceparent 00-633bb21e607decebbc098834464a9dc4-619320d510c8d5ce-01
tracestate cptest=v1
test id
elastic-java--http-kafka--9e3f3807
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-cfa8dd79,team=alpha
ot-baggage-routing-key rk-cfa8dd79
traceparent 00-fba2ecee8ec1784bd6ba69b27e1f4369-1e2509db94473cbc-01
tracestate cptest=v1
x-cp-canary elastic-java--http-rabbitmq--560b4734

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

baggage routing-key=rk-cfa8dd79,team=alpha
elastic-apm-traceparent 00-fba2ecee8ec1784bd6ba69b27e1f4369-883b19761cb63e6a-01
traceparent 00-fba2ecee8ec1784bd6ba69b27e1f4369-883b19761cb63e6a-01
tracestate cptest=v1
test id
elastic-java--http-rabbitmq--560b4734
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-e292cbe2,team=alpha
ot-baggage-routing-key rk-e292cbe2
traceparent 00-54e981c1b235d38e0eabfc5e6e5789e1-ebf3d51bfeeeefd6-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-http--2e1c288b

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-e292cbe2,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-54e981c1b235d38e0eabfc5e6e5789e1-09f8a1a6088158f1-01
traceparent 00-54e981c1b235d38e0eabfc5e6e5789e1-09f8a1a6088158f1-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--grpc-http--2e1c288b
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-4a77bf0d,team=alpha
ot-baggage-routing-key rk-4a77bf0d
traceparent 00-fbacca587c28f2675cf37bded6ba1386-66c50286429c5dac-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-grpc--a4787ffb

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-4a77bf0d,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-fbacca587c28f2675cf37bded6ba1386-b96ccfe165cdab0f-01
grpc-accept-encoding gzip
traceparent 00-fbacca587c28f2675cf37bded6ba1386-b96ccfe165cdab0f-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--grpc-grpc--a4787ffb
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-9c03aee1,team=alpha
ot-baggage-routing-key rk-9c03aee1
traceparent 00-59f351d054a49dbd103b5daf4597ddfb-9faa6215579f0dba-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-kafka--29251553

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-9c03aee1,team=alpha
elasticapmtraceparent base64:AABZ81HQVKSdvRA7Xa9Fl937ATDx91LJz22wAgE=
traceparent 00-59f351d054a49dbd103b5daf4597ddfb-30f1f752c9cf6db0-01
tracestate cptest=v1
test id
elastic-java--grpc-kafka--29251553
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-8c534f06,team=alpha
ot-baggage-routing-key rk-8c534f06
traceparent 00-6367314a13c4363667085a03a227a4a4-084d941bb435b607-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-rabbitmq--ec1c3f99

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

baggage routing-key=rk-8c534f06,team=alpha
elastic-apm-traceparent 00-6367314a13c4363667085a03a227a4a4-8c14242fcaec44f0-01
traceparent 00-6367314a13c4363667085a03a227a4a4-8c14242fcaec44f0-01
tracestate cptest=v1
test id
elastic-java--grpc-rabbitmq--ec1c3f99
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-ecf0bf5c,team=alpha
ot-baggage-routing-key rk-ecf0bf5c
traceparent 00-96afdab24c6de5a8e3b819a8da813578-8d1a20c9062f3519-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-http--96ecfefc

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-ecf0bf5c,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-96afdab24c6de5a8e3b819a8da813578-81e72bb45867de39-01
traceparent 00-96afdab24c6de5a8e3b819a8da813578-81e72bb45867de39-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--kafka-http--96ecfefc
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-10ac9dab,team=alpha
ot-baggage-routing-key rk-10ac9dab
traceparent 00-bbcd4ef0297399351be16e2b4da3487f-34b4e4791330e3b8-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-grpc--99bc5b51

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-10ac9dab,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-bbcd4ef0297399351be16e2b4da3487f-d347a22d761aea8a-01
grpc-accept-encoding gzip
traceparent 00-bbcd4ef0297399351be16e2b4da3487f-d347a22d761aea8a-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--kafka-grpc--99bc5b51
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-cae8cb99,team=alpha
ot-baggage-routing-key rk-cae8cb99
traceparent 00-2b34684ae696cc07e4e79b5ae942e01f-46ca11b7d4234d6c-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-kafka--235d1242

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-cae8cb99,team=alpha
elasticapmtraceparent base64:AAArNGhK5pbMB+Tnm1rpQuAfATwcJc6Pci4uAgE=
traceparent 00-2b34684ae696cc07e4e79b5ae942e01f-3c1c25ce8f722e2e-01
tracestate cptest=v1
test id
elastic-java--kafka-kafka--235d1242
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-51603e44,team=alpha
ot-baggage-routing-key rk-51603e44
traceparent 00-7e4253608f385cf23a7199aeb45c557a-d3fa8350c6f67587-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-rabbitmq--1354dabd

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

baggage routing-key=rk-51603e44,team=alpha
elastic-apm-traceparent 00-7e4253608f385cf23a7199aeb45c557a-1531ad0d8374bf5a-01
traceparent 00-7e4253608f385cf23a7199aeb45c557a-1531ad0d8374bf5a-01
tracestate cptest=v1
test id
elastic-java--kafka-rabbitmq--1354dabd
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-9d80ace9,team=alpha
ot-baggage-routing-key rk-9d80ace9
traceparent 00-7d7eaade583b21dc16da4d802ed3c7c3-f8b8f6982c0876fa-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-http--eb295980

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-9d80ace9,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-7d7eaade583b21dc16da4d802ed3c7c3-e426631064a5cba3-01
traceparent 00-7d7eaade583b21dc16da4d802ed3c7c3-e426631064a5cba3-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--rabbitmq-http--eb295980
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-5d127d77,team=alpha
ot-baggage-routing-key rk-5d127d77
traceparent 00-fbbfb88b5ff050eb9624b46e221ca8b9-a944246e4f2b34e7-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-grpc--f7a297d6

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-5d127d77,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-fbbfb88b5ff050eb9624b46e221ca8b9-441afeb84d85618b-01
grpc-accept-encoding gzip
traceparent 00-fbbfb88b5ff050eb9624b46e221ca8b9-441afeb84d85618b-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--rabbitmq-grpc--f7a297d6
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-9d3d2268,team=alpha
ot-baggage-routing-key rk-9d3d2268
traceparent 00-694d4928f2fc22a1d156bd607447d51f-8cecd0100b388d1c-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-kafka--46a6902f

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-9d3d2268,team=alpha
elasticapmtraceparent base64:AABpTUko8vwiodFWvWB0R9UfAQ6cMDm9kFwzAgE=
traceparent 00-694d4928f2fc22a1d156bd607447d51f-0e9c3039bd905c33-01
tracestate cptest=v1
test id
elastic-java--rabbitmq-kafka--46a6902f
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-edc7ad79,team=alpha
ot-baggage-routing-key rk-edc7ad79
traceparent 00-73d2aae06358fbf74c05ec1e9bd35ddd-8a1eedd8ae9633c2-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-rabbitmq--b59a2ecf

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

baggage routing-key=rk-edc7ad79,team=alpha
elastic-apm-traceparent 00-73d2aae06358fbf74c05ec1e9bd35ddd-6783e475695e539e-01
traceparent 00-73d2aae06358fbf74c05ec1e9bd35ddd-6783e475695e539e-01
tracestate cptest=v1
test id
elastic-java--rabbitmq-rabbitmq--b59a2ecf
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent

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