elastic-java

Java zero-code elastic-apm-agent1.57.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.57.0 1.57.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:40 UTC
Harness
9b99070 · measured in backtest-elastic-java-1.57.0
Raw JSON
1.57.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-1b97242a,team=alpha
ot-baggage-routing-key rk-1b97242a
traceparent 00-2fa769c3153390725555cbeeda0ec8cd-f54193056f306ec2-01
tracestate cptest=v1
x-cp-canary elastic-java--http-http--95924725

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-1b97242a,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-2fa769c3153390725555cbeeda0ec8cd-b9470703ca7a60db-01
traceparent 00-2fa769c3153390725555cbeeda0ec8cd-b9470703ca7a60db-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--http-http--95924725
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-241fd720,team=alpha
ot-baggage-routing-key rk-241fd720
traceparent 00-e4acb9994e91028e325c5c833ac1884f-79461101cf98b016-01
tracestate cptest=v1
x-cp-canary elastic-java--http-grpc--21afd371

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-241fd720,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-e4acb9994e91028e325c5c833ac1884f-f98a68fc5ae7e158-01
grpc-accept-encoding gzip
traceparent 00-e4acb9994e91028e325c5c833ac1884f-f98a68fc5ae7e158-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--http-grpc--21afd371
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-0b3fd36f,team=alpha
ot-baggage-routing-key rk-0b3fd36f
traceparent 00-97a02e16b0c6991dba0fa6e582c1f7d0-cf2ac93e919bb585-01
tracestate cptest=v1
x-cp-canary elastic-java--http-kafka--90e49d95

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-0b3fd36f,team=alpha
elasticapmtraceparent base64:AACXoC4WsMaZHboPpuWCwffQAfIw1J0TlaWEAgE=
traceparent 00-97a02e16b0c6991dba0fa6e582c1f7d0-f230d49d1395a584-01
tracestate cptest=v1
test id
elastic-java--http-kafka--90e49d95
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-4b6cfc79,team=alpha
ot-baggage-routing-key rk-4b6cfc79
traceparent 00-54a28c6f466cc1100bc0452cd858c0b2-55c558636d3fb1e1-01
tracestate cptest=v1
x-cp-canary elastic-java--http-rabbitmq--57c1a661

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

baggage routing-key=rk-4b6cfc79,team=alpha
elastic-apm-traceparent 00-54a28c6f466cc1100bc0452cd858c0b2-18ca95e27a0e6a35-01
traceparent 00-54a28c6f466cc1100bc0452cd858c0b2-18ca95e27a0e6a35-01
tracestate cptest=v1
test id
elastic-java--http-rabbitmq--57c1a661
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-7f95afd0,team=alpha
ot-baggage-routing-key rk-7f95afd0
traceparent 00-97f0389bd7d4b1fd69fb6a967907c11f-74447599fe78a394-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-http--06522333

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-7f95afd0,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-97f0389bd7d4b1fd69fb6a967907c11f-725d9b1507878cc5-01
traceparent 00-97f0389bd7d4b1fd69fb6a967907c11f-725d9b1507878cc5-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--grpc-http--06522333
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-85ce4634,team=alpha
ot-baggage-routing-key rk-85ce4634
traceparent 00-3c9ef0e96d0e3ee880011395974492ef-feeddd47aa33c8b1-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-grpc--a6535111

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-85ce4634,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-3c9ef0e96d0e3ee880011395974492ef-bbdbbda50b12caec-01
grpc-accept-encoding gzip
traceparent 00-3c9ef0e96d0e3ee880011395974492ef-bbdbbda50b12caec-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--grpc-grpc--a6535111
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-0a1ce8a8,team=alpha
ot-baggage-routing-key rk-0a1ce8a8
traceparent 00-0057a123ac1da4ae1c956edd62f0f757-d99a7dc3d19e59d3-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-kafka--81317698

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-0a1ce8a8,team=alpha
elasticapmtraceparent base64:AAAAV6EjrB2krhyVbt1i8PdXAYh/NwpsZUqAAgE=
traceparent 00-0057a123ac1da4ae1c956edd62f0f757-887f370a6c654a80-01
tracestate cptest=v1
test id
elastic-java--grpc-kafka--81317698
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-97ba038a,team=alpha
ot-baggage-routing-key rk-97ba038a
traceparent 00-f5ce68f6f2b9cb5b29fafb58fe87605e-a25bde9624222e3b-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-rabbitmq--c0d9e816

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

baggage routing-key=rk-97ba038a,team=alpha
elastic-apm-traceparent 00-f5ce68f6f2b9cb5b29fafb58fe87605e-96f3f12511cdfad0-01
traceparent 00-f5ce68f6f2b9cb5b29fafb58fe87605e-96f3f12511cdfad0-01
tracestate cptest=v1
test id
elastic-java--grpc-rabbitmq--c0d9e816
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-856920f7,team=alpha
ot-baggage-routing-key rk-856920f7
traceparent 00-e1b421cac2e1e35e2d4ee06f387e6441-df013bb6fd4aa2fb-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-http--736ad292

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-856920f7,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-e1b421cac2e1e35e2d4ee06f387e6441-eb1a0fa6e05e74a8-01
traceparent 00-e1b421cac2e1e35e2d4ee06f387e6441-eb1a0fa6e05e74a8-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--kafka-http--736ad292
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-31749cc4,team=alpha
ot-baggage-routing-key rk-31749cc4
traceparent 00-fb54a90ecdf0a6a7ab49a5ed08bbabda-4e6c46ec59f93390-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-grpc--0ef177ca

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-31749cc4,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-fb54a90ecdf0a6a7ab49a5ed08bbabda-3b990409bf9bbb1c-01
grpc-accept-encoding gzip
traceparent 00-fb54a90ecdf0a6a7ab49a5ed08bbabda-3b990409bf9bbb1c-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--kafka-grpc--0ef177ca
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-b1d9b1e1,team=alpha
ot-baggage-routing-key rk-b1d9b1e1
traceparent 00-d6e58e4b8d87d4a4afc60d88f84f8086-381d8f08d400be94-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-kafka--abcbc827

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-b1d9b1e1,team=alpha
elasticapmtraceparent base64:AADW5Y5LjYfUpK/GDYj4T4CGAVqyTp1znLWyAgE=
traceparent 00-d6e58e4b8d87d4a4afc60d88f84f8086-5ab24e9d739cb5b2-01
tracestate cptest=v1
test id
elastic-java--kafka-kafka--abcbc827
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-be310850,team=alpha
ot-baggage-routing-key rk-be310850
traceparent 00-542448b91df9db7440b01bc99f899c97-ff34b3925ede734b-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-rabbitmq--9ebfbe4a

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

baggage routing-key=rk-be310850,team=alpha
elastic-apm-traceparent 00-542448b91df9db7440b01bc99f899c97-cd595e37170db3dc-01
traceparent 00-542448b91df9db7440b01bc99f899c97-cd595e37170db3dc-01
tracestate cptest=v1
test id
elastic-java--kafka-rabbitmq--9ebfbe4a
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-8ea7adcb,team=alpha
ot-baggage-routing-key rk-8ea7adcb
traceparent 00-7c27e3c71b1b9149fe0683f53ad019ef-76c997c362f122e8-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-http--175d1f3c

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-8ea7adcb,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-7c27e3c71b1b9149fe0683f53ad019ef-198d0c2b68b1974b-01
traceparent 00-7c27e3c71b1b9149fe0683f53ad019ef-198d0c2b68b1974b-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--rabbitmq-http--175d1f3c
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-785bd2b8,team=alpha
ot-baggage-routing-key rk-785bd2b8
traceparent 00-c6e2a71ff5fd08120d8e3c2ccd0b9fed-210c7e1254215aaf-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-grpc--8c66ed3c

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-785bd2b8,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-c6e2a71ff5fd08120d8e3c2ccd0b9fed-8d59b3bac2a154f6-01
grpc-accept-encoding gzip
traceparent 00-c6e2a71ff5fd08120d8e3c2ccd0b9fed-8d59b3bac2a154f6-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--rabbitmq-grpc--8c66ed3c
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-07b61f12,team=alpha
ot-baggage-routing-key rk-07b61f12
traceparent 00-96a4de873516a27e89db5bd8eb379d92-0610f12a1c9549de-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-kafka--f23fadca

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-07b61f12,team=alpha
elasticapmtraceparent base64:AACWpN6HNRaifonbW9jrN52SAdm3I1c4hguOAgE=
traceparent 00-96a4de873516a27e89db5bd8eb379d92-d9b7235738860b8e-01
tracestate cptest=v1
test id
elastic-java--rabbitmq-kafka--f23fadca
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-7d1cab7f,team=alpha
ot-baggage-routing-key rk-7d1cab7f
traceparent 00-2b70bf178512b728ccd5dc0939b76eca-735b4d173601044c-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-rabbitmq--24d0049d

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

baggage routing-key=rk-7d1cab7f,team=alpha
elastic-apm-traceparent 00-2b70bf178512b728ccd5dc0939b76eca-0530f49a44d52a94-01
traceparent 00-2b70bf178512b728ccd5dc0939b76eca-0530f49a44d52a94-01
tracestate cptest=v1
test id
elastic-java--rabbitmq-rabbitmq--24d0049d
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent

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