elastic-java

Java zero-code elastic-apm-agent1.56.0

attach -javaagent:elastic-apm-agent.jar

48/64 cells pass
  • Pass
  • Partial
  • New trace
  • Fail
  • Undelivered
  • Not run

Explanations

OpenTelemetry, Elastic APM and New Relic never implemented the OpenTracing-era ot-baggage-* headers

by-design ot-baggage-* is a legacy OpenTracing convention; OpenTelemetry, Elastic APM and New Relic each define their propagation header set without it.

The seeded ot-baggage-routing-key header is ignored — neither extracted nor re-emitted — by every OpenTelemetry, Elastic and New Relic variant on every delivered boundary. None of these tools ever emitted the OpenTracing header format: OpenTelemetry standardised on W3C baggage; 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.

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.

356 cells affected

ot-baggage-not-implemented

Versions in this run

Tracer
co.elastic.apm:elastic-apm-agent 1.56.0 this version 1.56.0 on maven github
Runtime
java 17.0.20
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
7 Sept 2026, 10:55 UTC
Harness
commit not recorded · run run-2026-09-07
Raw JSON
run-2026-09-07.json → variants[id = "elastic-java"]

Libraries

grpcgrpc-java
http-clientRestTemplate (HttpURLConnection)
kafkaspring-kafka
kafka-clients3.7.2
rabbitmqspring-rabbit (amqp-client 5.21.0)
spring-boot3.3.13

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-4d7cde93,team=alpha
ot-baggage-routing-key rk-4d7cde93
traceparent 00-1d3e58667e2a5a03f80e867492433985-b21f0466c5d649bf-01
tracestate cptest=v1
x-cp-canary elastic-java--http-http--11ba34b4

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-4d7cde93,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-1d3e58667e2a5a03f80e867492433985-b54da95b3407fd1b-01
traceparent 00-1d3e58667e2a5a03f80e867492433985-b54da95b3407fd1b-01
tracestate cptest=v1
user-agent Java/17.0.20
test id
elastic-java--http-http--11ba34b4
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-6c30ac62,team=alpha
ot-baggage-routing-key rk-6c30ac62
traceparent 00-4100515dee4753d6dbd88536074254e6-496512df20e97966-01
tracestate cptest=v1
x-cp-canary elastic-java--http-grpc--5b6cf56e

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-6c30ac62,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-4100515dee4753d6dbd88536074254e6-aec72da39ea841b4-01
grpc-accept-encoding gzip
traceparent 00-4100515dee4753d6dbd88536074254e6-aec72da39ea841b4-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--http-grpc--5b6cf56e
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-8cceaf92,team=alpha
ot-baggage-routing-key rk-8cceaf92
traceparent 00-f6837c840a4673839f8fc315693f3e00-6eb20562df743f19-01
tracestate cptest=v1
x-cp-canary elastic-java--http-kafka--d8c548b8

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-8cceaf92,team=alpha
elasticapmtraceparent base64:AAD2g3yECkZzg5+PwxVpPz4AAd/ZCdU/DSCVAgE=
traceparent 00-f6837c840a4673839f8fc315693f3e00-dfd909d53f0d2095-01
tracestate cptest=v1
test id
elastic-java--http-kafka--d8c548b8
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-54dbbe31,team=alpha
ot-baggage-routing-key rk-54dbbe31
traceparent 00-8369886d03e080d36b720839115b5a1b-0fa13b1e73bce6d3-01
tracestate cptest=v1
x-cp-canary elastic-java--http-rabbitmq--46973af5

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

baggage routing-key=rk-54dbbe31,team=alpha
elastic-apm-traceparent 00-8369886d03e080d36b720839115b5a1b-b44a8e00245ebfe3-01
traceparent 00-8369886d03e080d36b720839115b5a1b-b44a8e00245ebfe3-01
tracestate cptest=v1
test id
elastic-java--http-rabbitmq--46973af5
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-197f336b,team=alpha
ot-baggage-routing-key rk-197f336b
traceparent 00-15e958373f88f127677aae50704f38e6-eb64f4b24e558f81-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-http--29491d28

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-197f336b,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-15e958373f88f127677aae50704f38e6-43560dcba91c0390-01
traceparent 00-15e958373f88f127677aae50704f38e6-43560dcba91c0390-01
tracestate cptest=v1
user-agent Java/17.0.20
test id
elastic-java--grpc-http--29491d28
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-cd5a7f8f,team=alpha
ot-baggage-routing-key rk-cd5a7f8f
traceparent 00-822861fbfe68815b3c0071ef00769717-eb0c066b9b7a5c43-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-grpc--18fd1138

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-cd5a7f8f,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-822861fbfe68815b3c0071ef00769717-9f2fb7c236429d28-01
grpc-accept-encoding gzip
traceparent 00-822861fbfe68815b3c0071ef00769717-9f2fb7c236429d28-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--grpc-grpc--18fd1138
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-07053989,team=alpha
ot-baggage-routing-key rk-07053989
traceparent 00-67bca6818901562670df3ea0e6fce6ab-5fbba48ec727402f-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-kafka--bdbf4ccc

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-07053989,team=alpha
elasticapmtraceparent base64:AABnvKaBiQFWJnDfPqDm/OarAWXBgydIkI1dAgE=
traceparent 00-67bca6818901562670df3ea0e6fce6ab-65c1832748908d5d-01
tracestate cptest=v1
test id
elastic-java--grpc-kafka--bdbf4ccc
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-c5539579,team=alpha
ot-baggage-routing-key rk-c5539579
traceparent 00-7d998dc28212d6defe919e67fb89d6ba-28c32fbd1d80837a-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-rabbitmq--22608905

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

baggage routing-key=rk-c5539579,team=alpha
elastic-apm-traceparent 00-7d998dc28212d6defe919e67fb89d6ba-06052b4c9bdf35b1-01
traceparent 00-7d998dc28212d6defe919e67fb89d6ba-06052b4c9bdf35b1-01
tracestate cptest=v1
test id
elastic-java--grpc-rabbitmq--22608905
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-5aee2bc7,team=alpha
ot-baggage-routing-key rk-5aee2bc7
traceparent 00-bdb52bfdde0a60ddf6717f067c29e259-3095b730f6a51efd-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-http--ea01e223

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-5aee2bc7,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-bdb52bfdde0a60ddf6717f067c29e259-ede613621a55dbbf-01
traceparent 00-bdb52bfdde0a60ddf6717f067c29e259-ede613621a55dbbf-01
tracestate cptest=v1
user-agent Java/17.0.20
test id
elastic-java--kafka-http--ea01e223
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-bc97f6f8,team=alpha
ot-baggage-routing-key rk-bc97f6f8
traceparent 00-484f231e4152ba1c8857992b5921f16e-1b42cc88c39731e9-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-grpc--8f549969

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-bc97f6f8,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-484f231e4152ba1c8857992b5921f16e-67641482d607a4e7-01
grpc-accept-encoding gzip
traceparent 00-484f231e4152ba1c8857992b5921f16e-67641482d607a4e7-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--kafka-grpc--8f549969
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-dfeb21d7,team=alpha
ot-baggage-routing-key rk-dfeb21d7
traceparent 00-d6b83ac55316e7167cca527b6de128d2-829efcfb59980dfb-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-kafka--30084f27

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-dfeb21d7,team=alpha
elasticapmtraceparent base64:AADWuDrFUxbnFnzKUntt4SjSATF4FFjK/T6mAgE=
traceparent 00-d6b83ac55316e7167cca527b6de128d2-31781458cafd3ea6-01
tracestate cptest=v1
test id
elastic-java--kafka-kafka--30084f27
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-52b15ac6,team=alpha
ot-baggage-routing-key rk-52b15ac6
traceparent 00-4129fa125ae2bff2c62e4bf27ce2be1e-115e766ad2ad2a0b-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-rabbitmq--5d787e54

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

baggage routing-key=rk-52b15ac6,team=alpha
elastic-apm-traceparent 00-4129fa125ae2bff2c62e4bf27ce2be1e-a6080eaecd81dd2f-01
traceparent 00-4129fa125ae2bff2c62e4bf27ce2be1e-a6080eaecd81dd2f-01
tracestate cptest=v1
test id
elastic-java--kafka-rabbitmq--5d787e54
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-a44ca701,team=alpha
ot-baggage-routing-key rk-a44ca701
traceparent 00-fa57829f1f702ce48329f0dcccf9840f-192bdfeb961d9a43-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-http--39bd1fa4

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
baggage routing-key=rk-a44ca701,team=alpha
connection keep-alive
content-type application/json
elastic-apm-traceparent 00-fa57829f1f702ce48329f0dcccf9840f-3fc426e27b232a46-01
traceparent 00-fa57829f1f702ce48329f0dcccf9840f-3fc426e27b232a46-01
tracestate cptest=v1
user-agent Java/17.0.20
test id
elastic-java--rabbitmq-http--39bd1fa4
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-dfb463f6,team=alpha
ot-baggage-routing-key rk-dfb463f6
traceparent 00-d6c388ec8a038a55536408eca1ae3091-a2d323a10a657734-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-grpc--a127df2e

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
baggage routing-key=rk-dfb463f6,team=alpha
content-type application/grpc
elastic-apm-traceparent 00-d6c388ec8a038a55536408eca1ae3091-0a099a9eab1aab2e-01
grpc-accept-encoding gzip
traceparent 00-d6c388ec8a038a55536408eca1ae3091-0a099a9eab1aab2e-01
tracestate cptest=v1
user-agent grpc-java-netty/1.66.0
test id
elastic-java--rabbitmq-grpc--a127df2e
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-11b70068,team=alpha
ot-baggage-routing-key rk-11b70068
traceparent 00-96428e43caa87400f2eee1e9782cddeb-820267bd79fcf230-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-kafka--2afc72fc

Observed at the sink on the outbound Kafka record headers

baggage routing-key=rk-11b70068,team=alpha
elasticapmtraceparent base64:AACWQo5Dyqh0APLu4el4LN3rATaJ6a8LH1kxAgE=
traceparent 00-96428e43caa87400f2eee1e9782cddeb-3689e9af0b1f5931-01
tracestate cptest=v1
test id
elastic-java--rabbitmq-kafka--2afc72fc
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-ab3e7ed0,team=alpha
ot-baggage-routing-key rk-ab3e7ed0
traceparent 00-f74327a2c659bce98f575406974a9d49-0c7e7fecf660eed9-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-rabbitmq--f2c37a4f

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

baggage routing-key=rk-ab3e7ed0,team=alpha
elastic-apm-traceparent 00-f74327a2c659bce98f575406974a9d49-70fb11d23dd8848a-01
traceparent 00-f74327a2c659bce98f575406974a9d49-70fb11d23dd8848a-01
tracestate cptest=v1
test id
elastic-java--rabbitmq-rabbitmq--f2c37a4f
raw statuses
baggage=propagatedtracestate=preservedtraceparent=same_traceot_baggage=absent

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