elastic-java

Java zero-code elastic-apm-agent1.40.0

attach -javaagent:elastic-apm-agent.jar

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

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.40.0 1.40.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
10 Nov 2026, 10:09 UTC
Harness
374f21d · measured in backtest-elastic-java-1.40.0
Raw JSON
1.40.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-7ee4d930,team=alpha
ot-baggage-routing-key rk-7ee4d930
traceparent 00-7e1f756ebade9ad9db12a6b2d3f72c1f-92f8b5426439df9f-01
tracestate cptest=v1
x-cp-canary elastic-java--http-http--fdf9dbb8

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
connection keep-alive
content-type application/json
user-agent Java/25.0.5
test id
elastic-java--http-http--fdf9dbb8
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent
HTTP gRPC baggage tracestate traceparent ot-baggage delivered via grpc

Seeded on the inbound HTTP request headers

baggage routing-key=rk-fed834a5,team=alpha
ot-baggage-routing-key rk-fed834a5
traceparent 00-7142f71f6a1013fc33845998217bf98e-09969a4d8e04438c-01
tracestate cptest=v1
x-cp-canary elastic-java--http-grpc--d2169e8b

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding gzip
user-agent grpc-java-netty/1.66.0
test id
elastic-java--http-grpc--d2169e8b
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent
HTTP Kafka baggage tracestate traceparent ot-baggage delivered via kafka

Seeded on the inbound HTTP request headers

baggage routing-key=rk-2658ac2d,team=alpha
ot-baggage-routing-key rk-2658ac2d
traceparent 00-322516f388ff9b7ac76ccd62c6dd9bb1-fa5918388146fb53-01
tracestate cptest=v1
x-cp-canary elastic-java--http-kafka--e24ea708

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--http-kafka--e24ea708
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent
HTTP RabbitMQ baggage tracestate traceparent ot-baggage delivered via rabbitmq

Seeded on the inbound HTTP request headers

baggage routing-key=rk-74325a6b,team=alpha
ot-baggage-routing-key rk-74325a6b
traceparent 00-feb25e194bab37a6deea065de390ad0d-bff1b20e01ee7665-01
tracestate cptest=v1
x-cp-canary elastic-java--http-rabbitmq--32723acf

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

No headers observed.

test id
elastic-java--http-rabbitmq--32723acf
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent
gRPC HTTP baggage tracestate traceparent ot-baggage delivered via http

Seeded on the inbound gRPC metadata

baggage routing-key=rk-e4b8842d,team=alpha
ot-baggage-routing-key rk-e4b8842d
traceparent 00-3d2b4e6c54c2cfe481eb5356e993a446-bf6849f4e37b6731-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-http--21c4bb27

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
connection keep-alive
content-type application/json
user-agent Java/25.0.5
test id
elastic-java--grpc-http--21c4bb27
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent
gRPC gRPC baggage tracestate traceparent ot-baggage delivered via grpc

Seeded on the inbound gRPC metadata

baggage routing-key=rk-82587df5,team=alpha
ot-baggage-routing-key rk-82587df5
traceparent 00-5c54c1dbfc4f5ba98d2b380a13061bbf-271640d70c487ad2-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-grpc--3541329e

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding gzip
user-agent grpc-java-netty/1.66.0
test id
elastic-java--grpc-grpc--3541329e
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent
gRPC Kafka baggage tracestate traceparent ot-baggage delivered via kafka

Seeded on the inbound gRPC metadata

baggage routing-key=rk-30c25940,team=alpha
ot-baggage-routing-key rk-30c25940
traceparent 00-5edef822c3327b399af96a62807c6f6a-fa37359b66c7ce4a-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-kafka--6d240a0b

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--grpc-kafka--6d240a0b
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent
gRPC RabbitMQ baggage tracestate traceparent ot-baggage delivered via rabbitmq

Seeded on the inbound gRPC metadata

baggage routing-key=rk-97432322,team=alpha
ot-baggage-routing-key rk-97432322
traceparent 00-3a1ac8fb221593782bb6394eea006512-e58a4432b2164076-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-rabbitmq--cdd4afb7

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

No headers observed.

test id
elastic-java--grpc-rabbitmq--cdd4afb7
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent
Kafka HTTP baggage tracestate traceparent ot-baggage delivered via http

Seeded on the inbound Kafka record headers

baggage routing-key=rk-e74a2377,team=alpha
ot-baggage-routing-key rk-e74a2377
traceparent 00-ef0e3162f2ac32e0fcd99eadd3ede03b-ff512d67ac9cf0c2-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-http--bed2a0cf

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
connection keep-alive
content-type application/json
user-agent Java/25.0.5
test id
elastic-java--kafka-http--bed2a0cf
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent
Kafka gRPC baggage tracestate traceparent ot-baggage delivered via grpc

Seeded on the inbound Kafka record headers

baggage routing-key=rk-a6c7fcc1,team=alpha
ot-baggage-routing-key rk-a6c7fcc1
traceparent 00-cca4f124778c19770439373379799f1d-4f296c51bb672faf-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-grpc--42eb8e94

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding gzip
user-agent grpc-java-netty/1.66.0
test id
elastic-java--kafka-grpc--42eb8e94
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent
Kafka Kafka baggage tracestate traceparent ot-baggage delivered via kafka

Seeded on the inbound Kafka record headers

baggage routing-key=rk-50b71328,team=alpha
ot-baggage-routing-key rk-50b71328
traceparent 00-e9b2557914271c63dfc03dc2125ac627-8b489b0615fad0da-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-kafka--e104a38b

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--kafka-kafka--e104a38b
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent
Kafka RabbitMQ baggage tracestate traceparent ot-baggage delivered via rabbitmq

Seeded on the inbound Kafka record headers

baggage routing-key=rk-e6cf990a,team=alpha
ot-baggage-routing-key rk-e6cf990a
traceparent 00-6331e5343d6031c450926daaabfe4850-dbbdde3e16dbf668-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-rabbitmq--9c3abe14

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

No headers observed.

test id
elastic-java--kafka-rabbitmq--9c3abe14
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_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-ef7ed421,team=alpha
ot-baggage-routing-key rk-ef7ed421
traceparent 00-a18ec69466295fe40e6803fffe2bfae6-4a41bb62bbf47551-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-http--e5525170

Observed at the sink on the outbound HTTP request headers

accept text/plain, application/json, application/*+json, */*
connection keep-alive
content-type application/json
user-agent Java/25.0.5
test id
elastic-java--rabbitmq-http--e5525170
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_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-1178bf3f,team=alpha
ot-baggage-routing-key rk-1178bf3f
traceparent 00-06259f89f11c7971d6248ce6c83adf52-9a8d03288ea16dbe-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-grpc--781102c1

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding gzip
user-agent grpc-java-netty/1.66.0
test id
elastic-java--rabbitmq-grpc--781102c1
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_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-b89e11f4,team=alpha
ot-baggage-routing-key rk-b89e11f4
traceparent 00-86d5166f92152ee975a875d824d146b2-a45c66ae2086c022-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-kafka--0cbe67d3

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--rabbitmq-kafka--0cbe67d3
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_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-d600c795,team=alpha
ot-baggage-routing-key rk-d600c795
traceparent 00-a878702358d3668a4e208c58245b5702-52efef21d7f6aec2-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-rabbitmq--42d1a05e

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

No headers observed.

test id
elastic-java--rabbitmq-rabbitmq--42d1a05e
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent

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