elastic-java

Java zero-code elastic-apm-agent1.55.4

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.4 1.55.4 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:30 UTC
Harness
e793604 · measured in backtest-elastic-java-1.55.4
Raw JSON
1.55.4.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-42a143dc,team=alpha
ot-baggage-routing-key rk-42a143dc
traceparent 00-d37a1221554f283182dfaf060c6676cd-686a962995c2a78f-01
tracestate cptest=v1
x-cp-canary elastic-java--http-http--344ab4af

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-42a143dc,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-d37a1221554f283182dfaf060c6676cd-38304c2d45b24f32-01
traceparent 00-d37a1221554f283182dfaf060c6676cd-38304c2d45b24f32-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--http-http--344ab4af
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-275268c2,team=alpha
ot-baggage-routing-key rk-275268c2
traceparent 00-ebc0a591c7f6f3b39eafc32aa6e0dd5b-b69dc9616e1e9e21-01
tracestate cptest=v1
x-cp-canary elastic-java--http-grpc--0f480e56

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-275268c2,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-ebc0a591c7f6f3b39eafc32aa6e0dd5b-273c9feefeed7c0d-01
grpc-accept-encoding gzip
traceparent 00-ebc0a591c7f6f3b39eafc32aa6e0dd5b-273c9feefeed7c0d-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--http-grpc--0f480e56
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-3a96a5aa,team=alpha
ot-baggage-routing-key rk-3a96a5aa
traceparent 00-7c6fb245d80556f4710a8ee3da61263a-43d836ac2ad28184-01
tracestate cptest=v1
x-cp-canary elastic-java--http-kafka--e60972d0

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-3a96a5aa,team=alpha
elasticapmtraceparent base64:AAB8b7JF2AVW9HEKjuPaYSY6ASF4WmLIGU4RAgE=
traceparent 00-7c6fb245d80556f4710a8ee3da61263a-21785a62c8194e11-01
tracestate cptest=v1
test id
elastic-java--http-kafka--e60972d0
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-30822441,team=alpha
ot-baggage-routing-key rk-30822441
traceparent 00-264416aab5b4041e9b1ee3126f0f0d73-0e738f7139d79b98-01
tracestate cptest=v1
x-cp-canary elastic-java--http-rabbitmq--60ea642a

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

baggage routing-key=rk-30822441,team=alpha
elastic-apm-traceparent 00-264416aab5b4041e9b1ee3126f0f0d73-80ccc36b0787d5ad-01
traceparent 00-264416aab5b4041e9b1ee3126f0f0d73-80ccc36b0787d5ad-01
tracestate cptest=v1
test id
elastic-java--http-rabbitmq--60ea642a
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-c91fd126,team=alpha
ot-baggage-routing-key rk-c91fd126
traceparent 00-2c6ff5d5192d9b9ac4fd74cc3a61dbc3-696387338d0dcd9c-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-http--c75c6fb6

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-c91fd126,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-2c6ff5d5192d9b9ac4fd74cc3a61dbc3-4f9877f387d8f882-01
traceparent 00-2c6ff5d5192d9b9ac4fd74cc3a61dbc3-4f9877f387d8f882-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--grpc-http--c75c6fb6
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-c6a81353,team=alpha
ot-baggage-routing-key rk-c6a81353
traceparent 00-f2c0bcc91ffdaaace15f1ab94b7a115b-394dd2f37d824da3-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-grpc--626956bd

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-c6a81353,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-f2c0bcc91ffdaaace15f1ab94b7a115b-94ba5d58c4ed483e-01
grpc-accept-encoding gzip
traceparent 00-f2c0bcc91ffdaaace15f1ab94b7a115b-94ba5d58c4ed483e-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--grpc-grpc--626956bd
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-538b10a7,team=alpha
ot-baggage-routing-key rk-538b10a7
traceparent 00-fa9f6a7650680093e307f1bff6756be1-f4e78f87c419f19c-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-kafka--66b69fa0

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-538b10a7,team=alpha
elasticapmtraceparent base64:AAD6n2p2UGgAk+MH8b/2dWvhAdU4vlpFvKUlAgE=
traceparent 00-fa9f6a7650680093e307f1bff6756be1-d538be5a45bca525-01
tracestate cptest=v1
test id
elastic-java--grpc-kafka--66b69fa0
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-53f65fe0,team=alpha
ot-baggage-routing-key rk-53f65fe0
traceparent 00-146d04d9cca15a0af46c22dea0c7e824-f1803ffd9f621fca-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-rabbitmq--ceba5d53

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

baggage routing-key=rk-53f65fe0,team=alpha
elastic-apm-traceparent 00-146d04d9cca15a0af46c22dea0c7e824-6888fd69b6f58d8e-01
traceparent 00-146d04d9cca15a0af46c22dea0c7e824-6888fd69b6f58d8e-01
tracestate cptest=v1
test id
elastic-java--grpc-rabbitmq--ceba5d53
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-67435825,team=alpha
ot-baggage-routing-key rk-67435825
traceparent 00-d3fa007d7f0d774d277d15975c58d87a-200fd5fd6aafecb8-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-http--107fe8b5

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-67435825,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-d3fa007d7f0d774d277d15975c58d87a-52b9ead48d285bf2-01
traceparent 00-d3fa007d7f0d774d277d15975c58d87a-52b9ead48d285bf2-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--kafka-http--107fe8b5
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-a3a83925,team=alpha
ot-baggage-routing-key rk-a3a83925
traceparent 00-674b795c11d0964e0415c609d2c6c378-bf6d48a7ade11e91-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-grpc--2a1b518c

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-a3a83925,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-674b795c11d0964e0415c609d2c6c378-2633bc65acfc2a9d-01
grpc-accept-encoding gzip
traceparent 00-674b795c11d0964e0415c609d2c6c378-2633bc65acfc2a9d-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--kafka-grpc--2a1b518c
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-bda8d06d,team=alpha
ot-baggage-routing-key rk-bda8d06d
traceparent 00-aa59ea229e6a320b96974c52bd070c63-f845d019e75ae6e2-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-kafka--b9bfcf67

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-bda8d06d,team=alpha
elasticapmtraceparent base64:AACqWeoinmoyC5aXTFK9BwxjAcb3EBKCvaLFAgE=
traceparent 00-aa59ea229e6a320b96974c52bd070c63-c6f7101282bda2c5-01
tracestate cptest=v1
test id
elastic-java--kafka-kafka--b9bfcf67
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-8c84bb9b,team=alpha
ot-baggage-routing-key rk-8c84bb9b
traceparent 00-81ee4114eaaf5f1795b3be3a8410a658-ad82b942955eb07e-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-rabbitmq--c10d530e

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

baggage routing-key=rk-8c84bb9b,team=alpha
elastic-apm-traceparent 00-81ee4114eaaf5f1795b3be3a8410a658-8436738e704106a6-01
traceparent 00-81ee4114eaaf5f1795b3be3a8410a658-8436738e704106a6-01
tracestate cptest=v1
test id
elastic-java--kafka-rabbitmq--c10d530e
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-b4ad5931,team=alpha
ot-baggage-routing-key rk-b4ad5931
traceparent 00-90361021d5b3491e34a345e03d992b73-814b82c93d0625e9-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-http--2927a70b

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-b4ad5931,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-90361021d5b3491e34a345e03d992b73-f968515238bc2be3-01
traceparent 00-90361021d5b3491e34a345e03d992b73-f968515238bc2be3-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--rabbitmq-http--2927a70b
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-b6067927,team=alpha
ot-baggage-routing-key rk-b6067927
traceparent 00-99a24b11bda10a94aab6e53c0f79f2b5-74211204018bf819-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-grpc--afc21beb

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-b6067927,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-99a24b11bda10a94aab6e53c0f79f2b5-4a33dec6b41066d8-01
grpc-accept-encoding gzip
traceparent 00-99a24b11bda10a94aab6e53c0f79f2b5-4a33dec6b41066d8-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--rabbitmq-grpc--afc21beb
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-b27c23e5,team=alpha
ot-baggage-routing-key rk-b27c23e5
traceparent 00-f7fd4bb3adbc70816ae6a8070e5b275e-9d515bb895ae6611-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-kafka--fd46655e

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-b27c23e5,team=alpha
elasticapmtraceparent base64:AAD3/UuzrbxwgWrmqAcOWydeAQ8CGL3caOjkAgE=
traceparent 00-f7fd4bb3adbc70816ae6a8070e5b275e-0f0218bddc68e8e4-01
tracestate cptest=v1
test id
elastic-java--rabbitmq-kafka--fd46655e
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-ab680130,team=alpha
ot-baggage-routing-key rk-ab680130
traceparent 00-890f821ae4122c37363fb615888f6fc5-4e01e23c87a79615-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-rabbitmq--899c5660

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

baggage routing-key=rk-ab680130,team=alpha
elastic-apm-traceparent 00-890f821ae4122c37363fb615888f6fc5-c66075a0291271be-01
traceparent 00-890f821ae4122c37363fb615888f6fc5-c66075a0291271be-01
tracestate cptest=v1
test id
elastic-java--rabbitmq-rabbitmq--899c5660
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent

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