elastic-java

Java zero-code elastic-apm-agent1.55.1

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.1 1.55.1 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:45 UTC
Harness
9b99070 · measured in backtest-elastic-java-1.55.1
Raw JSON
1.55.1.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-27ec80ca,team=alpha
ot-baggage-routing-key rk-27ec80ca
traceparent 00-cd496c23f1ac70955430af226ab4ba6e-96bbd08b415713e7-01
tracestate cptest=v1
x-cp-canary elastic-java--http-http--8eff0a84

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-27ec80ca,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-cd496c23f1ac70955430af226ab4ba6e-1c1314872499445e-01
traceparent 00-cd496c23f1ac70955430af226ab4ba6e-1c1314872499445e-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--http-http--8eff0a84
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-6f7ffa22,team=alpha
ot-baggage-routing-key rk-6f7ffa22
traceparent 00-b3a15bdd43a8e34b52a076497e5962b8-cda6f3d1beb432a0-01
tracestate cptest=v1
x-cp-canary elastic-java--http-grpc--97517738

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-6f7ffa22,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-b3a15bdd43a8e34b52a076497e5962b8-8b704b2eeb1389da-01
grpc-accept-encoding gzip
traceparent 00-b3a15bdd43a8e34b52a076497e5962b8-8b704b2eeb1389da-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--http-grpc--97517738
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-52797452,team=alpha
ot-baggage-routing-key rk-52797452
traceparent 00-ef3a4755e08ad8cf5d7ca1327e872484-98ecb592f128e865-01
tracestate cptest=v1
x-cp-canary elastic-java--http-kafka--52819a73

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-52797452,team=alpha
elasticapmtraceparent base64:AADvOkdV4IrYz118oTJ+hySEAb9LCkg40hYqAgE=
traceparent 00-ef3a4755e08ad8cf5d7ca1327e872484-bf4b0a4838d2162a-01
tracestate cptest=v1
test id
elastic-java--http-kafka--52819a73
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-227e121e,team=alpha
ot-baggage-routing-key rk-227e121e
traceparent 00-8462626e51b24ea59e9d235888e86e6a-07eabcb457cc790b-01
tracestate cptest=v1
x-cp-canary elastic-java--http-rabbitmq--e0d53445

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

baggage routing-key=rk-227e121e,team=alpha
elastic-apm-traceparent 00-8462626e51b24ea59e9d235888e86e6a-a672e2e4808d4ad2-01
traceparent 00-8462626e51b24ea59e9d235888e86e6a-a672e2e4808d4ad2-01
tracestate cptest=v1
test id
elastic-java--http-rabbitmq--e0d53445
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-e278b397,team=alpha
ot-baggage-routing-key rk-e278b397
traceparent 00-dbad98b6a2821a41b0e45413e4ec0ef2-efe77b404855dade-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-http--d3ff1047

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-e278b397,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-dbad98b6a2821a41b0e45413e4ec0ef2-3f819fe7fba88889-01
traceparent 00-dbad98b6a2821a41b0e45413e4ec0ef2-3f819fe7fba88889-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--grpc-http--d3ff1047
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-16487607,team=alpha
ot-baggage-routing-key rk-16487607
traceparent 00-8e9cc0e64744ef02df9343e267d1352c-1bfd6056b3c47b32-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-grpc--da3c8338

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-16487607,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-8e9cc0e64744ef02df9343e267d1352c-a4f4ee11d12b5869-01
grpc-accept-encoding gzip
traceparent 00-8e9cc0e64744ef02df9343e267d1352c-a4f4ee11d12b5869-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--grpc-grpc--da3c8338
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-4506ff0c,team=alpha
ot-baggage-routing-key rk-4506ff0c
traceparent 00-f85ebca3628b374a79df5731f5ea2abd-2430755336d1a861-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-kafka--162e914c

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-4506ff0c,team=alpha
elasticapmtraceparent base64:AAD4XryjYos3SnnfVzH16iq9AWZgtG6lvBPEAgE=
traceparent 00-f85ebca3628b374a79df5731f5ea2abd-6660b46ea5bc13c4-01
tracestate cptest=v1
test id
elastic-java--grpc-kafka--162e914c
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-97800ed5,team=alpha
ot-baggage-routing-key rk-97800ed5
traceparent 00-aec9fe558b8d2d80f6a78eb24c2bb9bf-e9c8e47f8dc8956a-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-rabbitmq--10dd3ff2

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

baggage routing-key=rk-97800ed5,team=alpha
elastic-apm-traceparent 00-aec9fe558b8d2d80f6a78eb24c2bb9bf-46404ca23415d490-01
traceparent 00-aec9fe558b8d2d80f6a78eb24c2bb9bf-46404ca23415d490-01
tracestate cptest=v1
test id
elastic-java--grpc-rabbitmq--10dd3ff2
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-ceac3978,team=alpha
ot-baggage-routing-key rk-ceac3978
traceparent 00-297357b8fac20b104c42b20b816a38c8-f2168ea23bf862f3-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-http--763cbd92

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-ceac3978,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-297357b8fac20b104c42b20b816a38c8-49f3c1997d21b905-01
traceparent 00-297357b8fac20b104c42b20b816a38c8-49f3c1997d21b905-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--kafka-http--763cbd92
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-589a2ac2,team=alpha
ot-baggage-routing-key rk-589a2ac2
traceparent 00-349d3187d2a62ed05977110611198d39-755b31a6bfbdb0e0-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-grpc--62bab3b1

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-589a2ac2,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-349d3187d2a62ed05977110611198d39-625404cc5ea08b66-01
grpc-accept-encoding gzip
traceparent 00-349d3187d2a62ed05977110611198d39-625404cc5ea08b66-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--kafka-grpc--62bab3b1
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-75101bdb,team=alpha
ot-baggage-routing-key rk-75101bdb
traceparent 00-a57ade9047c2ecd954b094854136f43f-9bdf86e7ae1bf656-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-kafka--927eff8a

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-75101bdb,team=alpha
elasticapmtraceparent base64:AAClet6QR8Ls2VSwlIVBNvQ/AQ/Gkh5HwT4MAgE=
traceparent 00-a57ade9047c2ecd954b094854136f43f-0fc6921e47c13e0c-01
tracestate cptest=v1
test id
elastic-java--kafka-kafka--927eff8a
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-26eb3de8,team=alpha
ot-baggage-routing-key rk-26eb3de8
traceparent 00-7a94e3a3d2361785b56010fb00801607-fa64e82c45284342-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-rabbitmq--c67ef8d8

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

baggage routing-key=rk-26eb3de8,team=alpha
elastic-apm-traceparent 00-7a94e3a3d2361785b56010fb00801607-a1b8c24f3dfeb8f3-01
traceparent 00-7a94e3a3d2361785b56010fb00801607-a1b8c24f3dfeb8f3-01
tracestate cptest=v1
test id
elastic-java--kafka-rabbitmq--c67ef8d8
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-a2eef886,team=alpha
ot-baggage-routing-key rk-a2eef886
traceparent 00-5225eacfe45c06fb345cb548bab98d20-b30e42f2a58d6d3e-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-http--3e2fbabb

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-a2eef886,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-5225eacfe45c06fb345cb548bab98d20-eb66f1dcd2741f25-01
traceparent 00-5225eacfe45c06fb345cb548bab98d20-eb66f1dcd2741f25-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--rabbitmq-http--3e2fbabb
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-2bb526ed,team=alpha
ot-baggage-routing-key rk-2bb526ed
traceparent 00-998a360d9ad4257e2e677c3b1a583efd-6dc942b423508396-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-grpc--70a8f528

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-2bb526ed,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-998a360d9ad4257e2e677c3b1a583efd-be47d2c12172d647-01
grpc-accept-encoding gzip
traceparent 00-998a360d9ad4257e2e677c3b1a583efd-be47d2c12172d647-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--rabbitmq-grpc--70a8f528
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-15a25b25,team=alpha
ot-baggage-routing-key rk-15a25b25
traceparent 00-00c7d701f2ca04d3b4239a93790c0abf-ed5550c93be194ef-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-kafka--82667574

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-15a25b25,team=alpha
elasticapmtraceparent base64:AAAAx9cB8soE07QjmpN5DAq/AdBKMTnJQsTDAgE=
traceparent 00-00c7d701f2ca04d3b4239a93790c0abf-d04a3139c942c4c3-01
tracestate cptest=v1
test id
elastic-java--rabbitmq-kafka--82667574
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-3f54cf66,team=alpha
ot-baggage-routing-key rk-3f54cf66
traceparent 00-d906ae747fb49445d38b1fb4dafc5894-05f38275dedb303d-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-rabbitmq--d0920352

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

baggage routing-key=rk-3f54cf66,team=alpha
elastic-apm-traceparent 00-d906ae747fb49445d38b1fb4dafc5894-9f68b849b83f9c30-01
traceparent 00-d906ae747fb49445d38b1fb4dafc5894-9f68b849b83f9c30-01
tracestate cptest=v1
test id
elastic-java--rabbitmq-rabbitmq--d0920352
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent

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