elastic-java

Java zero-code elastic-apm-agent1.55.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.55.0 1.55.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, 19:48 UTC
Harness
9b99070 · measured in backtest-elastic-java-1.55.0
Raw JSON
1.55.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-95c77a7b,team=alpha
ot-baggage-routing-key rk-95c77a7b
traceparent 00-600496e2106ed7fc79f38982e331f1a9-d25c568ec0465067-01
tracestate cptest=v1
x-cp-canary elastic-java--http-http--a00db51c

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-95c77a7b,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-600496e2106ed7fc79f38982e331f1a9-bdc83555f151ee6f-01
traceparent 00-600496e2106ed7fc79f38982e331f1a9-bdc83555f151ee6f-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--http-http--a00db51c
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-5150d53b,team=alpha
ot-baggage-routing-key rk-5150d53b
traceparent 00-102bce2a5b44325627e2b8c594481e27-857bf2e986e1d684-01
tracestate cptest=v1
x-cp-canary elastic-java--http-grpc--2105aa3c

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-5150d53b,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-102bce2a5b44325627e2b8c594481e27-7e4e1222b1867ec9-01
grpc-accept-encoding gzip
traceparent 00-102bce2a5b44325627e2b8c594481e27-7e4e1222b1867ec9-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--http-grpc--2105aa3c
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-58c93a29,team=alpha
ot-baggage-routing-key rk-58c93a29
traceparent 00-61e31a9111924cfb376d75cfed63fb5f-88db4c3fa3ebeca8-01
tracestate cptest=v1
x-cp-canary elastic-java--http-kafka--d79f5274

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-58c93a29,team=alpha
elasticapmtraceparent base64:AABh4xqREZJM+zdtdc/tY/tfAb3JCNrhszx6AgE=
traceparent 00-61e31a9111924cfb376d75cfed63fb5f-bdc908dae1b33c7a-01
tracestate cptest=v1
test id
elastic-java--http-kafka--d79f5274
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-fbc930fc,team=alpha
ot-baggage-routing-key rk-fbc930fc
traceparent 00-615cad180d90adb7c2dd593b02cb2b48-68470903770ef209-01
tracestate cptest=v1
x-cp-canary elastic-java--http-rabbitmq--8405f1cf

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

baggage routing-key=rk-fbc930fc,team=alpha
elastic-apm-traceparent 00-615cad180d90adb7c2dd593b02cb2b48-6ef0f5d106d4d45f-01
traceparent 00-615cad180d90adb7c2dd593b02cb2b48-6ef0f5d106d4d45f-01
tracestate cptest=v1
test id
elastic-java--http-rabbitmq--8405f1cf
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-91973888,team=alpha
ot-baggage-routing-key rk-91973888
traceparent 00-189a2e666004a0f62bb67fcd2baaf6ac-488b68e1376a5c67-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-http--52609a71

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-91973888,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-189a2e666004a0f62bb67fcd2baaf6ac-33490017f7bfdbe1-01
traceparent 00-189a2e666004a0f62bb67fcd2baaf6ac-33490017f7bfdbe1-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--grpc-http--52609a71
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-5b48d4bd,team=alpha
ot-baggage-routing-key rk-5b48d4bd
traceparent 00-759a83c4b7accb4ccdf9f36c0f3fa72c-a9ce7de8645882ff-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-grpc--b6d8e613

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-5b48d4bd,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-759a83c4b7accb4ccdf9f36c0f3fa72c-d6b7120d5a2c9c94-01
grpc-accept-encoding gzip
traceparent 00-759a83c4b7accb4ccdf9f36c0f3fa72c-d6b7120d5a2c9c94-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--grpc-grpc--b6d8e613
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-e4252ece,team=alpha
ot-baggage-routing-key rk-e4252ece
traceparent 00-d556814a6c4c917a0b009c2ee2e994c5-7630f361824588b7-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-kafka--bce95583

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-e4252ece,team=alpha
elasticapmtraceparent base64:AADVVoFKbEyRegsAnC7i6ZTFAS5cR5cw33/BAgE=
traceparent 00-d556814a6c4c917a0b009c2ee2e994c5-2e5c479730df7fc1-01
tracestate cptest=v1
test id
elastic-java--grpc-kafka--bce95583
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-7c2bcb15,team=alpha
ot-baggage-routing-key rk-7c2bcb15
traceparent 00-869007eb1c35f12dc97252a3d4e23bbe-9dc6217987c1b322-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-rabbitmq--049f03ad

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

baggage routing-key=rk-7c2bcb15,team=alpha
elastic-apm-traceparent 00-869007eb1c35f12dc97252a3d4e23bbe-83300111a12e6242-01
traceparent 00-869007eb1c35f12dc97252a3d4e23bbe-83300111a12e6242-01
tracestate cptest=v1
test id
elastic-java--grpc-rabbitmq--049f03ad
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-86a14f47,team=alpha
ot-baggage-routing-key rk-86a14f47
traceparent 00-bc50a0074f825cc59e7c12d5c99d6176-ace04ed4d801c664-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-http--bf55d2ba

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-86a14f47,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-bc50a0074f825cc59e7c12d5c99d6176-36dc7f715f792c38-01
traceparent 00-bc50a0074f825cc59e7c12d5c99d6176-36dc7f715f792c38-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--kafka-http--bf55d2ba
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-66b264a5,team=alpha
ot-baggage-routing-key rk-66b264a5
traceparent 00-bdf594ff68e65e131e1c8839785b7349-d6904c2ca50bb270-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-grpc--00ae2948

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-66b264a5,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-bdf594ff68e65e131e1c8839785b7349-a5956e40891ae88c-01
grpc-accept-encoding gzip
traceparent 00-bdf594ff68e65e131e1c8839785b7349-a5956e40891ae88c-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--kafka-grpc--00ae2948
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-9c156e39,team=alpha
ot-baggage-routing-key rk-9c156e39
traceparent 00-bad2acb666b0bf898b58bb2ec8aee71a-9350a3b254cca691-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-kafka--e69816b8

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-9c156e39,team=alpha
elasticapmtraceparent base64:AAC60qy2ZrC/iYtYuy7IrucaAV8qtj/oSKp/AgE=
traceparent 00-bad2acb666b0bf898b58bb2ec8aee71a-5f2ab63fe848aa7f-01
tracestate cptest=v1
test id
elastic-java--kafka-kafka--e69816b8
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-2317323d,team=alpha
ot-baggage-routing-key rk-2317323d
traceparent 00-71ead8c89b6b4d5eb632343f849b56ef-7f7e5cfd23b06075-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-rabbitmq--986d2986

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

baggage routing-key=rk-2317323d,team=alpha
elastic-apm-traceparent 00-71ead8c89b6b4d5eb632343f849b56ef-3c1e04cb1edf5792-01
traceparent 00-71ead8c89b6b4d5eb632343f849b56ef-3c1e04cb1edf5792-01
tracestate cptest=v1
test id
elastic-java--kafka-rabbitmq--986d2986
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-061effbd,team=alpha
ot-baggage-routing-key rk-061effbd
traceparent 00-018f2321eaa1077c0afac611ea05c6d1-9e7a932ea6935fcd-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-http--79cd14e0

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-061effbd,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-018f2321eaa1077c0afac611ea05c6d1-362dceb66110fef3-01
traceparent 00-018f2321eaa1077c0afac611ea05c6d1-362dceb66110fef3-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--rabbitmq-http--79cd14e0
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-4036b52c,team=alpha
ot-baggage-routing-key rk-4036b52c
traceparent 00-d138877fffb0649bf80beec7c5d10fe2-62db04517ec44a44-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-grpc--83b9591a

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-4036b52c,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-d138877fffb0649bf80beec7c5d10fe2-8af76130be91a62d-01
grpc-accept-encoding gzip
traceparent 00-d138877fffb0649bf80beec7c5d10fe2-8af76130be91a62d-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--rabbitmq-grpc--83b9591a
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-e71e4ee7,team=alpha
ot-baggage-routing-key rk-e71e4ee7
traceparent 00-d78e28c574c42d77b480c0636feb2ffc-3098555d20243c54-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-kafka--85b077f8

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-e71e4ee7,team=alpha
elasticapmtraceparent base64:AADXjijFdMQtd7SAwGNv6y/8AbhdBRB6uulUAgE=
traceparent 00-d78e28c574c42d77b480c0636feb2ffc-b85d05107abae954-01
tracestate cptest=v1
test id
elastic-java--rabbitmq-kafka--85b077f8
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-cb98b05c,team=alpha
ot-baggage-routing-key rk-cb98b05c
traceparent 00-b02e5690f56d0c1118759f7fcc034b4b-cf08514aab74b52b-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-rabbitmq--591f7419

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

baggage routing-key=rk-cb98b05c,team=alpha
elastic-apm-traceparent 00-b02e5690f56d0c1118759f7fcc034b4b-a1d83228fd20ef40-01
traceparent 00-b02e5690f56d0c1118759f7fcc034b4b-a1d83228fd20ef40-01
tracestate cptest=v1
test id
elastic-java--rabbitmq-rabbitmq--591f7419
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent

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