elastic-java

Java zero-code elastic-apm-agent1.52.1

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.52.1 1.52.1 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, 20:02 UTC
Harness
9b99070 · measured in backtest-elastic-java-1.52.1
Raw JSON
1.52.1.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-54f06d67,team=alpha
ot-baggage-routing-key rk-54f06d67
traceparent 00-e12a96009e525e09367f783229314f39-3a76ece479441059-01
tracestate cptest=v1
x-cp-canary elastic-java--http-http--6def77e5

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--6def77e5
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-cbbabe22,team=alpha
ot-baggage-routing-key rk-cbbabe22
traceparent 00-5fbdf63552990dbbacf3eb118dcb1dd8-f7bf9446a45ef5e7-01
tracestate cptest=v1
x-cp-canary elastic-java--http-grpc--a5b682fd

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--a5b682fd
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-6a04b5e7,team=alpha
ot-baggage-routing-key rk-6a04b5e7
traceparent 00-dd7d697c38922427d493e215c5ace892-dcd36f74216d8bbf-01
tracestate cptest=v1
x-cp-canary elastic-java--http-kafka--88baf86b

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--http-kafka--88baf86b
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-4a8cbffc,team=alpha
ot-baggage-routing-key rk-4a8cbffc
traceparent 00-a62a176377908dcffaf65b8fc3d2d865-c9e90a5e6554c3bb-01
tracestate cptest=v1
x-cp-canary elastic-java--http-rabbitmq--4c4e13a9

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

No headers observed.

test id
elastic-java--http-rabbitmq--4c4e13a9
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-a81170ed,team=alpha
ot-baggage-routing-key rk-a81170ed
traceparent 00-6aab486c4ce9420b3934c72d28ffca0e-7a6df7e071cd4c8e-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-http--57f4f588

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--57f4f588
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-dd46569b,team=alpha
ot-baggage-routing-key rk-dd46569b
traceparent 00-27d8a1cdb717a021aa4891707f7195cd-3ddd5213b83b054b-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-grpc--6a9c415c

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--6a9c415c
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-5ecc1693,team=alpha
ot-baggage-routing-key rk-5ecc1693
traceparent 00-b84978814fafd65b848556ba51cb4cb4-02bd739fa5853c1d-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-kafka--cf276ee3

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--grpc-kafka--cf276ee3
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-9d9192c2,team=alpha
ot-baggage-routing-key rk-9d9192c2
traceparent 00-39d53ddc88014ec7019832f91d32f230-0b0569b9591e190e-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-rabbitmq--654d8ed6

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

No headers observed.

test id
elastic-java--grpc-rabbitmq--654d8ed6
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-4dc7b827,team=alpha
ot-baggage-routing-key rk-4dc7b827
traceparent 00-bc39f9e43bc7ced7e7f385dba70884fb-bb57cf7d590d6bfa-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-http--19b65c1f

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--19b65c1f
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-f56263e1,team=alpha
ot-baggage-routing-key rk-f56263e1
traceparent 00-978a415f7cad0e38a0e702aa011c65d4-0324b1b2a2190be6-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-grpc--a7c1e32d

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--a7c1e32d
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-b81092a8,team=alpha
ot-baggage-routing-key rk-b81092a8
traceparent 00-7a47ad30a22c396e6ec0bcacf8dd10b3-223e228dd2ff78e8-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-kafka--8ce25270

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--kafka-kafka--8ce25270
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-21b9a627,team=alpha
ot-baggage-routing-key rk-21b9a627
traceparent 00-995196867cd5f7b86e216540f93b0b6a-4081d7ed213a5b26-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-rabbitmq--9d24be3d

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

No headers observed.

test id
elastic-java--kafka-rabbitmq--9d24be3d
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-10d25a99,team=alpha
ot-baggage-routing-key rk-10d25a99
traceparent 00-4fbc3846e65ba2a2aa21ff8fd40ab0fd-20c2a604a591e496-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-http--c9caddce

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--c9caddce
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-f2ef6fa0,team=alpha
ot-baggage-routing-key rk-f2ef6fa0
traceparent 00-8aee4572ebcc6ce225900e29ca81cc24-e01d1d35f2e90205-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-grpc--031597c0

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--031597c0
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-3518775b,team=alpha
ot-baggage-routing-key rk-3518775b
traceparent 00-3ea220c1b27bec9c17609150a6ea31d9-e0345ef928eb5b4e-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-kafka--5deb1884

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--rabbitmq-kafka--5deb1884
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-12c9141a,team=alpha
ot-baggage-routing-key rk-12c9141a
traceparent 00-2352037055556eaad9516357a89b769b-1f65dd82d03e4947-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-rabbitmq--900da877

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

No headers observed.

test id
elastic-java--rabbitmq-rabbitmq--900da877
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent

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