elastic-java

Java zero-code elastic-apm-agent1.55.6

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.6 1.55.6 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:25 UTC
Harness
e793604 · measured in backtest-elastic-java-1.55.6
Raw JSON
1.55.6.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-ae364f2a,team=alpha
ot-baggage-routing-key rk-ae364f2a
traceparent 00-5f3994747c7ddc8876d26cbfbc571da2-35d03567016639b1-01
tracestate cptest=v1
x-cp-canary elastic-java--http-http--c0df72d5

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-ae364f2a,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-5f3994747c7ddc8876d26cbfbc571da2-82d2a34b53292707-01
traceparent 00-5f3994747c7ddc8876d26cbfbc571da2-82d2a34b53292707-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--http-http--c0df72d5
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-91567061,team=alpha
ot-baggage-routing-key rk-91567061
traceparent 00-0c09b10e1abc20abdd6e34a1a2681fc4-29c3e352fd419be2-01
tracestate cptest=v1
x-cp-canary elastic-java--http-grpc--6d25e9ce

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-91567061,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-0c09b10e1abc20abdd6e34a1a2681fc4-837560cf285ab9ff-01
grpc-accept-encoding gzip
traceparent 00-0c09b10e1abc20abdd6e34a1a2681fc4-837560cf285ab9ff-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--http-grpc--6d25e9ce
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-56b59631,team=alpha
ot-baggage-routing-key rk-56b59631
traceparent 00-0cbe19317c6217500ed7006206092d00-3aa75fecd82f3903-01
tracestate cptest=v1
x-cp-canary elastic-java--http-kafka--40f9e136

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-56b59631,team=alpha
elasticapmtraceparent base64:AAAMvhkxfGIXUA7XAGIGCS0AAVmtdDSUi63AAgE=
traceparent 00-0cbe19317c6217500ed7006206092d00-59ad7434948badc0-01
tracestate cptest=v1
test id
elastic-java--http-kafka--40f9e136
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-963c03c8,team=alpha
ot-baggage-routing-key rk-963c03c8
traceparent 00-60c72943a15be56606a385dd6f36dac9-489ad17c61758899-01
tracestate cptest=v1
x-cp-canary elastic-java--http-rabbitmq--001f6969

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

baggage routing-key=rk-963c03c8,team=alpha
elastic-apm-traceparent 00-60c72943a15be56606a385dd6f36dac9-a97622049ab5cac5-01
traceparent 00-60c72943a15be56606a385dd6f36dac9-a97622049ab5cac5-01
tracestate cptest=v1
test id
elastic-java--http-rabbitmq--001f6969
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-3bc5b445,team=alpha
ot-baggage-routing-key rk-3bc5b445
traceparent 00-e4378fdcf44c017028aaaa894171ef95-3109dd3dcb7bfe3a-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-http--6516a961

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-3bc5b445,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-e4378fdcf44c017028aaaa894171ef95-ba0851463062e48c-01
traceparent 00-e4378fdcf44c017028aaaa894171ef95-ba0851463062e48c-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--grpc-http--6516a961
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-4597acea,team=alpha
ot-baggage-routing-key rk-4597acea
traceparent 00-60c66f6e31b1985644eb956e8bd30b56-b04b1c1ca9eaab4a-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-grpc--63839bc8

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-4597acea,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-60c66f6e31b1985644eb956e8bd30b56-d0190cfe9ec49dd3-01
grpc-accept-encoding gzip
traceparent 00-60c66f6e31b1985644eb956e8bd30b56-d0190cfe9ec49dd3-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--grpc-grpc--63839bc8
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-bdfd2daf,team=alpha
ot-baggage-routing-key rk-bdfd2daf
traceparent 00-469f34fe930a4ca3497a45318093367a-6f624497b23a2a96-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-kafka--f28af4c2

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-bdfd2daf,team=alpha
elasticapmtraceparent base64:AABGnzT+kwpMo0l6RTGAkzZ6Aa20/slQsVOOAgE=
traceparent 00-469f34fe930a4ca3497a45318093367a-adb4fec950b1538e-01
tracestate cptest=v1
test id
elastic-java--grpc-kafka--f28af4c2
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-81644049,team=alpha
ot-baggage-routing-key rk-81644049
traceparent 00-2384f3007dd5ea37400491bd890c301e-a4b7ddae317ebd1b-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-rabbitmq--767b2316

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

baggage routing-key=rk-81644049,team=alpha
elastic-apm-traceparent 00-2384f3007dd5ea37400491bd890c301e-315799fba54b11ff-01
traceparent 00-2384f3007dd5ea37400491bd890c301e-315799fba54b11ff-01
tracestate cptest=v1
test id
elastic-java--grpc-rabbitmq--767b2316
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-6a06cce8,team=alpha
ot-baggage-routing-key rk-6a06cce8
traceparent 00-c664f272b1adb38523fa0a794ffac839-2f611c307198134d-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-http--62775bc7

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-6a06cce8,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-c664f272b1adb38523fa0a794ffac839-d80dfc1a98636229-01
traceparent 00-c664f272b1adb38523fa0a794ffac839-d80dfc1a98636229-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--kafka-http--62775bc7
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-925a9881,team=alpha
ot-baggage-routing-key rk-925a9881
traceparent 00-33acbeeceb6876c970824eef1e570b57-259890e3f57e5dd5-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-grpc--6d081974

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-925a9881,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-33acbeeceb6876c970824eef1e570b57-6321716aadadbb4e-01
grpc-accept-encoding gzip
traceparent 00-33acbeeceb6876c970824eef1e570b57-6321716aadadbb4e-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--kafka-grpc--6d081974
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-3b425e88,team=alpha
ot-baggage-routing-key rk-3b425e88
traceparent 00-afa69fe2ec6fa993ca712f75d0e9fbcf-6e055a62f62530cc-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-kafka--667ed62d

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-3b425e88,team=alpha
elasticapmtraceparent base64:AACvpp/i7G+pk8pxL3XQ6fvPAS8C1VUi4a8dAgE=
traceparent 00-afa69fe2ec6fa993ca712f75d0e9fbcf-2f02d55522e1af1d-01
tracestate cptest=v1
test id
elastic-java--kafka-kafka--667ed62d
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-02bbceb2,team=alpha
ot-baggage-routing-key rk-02bbceb2
traceparent 00-eb981e99bf5c39b3c85603365d9c135f-f2aac048d60a5e3c-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-rabbitmq--56c47ca8

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

baggage routing-key=rk-02bbceb2,team=alpha
elastic-apm-traceparent 00-eb981e99bf5c39b3c85603365d9c135f-7cf998feb28856ca-01
traceparent 00-eb981e99bf5c39b3c85603365d9c135f-7cf998feb28856ca-01
tracestate cptest=v1
test id
elastic-java--kafka-rabbitmq--56c47ca8
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-18001215,team=alpha
ot-baggage-routing-key rk-18001215
traceparent 00-8224772c732dc3e29d246cf5d9cff30c-4a37a526d7bb9e33-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-http--815808be

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-18001215,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-8224772c732dc3e29d246cf5d9cff30c-6cbceaa096d36a50-01
traceparent 00-8224772c732dc3e29d246cf5d9cff30c-6cbceaa096d36a50-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--rabbitmq-http--815808be
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-ef37921d,team=alpha
ot-baggage-routing-key rk-ef37921d
traceparent 00-a567db66cda55b0d9aea431a6c089248-e6b8dca92fc5a90f-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-grpc--1abc39c4

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-ef37921d,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-a567db66cda55b0d9aea431a6c089248-dd4eb847d10b8e9a-01
grpc-accept-encoding gzip
traceparent 00-a567db66cda55b0d9aea431a6c089248-dd4eb847d10b8e9a-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--rabbitmq-grpc--1abc39c4
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-316027ca,team=alpha
ot-baggage-routing-key rk-316027ca
traceparent 00-8ea3a3de24ced382a10fa293f6f8349c-9f1e85d5556ad5aa-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-kafka--672e75a4

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-316027ca,team=alpha
elasticapmtraceparent base64:AACOo6PeJM7TgqEPopP2+DScAXsyHmVOc8TkAgE=
traceparent 00-8ea3a3de24ced382a10fa293f6f8349c-7b321e654e73c4e4-01
tracestate cptest=v1
test id
elastic-java--rabbitmq-kafka--672e75a4
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-3235e92e,team=alpha
ot-baggage-routing-key rk-3235e92e
traceparent 00-f1a5dbba12dc1467013896ec9c45299c-d69790072020fad5-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-rabbitmq--3d618819

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

baggage routing-key=rk-3235e92e,team=alpha
elastic-apm-traceparent 00-f1a5dbba12dc1467013896ec9c45299c-9d4926f20a495eca-01
traceparent 00-f1a5dbba12dc1467013896ec9c45299c-9d4926f20a495eca-01
tracestate cptest=v1
test id
elastic-java--rabbitmq-rabbitmq--3d618819
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent

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