elastic-java

Java zero-code elastic-apm-agent1.55.5

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.5 1.55.5 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:29 UTC
Harness
e793604 · measured in backtest-elastic-java-1.55.5
Raw JSON
1.55.5.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-154fe15c,team=alpha
ot-baggage-routing-key rk-154fe15c
traceparent 00-969207698edbba7557e6122fa5f3c34c-0fda9d41f6bdaf50-01
tracestate cptest=v1
x-cp-canary elastic-java--http-http--b43edf74

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-154fe15c,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-969207698edbba7557e6122fa5f3c34c-5aace4a7bb3723be-01
traceparent 00-969207698edbba7557e6122fa5f3c34c-5aace4a7bb3723be-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--http-http--b43edf74
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-a8742fd1,team=alpha
ot-baggage-routing-key rk-a8742fd1
traceparent 00-aa560f5d578fd5588927f36bd2d8da3b-6c02eab7ce24fec5-01
tracestate cptest=v1
x-cp-canary elastic-java--http-grpc--300bb8b0

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-a8742fd1,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-aa560f5d578fd5588927f36bd2d8da3b-5c6bf21a9aa1c82b-01
grpc-accept-encoding gzip
traceparent 00-aa560f5d578fd5588927f36bd2d8da3b-5c6bf21a9aa1c82b-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--http-grpc--300bb8b0
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-f7af6f12,team=alpha
ot-baggage-routing-key rk-f7af6f12
traceparent 00-4be94a66ed20c9a1bcac1fb32c1db615-1cee2053c9f2767e-01
tracestate cptest=v1
x-cp-canary elastic-java--http-kafka--4af31fe2

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-f7af6f12,team=alpha
elasticapmtraceparent base64:AABL6Upm7SDJobysH7MsHbYVAVyJNMuYIzqoAgE=
traceparent 00-4be94a66ed20c9a1bcac1fb32c1db615-5c8934cb98233aa8-01
tracestate cptest=v1
test id
elastic-java--http-kafka--4af31fe2
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-016e8e22,team=alpha
ot-baggage-routing-key rk-016e8e22
traceparent 00-547b35883148b3697ba1a1ba9840b59a-2d5a372d4d1998d1-01
tracestate cptest=v1
x-cp-canary elastic-java--http-rabbitmq--cc145bc0

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

baggage routing-key=rk-016e8e22,team=alpha
elastic-apm-traceparent 00-547b35883148b3697ba1a1ba9840b59a-48b0a0f1c5854205-01
traceparent 00-547b35883148b3697ba1a1ba9840b59a-48b0a0f1c5854205-01
tracestate cptest=v1
test id
elastic-java--http-rabbitmq--cc145bc0
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-329231ff,team=alpha
ot-baggage-routing-key rk-329231ff
traceparent 00-1cd3c503923f04afb3ccca9dfa45d598-91103c7d9bc55814-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-http--585545e7

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-329231ff,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-1cd3c503923f04afb3ccca9dfa45d598-8485e6411c5e2d60-01
traceparent 00-1cd3c503923f04afb3ccca9dfa45d598-8485e6411c5e2d60-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--grpc-http--585545e7
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-cec99194,team=alpha
ot-baggage-routing-key rk-cec99194
traceparent 00-08c0e2f2e54c9433cf48be11b62c3666-e242dc7234ff5643-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-grpc--eff02f59

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-cec99194,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-08c0e2f2e54c9433cf48be11b62c3666-57091f8d8754c423-01
grpc-accept-encoding gzip
traceparent 00-08c0e2f2e54c9433cf48be11b62c3666-57091f8d8754c423-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--grpc-grpc--eff02f59
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-339b665c,team=alpha
ot-baggage-routing-key rk-339b665c
traceparent 00-30400a88d4276f89543fb8ff91e5b1f1-86be021c47842c04-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-kafka--b7accd2a

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-339b665c,team=alpha
elasticapmtraceparent base64:AAAwQAqI1CdviVQ/uP+R5bHxAaF0Bf34dQSOAgE=
traceparent 00-30400a88d4276f89543fb8ff91e5b1f1-a17405fdf875048e-01
tracestate cptest=v1
test id
elastic-java--grpc-kafka--b7accd2a
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-426cf94b,team=alpha
ot-baggage-routing-key rk-426cf94b
traceparent 00-ea99a98928ba3938fdf9894c109d1448-2ef2a9046e9c1315-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-rabbitmq--1081cefd

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

baggage routing-key=rk-426cf94b,team=alpha
elastic-apm-traceparent 00-ea99a98928ba3938fdf9894c109d1448-6ece6193d4d4e673-01
traceparent 00-ea99a98928ba3938fdf9894c109d1448-6ece6193d4d4e673-01
tracestate cptest=v1
test id
elastic-java--grpc-rabbitmq--1081cefd
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-7f4e69c3,team=alpha
ot-baggage-routing-key rk-7f4e69c3
traceparent 00-73e5438b11537666f5520cf4035c558d-f0dec4742e2cb539-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-http--eb6f1546

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-7f4e69c3,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-73e5438b11537666f5520cf4035c558d-36f02202c8c4f72e-01
traceparent 00-73e5438b11537666f5520cf4035c558d-36f02202c8c4f72e-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--kafka-http--eb6f1546
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-05835adf,team=alpha
ot-baggage-routing-key rk-05835adf
traceparent 00-1154bd43d6eda917367b5e0c655b607b-3b26857c7d4ea57f-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-grpc--e2329d2d

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-05835adf,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-1154bd43d6eda917367b5e0c655b607b-038212b1af2eec85-01
grpc-accept-encoding gzip
traceparent 00-1154bd43d6eda917367b5e0c655b607b-038212b1af2eec85-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--kafka-grpc--e2329d2d
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-be98c986,team=alpha
ot-baggage-routing-key rk-be98c986
traceparent 00-f7a39513b02f13dbfd9582475acdc9d3-694a4028e3f02f8a-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-kafka--c49a2434

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-be98c986,team=alpha
elasticapmtraceparent base64:AAD3o5UTsC8T2/2VgkdazcnTAVJzn32Ce6GPAgE=
traceparent 00-f7a39513b02f13dbfd9582475acdc9d3-52739f7d827ba18f-01
tracestate cptest=v1
test id
elastic-java--kafka-kafka--c49a2434
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-cd8b85e2,team=alpha
ot-baggage-routing-key rk-cd8b85e2
traceparent 00-a5e34b69c40c84ccbdfcfe93c7b0ef14-2117ae51ffc3a6d8-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-rabbitmq--f0184888

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

baggage routing-key=rk-cd8b85e2,team=alpha
elastic-apm-traceparent 00-a5e34b69c40c84ccbdfcfe93c7b0ef14-1630367c7873f37d-01
traceparent 00-a5e34b69c40c84ccbdfcfe93c7b0ef14-1630367c7873f37d-01
tracestate cptest=v1
test id
elastic-java--kafka-rabbitmq--f0184888
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-4bae2753,team=alpha
ot-baggage-routing-key rk-4bae2753
traceparent 00-e9129c6c1aa11d49a17d68a22358374f-016f4a0887e0bb16-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-http--8e71a997

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-4bae2753,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-e9129c6c1aa11d49a17d68a22358374f-3d175e89572ab8a4-01
traceparent 00-e9129c6c1aa11d49a17d68a22358374f-3d175e89572ab8a4-01
tracestate cptest=v1
user-agent Java/25.0.5
test id
elastic-java--rabbitmq-http--8e71a997
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-adc1af97,team=alpha
ot-baggage-routing-key rk-adc1af97
traceparent 00-ef88936081e9f2cf699554d9ca6b3fc0-52eaa0c130258f3e-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-grpc--d558d895

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-adc1af97,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-ef88936081e9f2cf699554d9ca6b3fc0-b5a3deb74c1abc08-01
grpc-accept-encoding gzip
traceparent 00-ef88936081e9f2cf699554d9ca6b3fc0-b5a3deb74c1abc08-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--rabbitmq-grpc--d558d895
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-716d36c8,team=alpha
ot-baggage-routing-key rk-716d36c8
traceparent 00-9b48fce2bfd6d3dd27cd5e3509ba0a2d-5d07fd0f1455ce55-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-kafka--59e55bd0

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-716d36c8,team=alpha
elasticapmtraceparent base64:AACbSPziv9bT3SfNXjUJugotAZr4mCqrO7wCAgE=
traceparent 00-9b48fce2bfd6d3dd27cd5e3509ba0a2d-9af8982aab3bbc02-01
tracestate cptest=v1
test id
elastic-java--rabbitmq-kafka--59e55bd0
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-33d835f8,team=alpha
ot-baggage-routing-key rk-33d835f8
traceparent 00-19432d14256c9af0cf0d0a95afcff7cf-4a9e846d86e507cc-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-rabbitmq--b84c5938

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

baggage routing-key=rk-33d835f8,team=alpha
elastic-apm-traceparent 00-19432d14256c9af0cf0d0a95afcff7cf-07f063adb2d9f2e9-01
traceparent 00-19432d14256c9af0cf0d0a95afcff7cf-07f063adb2d9f2e9-01
tracestate cptest=v1
test id
elastic-java--rabbitmq-rabbitmq--b84c5938
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent

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