elastic-java

Java zero-code elastic-apm-agent1.54.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.54.0 1.54.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:51 UTC
Harness
9b99070 · measured in backtest-elastic-java-1.54.0
Raw JSON
1.54.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-59dcb5fe,team=alpha
ot-baggage-routing-key rk-59dcb5fe
traceparent 00-e9905db0f60d34c7c565c7e9526f7a10-ca16b6c88bbfb582-01
tracestate cptest=v1
x-cp-canary elastic-java--http-http--1de6021d

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-59dcb5fe,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-e9905db0f60d34c7c565c7e9526f7a10-28ffaad952b44039-01
traceparent 00-e9905db0f60d34c7c565c7e9526f7a10-28ffaad952b44039-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--http-http--1de6021d
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-0e65f603,team=alpha
ot-baggage-routing-key rk-0e65f603
traceparent 00-a84c4f120e7cee5d509ad178cb9d446b-f4c91321034b97da-01
tracestate cptest=v1
x-cp-canary elastic-java--http-grpc--dc101e5a

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-0e65f603,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-a84c4f120e7cee5d509ad178cb9d446b-49ecc8dea5e7944f-01
grpc-accept-encoding gzip
traceparent 00-a84c4f120e7cee5d509ad178cb9d446b-49ecc8dea5e7944f-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--http-grpc--dc101e5a
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-c4e0615c,team=alpha
ot-baggage-routing-key rk-c4e0615c
traceparent 00-2672cf686e8e31520e23389c163a4869-f4d9b432482b3ddc-01
tracestate cptest=v1
x-cp-canary elastic-java--http-kafka--64351c26

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-c4e0615c,team=alpha
elasticapmtraceparent base64:AAAmcs9obo4xUg4jOJwWOkhpAVuDPtBe3XUdAgE=
traceparent 00-2672cf686e8e31520e23389c163a4869-5b833ed05edd751d-01
tracestate cptest=v1
test id
elastic-java--http-kafka--64351c26
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-964d1a85,team=alpha
ot-baggage-routing-key rk-964d1a85
traceparent 00-39f02ec49da5675dd0e5e930143c0dc8-4e89ca012b8cc982-01
tracestate cptest=v1
x-cp-canary elastic-java--http-rabbitmq--a2e53e03

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

baggage routing-key=rk-964d1a85,team=alpha
elastic-apm-traceparent 00-39f02ec49da5675dd0e5e930143c0dc8-3d3c51e74897faee-01
traceparent 00-39f02ec49da5675dd0e5e930143c0dc8-3d3c51e74897faee-01
tracestate cptest=v1
test id
elastic-java--http-rabbitmq--a2e53e03
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-0fb95562,team=alpha
ot-baggage-routing-key rk-0fb95562
traceparent 00-a7b142a5897e184accc171f10bdfb3fd-2004f7e061bf866b-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-http--0350bd51

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-0fb95562,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-a7b142a5897e184accc171f10bdfb3fd-a604f55aacff4b1a-01
traceparent 00-a7b142a5897e184accc171f10bdfb3fd-a604f55aacff4b1a-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--grpc-http--0350bd51
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-5e9b3ce7,team=alpha
ot-baggage-routing-key rk-5e9b3ce7
traceparent 00-e5604f66dbecd35118068d3c93748fa9-098b0b7505c43824-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-grpc--debaaad1

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-5e9b3ce7,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-e5604f66dbecd35118068d3c93748fa9-8e202da0e5f81706-01
grpc-accept-encoding gzip
traceparent 00-e5604f66dbecd35118068d3c93748fa9-8e202da0e5f81706-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--grpc-grpc--debaaad1
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-aabfa4fd,team=alpha
ot-baggage-routing-key rk-aabfa4fd
traceparent 00-3d00eda80517521f6f6d64055d8a941c-2c796343dee802cc-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-kafka--87df21ad

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-aabfa4fd,team=alpha
elasticapmtraceparent base64:AAA9AO2oBRdSH29tZAVdipQcAU2ATdCBxTvVAgE=
traceparent 00-3d00eda80517521f6f6d64055d8a941c-4d804dd081c53bd5-01
tracestate cptest=v1
test id
elastic-java--grpc-kafka--87df21ad
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-9f9139d0,team=alpha
ot-baggage-routing-key rk-9f9139d0
traceparent 00-0a0056ab5977a6c8b975eeb4f3860c64-ea41bb5700b0e34c-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-rabbitmq--35395f8e

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

baggage routing-key=rk-9f9139d0,team=alpha
elastic-apm-traceparent 00-0a0056ab5977a6c8b975eeb4f3860c64-22ba4680900044ee-01
traceparent 00-0a0056ab5977a6c8b975eeb4f3860c64-22ba4680900044ee-01
tracestate cptest=v1
test id
elastic-java--grpc-rabbitmq--35395f8e
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-5e3c2260,team=alpha
ot-baggage-routing-key rk-5e3c2260
traceparent 00-c9bdb7a16098c19052d0497d4c980036-82895723c2021ac1-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-http--77f8922f

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-5e3c2260,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-c9bdb7a16098c19052d0497d4c980036-ae1462d63a9b1e00-01
traceparent 00-c9bdb7a16098c19052d0497d4c980036-ae1462d63a9b1e00-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--kafka-http--77f8922f
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-55163ae5,team=alpha
ot-baggage-routing-key rk-55163ae5
traceparent 00-be7d85112d28531b449ef2f15d5ef263-e989c5aa93606db4-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-grpc--c0e82935

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-55163ae5,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-be7d85112d28531b449ef2f15d5ef263-667b1eb7f1091155-01
grpc-accept-encoding gzip
traceparent 00-be7d85112d28531b449ef2f15d5ef263-667b1eb7f1091155-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--kafka-grpc--c0e82935
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-2c501b1f,team=alpha
ot-baggage-routing-key rk-2c501b1f
traceparent 00-bc1895e646a7ad1577d03586a26dd947-2abe0391ba601805-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-kafka--6e1bd551

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-2c501b1f,team=alpha
elasticapmtraceparent base64:AAC8GJXmRqetFXfQNYaibdlHAW6lG08zXhpdAgE=
traceparent 00-bc1895e646a7ad1577d03586a26dd947-6ea51b4f335e1a5d-01
tracestate cptest=v1
test id
elastic-java--kafka-kafka--6e1bd551
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-8fb9629f,team=alpha
ot-baggage-routing-key rk-8fb9629f
traceparent 00-70d445db19337899215119dc07b9fe15-5ba275902c470898-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-rabbitmq--4f203f5d

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

baggage routing-key=rk-8fb9629f,team=alpha
elastic-apm-traceparent 00-70d445db19337899215119dc07b9fe15-d34639e8d3ab8d4c-01
traceparent 00-70d445db19337899215119dc07b9fe15-d34639e8d3ab8d4c-01
tracestate cptest=v1
test id
elastic-java--kafka-rabbitmq--4f203f5d
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-636eea37,team=alpha
ot-baggage-routing-key rk-636eea37
traceparent 00-d549b3e471e53fcb58217b940759ef91-7ee5f099f9689888-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-http--90a1cf94

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-636eea37,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-d549b3e471e53fcb58217b940759ef91-d102eabfd21ed36d-01
traceparent 00-d549b3e471e53fcb58217b940759ef91-d102eabfd21ed36d-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--rabbitmq-http--90a1cf94
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-4bc9f58f,team=alpha
ot-baggage-routing-key rk-4bc9f58f
traceparent 00-7dea37317550a2d47624733ad5c5c769-3af822e29820bd05-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-grpc--7da776ca

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-4bc9f58f,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-7dea37317550a2d47624733ad5c5c769-f2dd1ce130a790d7-01
grpc-accept-encoding gzip
traceparent 00-7dea37317550a2d47624733ad5c5c769-f2dd1ce130a790d7-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--rabbitmq-grpc--7da776ca
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-bba58f1f,team=alpha
ot-baggage-routing-key rk-bba58f1f
traceparent 00-9e179b913858f9a7984e64a3ee26564b-9b64f9cd6b2a8124-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-kafka--38d6bd43

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-bba58f1f,team=alpha
elasticapmtraceparent base64:AACeF5uROFj5p5hOZKPuJlZLAXf02Jy96vOrAgE=
traceparent 00-9e179b913858f9a7984e64a3ee26564b-77f4d89cbdeaf3ab-01
tracestate cptest=v1
test id
elastic-java--rabbitmq-kafka--38d6bd43
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-62cad05b,team=alpha
ot-baggage-routing-key rk-62cad05b
traceparent 00-e3f06d6953138bd4245a4d2eede1263e-f56f1b0245263752-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-rabbitmq--8b977687

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

baggage routing-key=rk-62cad05b,team=alpha
elastic-apm-traceparent 00-e3f06d6953138bd4245a4d2eede1263e-9a9c7d893e33ea1a-01
traceparent 00-e3f06d6953138bd4245a4d2eede1263e-9a9c7d893e33ea1a-01
tracestate cptest=v1
test id
elastic-java--rabbitmq-rabbitmq--8b977687
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent

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