elastic-java

Java zero-code elastic-apm-agent1.50.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.50.0 1.50.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, 07:49 UTC
Harness
9b99070 · measured in backtest-elastic-java-1.50.0
Raw JSON
1.50.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-c623f22e,team=alpha
ot-baggage-routing-key rk-c623f22e
traceparent 00-f0135e9be78f0a70b4d94b941e71d3c7-22fe09a25fd67d1f-01
tracestate cptest=v1
x-cp-canary elastic-java--http-http--cf6ff4c9

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--cf6ff4c9
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-c4e66bb8,team=alpha
ot-baggage-routing-key rk-c4e66bb8
traceparent 00-52bf799924c3c4086bc49688cb1e1f17-452dc871cf20a907-01
tracestate cptest=v1
x-cp-canary elastic-java--http-grpc--1f1a20ca

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--1f1a20ca
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-f2702d48,team=alpha
ot-baggage-routing-key rk-f2702d48
traceparent 00-ffc45de5f741b1906187d815aadfb7dd-7cdcbfc08fc46ece-01
tracestate cptest=v1
x-cp-canary elastic-java--http-kafka--34933318

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--http-kafka--34933318
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-59289e17,team=alpha
ot-baggage-routing-key rk-59289e17
traceparent 00-f5e10314c0f644c9f14437064b14702c-8e6ba0a0c90cf34b-01
tracestate cptest=v1
x-cp-canary elastic-java--http-rabbitmq--f151367e

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

No headers observed.

test id
elastic-java--http-rabbitmq--f151367e
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-aba3a654,team=alpha
ot-baggage-routing-key rk-aba3a654
traceparent 00-9c4baa3b769d05f17e4df003b2817cca-0d3c295379fd4580-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-http--5e0a4dc7

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--5e0a4dc7
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-e5d7561a,team=alpha
ot-baggage-routing-key rk-e5d7561a
traceparent 00-862249658db120d1ccf3cbf411c4cfe0-0a1988c54d66e5a3-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-grpc--24dfb69e

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--24dfb69e
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-a27b1f22,team=alpha
ot-baggage-routing-key rk-a27b1f22
traceparent 00-d615900e240b2f0d6a78df0df746ebaa-b6445b4c142173cf-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-kafka--b7771cee

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--grpc-kafka--b7771cee
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-408a2776,team=alpha
ot-baggage-routing-key rk-408a2776
traceparent 00-ff8e8df4d25c47ddd06aa970d61e80e3-f90c1f8afa62692a-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-rabbitmq--86142fd9

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

No headers observed.

test id
elastic-java--grpc-rabbitmq--86142fd9
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-9a6b8798,team=alpha
ot-baggage-routing-key rk-9a6b8798
traceparent 00-be0f2c5002dc8ac180880dc75cd5d9dd-cf37126e228456be-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-http--ae679efe

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--ae679efe
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-361a1ced,team=alpha
ot-baggage-routing-key rk-361a1ced
traceparent 00-7612fca360140740df46809bdc7a3129-43bb1231b956c677-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-grpc--0ba1cd96

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--0ba1cd96
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-7de55aea,team=alpha
ot-baggage-routing-key rk-7de55aea
traceparent 00-330d6653a97276300815be3898a79b62-06fca2090bcc75d9-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-kafka--d094a5a3

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--kafka-kafka--d094a5a3
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-a24017d7,team=alpha
ot-baggage-routing-key rk-a24017d7
traceparent 00-8ac230e8e6cc55b2881ceab7d440d14e-735c95d180c093f5-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-rabbitmq--adced972

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

No headers observed.

test id
elastic-java--kafka-rabbitmq--adced972
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-6f236c24,team=alpha
ot-baggage-routing-key rk-6f236c24
traceparent 00-1953de3f3d7d5e8881e9e709a644a435-78c55dee90acda96-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-http--e925d8d2

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--e925d8d2
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-8ae3ec03,team=alpha
ot-baggage-routing-key rk-8ae3ec03
traceparent 00-ff9e8699f3cdf4222353fb1daca16e99-1e759c07c914eeb9-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-grpc--c343c885

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--c343c885
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-b15b11dc,team=alpha
ot-baggage-routing-key rk-b15b11dc
traceparent 00-f2b4bc89cf2a2cbd9cc1456fddc1aeb2-2c60bc1ab35851c9-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-kafka--f3255f3f

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--rabbitmq-kafka--f3255f3f
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-a9f7b652,team=alpha
ot-baggage-routing-key rk-a9f7b652
traceparent 00-2ba6361ab01d7d7744abd236644b5856-a4d3f124537c9539-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-rabbitmq--3d3c1e1b

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

No headers observed.

test id
elastic-java--rabbitmq-rabbitmq--3d3c1e1b
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent

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