elastic-java

Java zero-code elastic-apm-agent1.48.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.48.0 1.48.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, 08:00 UTC
Harness
9b99070 · measured in backtest-elastic-java-1.48.0
Raw JSON
1.48.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-cfbf05bf,team=alpha
ot-baggage-routing-key rk-cfbf05bf
traceparent 00-52e225f77b9951fdbbc78597c818b7f7-6432c96a97532946-01
tracestate cptest=v1
x-cp-canary elastic-java--http-http--3afa7567

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--3afa7567
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-0dd07bdf,team=alpha
ot-baggage-routing-key rk-0dd07bdf
traceparent 00-2b41639023d65528219cd8b29302db7b-56e3a588d689d0a7-01
tracestate cptest=v1
x-cp-canary elastic-java--http-grpc--774c6224

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--774c6224
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-f2323f10,team=alpha
ot-baggage-routing-key rk-f2323f10
traceparent 00-b8bc4abbce9a6d54a867046a3250f879-cb56f736d648581f-01
tracestate cptest=v1
x-cp-canary elastic-java--http-kafka--d5ca5632

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--http-kafka--d5ca5632
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-8a1349b8,team=alpha
ot-baggage-routing-key rk-8a1349b8
traceparent 00-c3e5bfd611fc3d3a1e442e8d57e4e8d1-66a780de71b06a4e-01
tracestate cptest=v1
x-cp-canary elastic-java--http-rabbitmq--bbf67aa0

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

No headers observed.

test id
elastic-java--http-rabbitmq--bbf67aa0
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-e50300f6,team=alpha
ot-baggage-routing-key rk-e50300f6
traceparent 00-57e3ecadd849fed6e5f2392926b4a80e-91c9b9e549651050-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-http--190879a1

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--190879a1
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-9df54059,team=alpha
ot-baggage-routing-key rk-9df54059
traceparent 00-43f1fc540172ae06c9e0e53d17bd44a2-4459b152ab15566c-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-grpc--40f1dfd5

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--40f1dfd5
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-51c7df98,team=alpha
ot-baggage-routing-key rk-51c7df98
traceparent 00-9afee3b48d56c1e277f1b5dcea722441-38cc30b0c760f02d-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-kafka--69952e58

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--grpc-kafka--69952e58
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-b9a1e12a,team=alpha
ot-baggage-routing-key rk-b9a1e12a
traceparent 00-722e57de9d6e406be8021d0677922814-59cca0b7ad54c61b-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-rabbitmq--d16a5c78

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

No headers observed.

test id
elastic-java--grpc-rabbitmq--d16a5c78
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-4a94edce,team=alpha
ot-baggage-routing-key rk-4a94edce
traceparent 00-c7fe320327f096db77a9960a1cffb077-58a275a136c0e3c1-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-http--8877e360

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--8877e360
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-7a44959c,team=alpha
ot-baggage-routing-key rk-7a44959c
traceparent 00-4b6e161dc6d986c2362c2e9637d84842-3ff3cfec211fd479-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-grpc--24c83f52

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--24c83f52
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-8ca3c03e,team=alpha
ot-baggage-routing-key rk-8ca3c03e
traceparent 00-a2504f7c10d0bc96c7ea8dbe8f388fdc-fdf354e0cc0417d5-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-kafka--ab2d3f46

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--kafka-kafka--ab2d3f46
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-48a4e2b9,team=alpha
ot-baggage-routing-key rk-48a4e2b9
traceparent 00-a7078f7f7ca0058aec1bde355e54b15c-b2ff363d66a3f31f-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-rabbitmq--33407040

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

No headers observed.

test id
elastic-java--kafka-rabbitmq--33407040
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-cf4d8fa6,team=alpha
ot-baggage-routing-key rk-cf4d8fa6
traceparent 00-4ebe9ded3d53adc2966f72051a658017-b9064feee7d7c207-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-http--104fd286

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--104fd286
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-12c3019f,team=alpha
ot-baggage-routing-key rk-12c3019f
traceparent 00-a4264b5ec08aedbcd42577e64d1d7ade-59cf8f336efa9728-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-grpc--d7d9cff8

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--d7d9cff8
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-8d8978f9,team=alpha
ot-baggage-routing-key rk-8d8978f9
traceparent 00-9af4e18920029b51f0deff346794aff6-9dadd86095444595-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-kafka--8ced2d77

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--rabbitmq-kafka--8ced2d77
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-40a25601,team=alpha
ot-baggage-routing-key rk-40a25601
traceparent 00-b536d0fe40e055b37e58e79bd6849ecb-3d663f89c665dff4-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-rabbitmq--6e8324bf

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

No headers observed.

test id
elastic-java--rabbitmq-rabbitmq--6e8324bf
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent

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