elastic-java

Java zero-code elastic-apm-agent1.52.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.52.2 1.52.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
9 Nov 2026, 19:59 UTC
Harness
9b99070 · measured in backtest-elastic-java-1.52.2
Raw JSON
1.52.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-77ccec38,team=alpha
ot-baggage-routing-key rk-77ccec38
traceparent 00-0b73f455f2955a0eca5c15d697503dc8-bdb750486aab7ce9-01
tracestate cptest=v1
x-cp-canary elastic-java--http-http--71f16bee

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-77ccec38,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-0b73f455f2955a0eca5c15d697503dc8-d9c8b5acab18da2e-01
traceparent 00-0b73f455f2955a0eca5c15d697503dc8-d9c8b5acab18da2e-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--http-http--71f16bee
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-cd3ef12b,team=alpha
ot-baggage-routing-key rk-cd3ef12b
traceparent 00-a78a807b26f55d9b72ffc094c7c0bcd8-59ff7c4f0fa12ce3-01
tracestate cptest=v1
x-cp-canary elastic-java--http-grpc--13bef049

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-cd3ef12b,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-a78a807b26f55d9b72ffc094c7c0bcd8-47b530307a9e4b5b-01
grpc-accept-encoding gzip
traceparent 00-a78a807b26f55d9b72ffc094c7c0bcd8-47b530307a9e4b5b-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--http-grpc--13bef049
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-fa8bbd6f,team=alpha
ot-baggage-routing-key rk-fa8bbd6f
traceparent 00-64649700730d6fef94cffe5ac10ff163-bc46d5e203ee332e-01
tracestate cptest=v1
x-cp-canary elastic-java--http-kafka--16175e5e

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-fa8bbd6f,team=alpha
elasticapmtraceparent base64:AABkZJcAcw1v75TP/lrBD/FjAVJPoofYT+EDAgE=
traceparent 00-64649700730d6fef94cffe5ac10ff163-524fa287d84fe103-01
tracestate cptest=v1
test id
elastic-java--http-kafka--16175e5e
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-54b5d48f,team=alpha
ot-baggage-routing-key rk-54b5d48f
traceparent 00-bc65eed2ad93501f43e455e41dde76da-492f2938cb9f26ba-01
tracestate cptest=v1
x-cp-canary elastic-java--http-rabbitmq--ef599fdd

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

baggage routing-key=rk-54b5d48f,team=alpha
elastic-apm-traceparent 00-bc65eed2ad93501f43e455e41dde76da-b64e782ce67f3e7a-01
traceparent 00-bc65eed2ad93501f43e455e41dde76da-b64e782ce67f3e7a-01
tracestate cptest=v1
test id
elastic-java--http-rabbitmq--ef599fdd
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-dc057d77,team=alpha
ot-baggage-routing-key rk-dc057d77
traceparent 00-1e1b630337103de33a7b99c8c14c4a76-98950eb10abff7df-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-http--69d0588f

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-dc057d77,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-1e1b630337103de33a7b99c8c14c4a76-1eab7a567f0e8e70-01
traceparent 00-1e1b630337103de33a7b99c8c14c4a76-1eab7a567f0e8e70-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--grpc-http--69d0588f
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-046401ce,team=alpha
ot-baggage-routing-key rk-046401ce
traceparent 00-3a933dee5b54f67ddfb32aff6bcdb429-fc2e1ccb4cf47362-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-grpc--96eeadf0

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-046401ce,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-3a933dee5b54f67ddfb32aff6bcdb429-916feeffaafad9a3-01
grpc-accept-encoding gzip
traceparent 00-3a933dee5b54f67ddfb32aff6bcdb429-916feeffaafad9a3-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--grpc-grpc--96eeadf0
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-27d7e09d,team=alpha
ot-baggage-routing-key rk-27d7e09d
traceparent 00-f6bed1f0fcb8bba9019f1a71ade84031-657e718bb4228099-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-kafka--a9a2971a

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-27d7e09d,team=alpha
elasticapmtraceparent base64:AAD2vtHw/Li7qQGfGnGt6EAxAcI4rjsa1HnYAgE=
traceparent 00-f6bed1f0fcb8bba9019f1a71ade84031-c238ae3b1ad479d8-01
tracestate cptest=v1
test id
elastic-java--grpc-kafka--a9a2971a
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-82de3f00,team=alpha
ot-baggage-routing-key rk-82de3f00
traceparent 00-dadee866c547df4dc1ed3c726b7b96a6-21aa8a65c39b00b6-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-rabbitmq--d8ac923e

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

baggage routing-key=rk-82de3f00,team=alpha
elastic-apm-traceparent 00-dadee866c547df4dc1ed3c726b7b96a6-440207091b42bcf1-01
traceparent 00-dadee866c547df4dc1ed3c726b7b96a6-440207091b42bcf1-01
tracestate cptest=v1
test id
elastic-java--grpc-rabbitmq--d8ac923e
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-e108dae5,team=alpha
ot-baggage-routing-key rk-e108dae5
traceparent 00-20b200988f19c140dafd407e93c3f774-4f3820e08c4d665b-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-http--73a18b02

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-e108dae5,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-20b200988f19c140dafd407e93c3f774-616877c87af5ba40-01
traceparent 00-20b200988f19c140dafd407e93c3f774-616877c87af5ba40-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--kafka-http--73a18b02
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-c6ef56b1,team=alpha
ot-baggage-routing-key rk-c6ef56b1
traceparent 00-9fa3b13f27a56c3232fca8f93e9a4b8a-c2e4326a95046e0d-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-grpc--615ba0cb

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-c6ef56b1,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-9fa3b13f27a56c3232fca8f93e9a4b8a-34c20a39330529f4-01
grpc-accept-encoding gzip
traceparent 00-9fa3b13f27a56c3232fca8f93e9a4b8a-34c20a39330529f4-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--kafka-grpc--615ba0cb
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-e83dbc64,team=alpha
ot-baggage-routing-key rk-e83dbc64
traceparent 00-517451b6e537b562d4711a16ebe7c242-b2ac4c51e692c66c-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-kafka--f126b5ed

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-e83dbc64,team=alpha
elasticapmtraceparent base64:AABRdFG25Te1YtRxGhbr58JCAUQbDPzFt6qHAgE=
traceparent 00-517451b6e537b562d4711a16ebe7c242-441b0cfcc5b7aa87-01
tracestate cptest=v1
test id
elastic-java--kafka-kafka--f126b5ed
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-b461d5df,team=alpha
ot-baggage-routing-key rk-b461d5df
traceparent 00-915abc93cbd494e8fd6aac45c18c5116-c78b85ee32329ff4-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-rabbitmq--3d681749

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

baggage routing-key=rk-b461d5df,team=alpha
elastic-apm-traceparent 00-915abc93cbd494e8fd6aac45c18c5116-c6270b8bf739cee4-01
traceparent 00-915abc93cbd494e8fd6aac45c18c5116-c6270b8bf739cee4-01
tracestate cptest=v1
test id
elastic-java--kafka-rabbitmq--3d681749
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-78e808fa,team=alpha
ot-baggage-routing-key rk-78e808fa
traceparent 00-daf227efa93c7df59defb6c2f66f7048-08984a3bed2b123d-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-http--854be541

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-78e808fa,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-daf227efa93c7df59defb6c2f66f7048-74ec81703a4720ef-01
traceparent 00-daf227efa93c7df59defb6c2f66f7048-74ec81703a4720ef-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--rabbitmq-http--854be541
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-f21cc5a0,team=alpha
ot-baggage-routing-key rk-f21cc5a0
traceparent 00-ac1bbd9cba81d90ea0daf4b130a1974c-800ae9b7f0caf68c-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-grpc--fae34dd0

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-f21cc5a0,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-ac1bbd9cba81d90ea0daf4b130a1974c-a8415496e8d8ab43-01
grpc-accept-encoding gzip
traceparent 00-ac1bbd9cba81d90ea0daf4b130a1974c-a8415496e8d8ab43-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--rabbitmq-grpc--fae34dd0
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-2417b088,team=alpha
ot-baggage-routing-key rk-2417b088
traceparent 00-4f986d1df50fd355fecd1843c61b8e30-6519b289aeed2916-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-kafka--f989272c

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-2417b088,team=alpha
elasticapmtraceparent base64:AABPmG0d9Q/TVf7NGEPGG44wAWcztC74k7XRAgE=
traceparent 00-4f986d1df50fd355fecd1843c61b8e30-6733b42ef893b5d1-01
tracestate cptest=v1
test id
elastic-java--rabbitmq-kafka--f989272c
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-8b58f399,team=alpha
ot-baggage-routing-key rk-8b58f399
traceparent 00-6fbc3b6fb0020291e3e1e435612418ad-e93646fb9d048071-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-rabbitmq--881bf1aa

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

baggage routing-key=rk-8b58f399,team=alpha
elastic-apm-traceparent 00-6fbc3b6fb0020291e3e1e435612418ad-2d43f3d08f6a7c32-01
traceparent 00-6fbc3b6fb0020291e3e1e435612418ad-2d43f3d08f6a7c32-01
tracestate cptest=v1
test id
elastic-java--rabbitmq-rabbitmq--881bf1aa
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent

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