elastic-java

Java zero-code elastic-apm-agent1.46.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.46.0 1.46.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:25 UTC
Harness
9b99070 · measured in backtest-elastic-java-1.46.0
Raw JSON
1.46.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-0274c6f7,team=alpha
ot-baggage-routing-key rk-0274c6f7
traceparent 00-f505831d2cdeb12a00661090b19f17fc-2f3ec6482265f046-01
tracestate cptest=v1
x-cp-canary elastic-java--http-http--e40256f9

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--e40256f9
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-3be64670,team=alpha
ot-baggage-routing-key rk-3be64670
traceparent 00-7cb1d00ec0bfca13c5670ee882f1f776-8ad3185c15d2038c-01
tracestate cptest=v1
x-cp-canary elastic-java--http-grpc--d6b2f58c

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--d6b2f58c
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-edd6d8a9,team=alpha
ot-baggage-routing-key rk-edd6d8a9
traceparent 00-04b5497e70016942527c2e6a620e0202-0954e1418197a9c0-01
tracestate cptest=v1
x-cp-canary elastic-java--http-kafka--872a85fd

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--http-kafka--872a85fd
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-855bae48,team=alpha
ot-baggage-routing-key rk-855bae48
traceparent 00-8809e2f1e9558b32b09cad037ac922d6-b5e8ace24a5f5785-01
tracestate cptest=v1
x-cp-canary elastic-java--http-rabbitmq--a635a01a

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

No headers observed.

test id
elastic-java--http-rabbitmq--a635a01a
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-d63a2d53,team=alpha
ot-baggage-routing-key rk-d63a2d53
traceparent 00-394835cc414f5092be9e4011f231c2a2-76214c9cbba60741-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-http--ddc56510

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--ddc56510
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-ebc13cac,team=alpha
ot-baggage-routing-key rk-ebc13cac
traceparent 00-1e393678dd76a7f9bc75baf19d58a351-edda5140ab84fef0-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-grpc--49b6ec61

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--49b6ec61
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-a24eab35,team=alpha
ot-baggage-routing-key rk-a24eab35
traceparent 00-a141438120a56882bce7655e819449dd-d012c92448501086-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-kafka--0c93dab3

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--grpc-kafka--0c93dab3
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-b0c19e97,team=alpha
ot-baggage-routing-key rk-b0c19e97
traceparent 00-75fc3a479a263129ee14d612ccfb92fe-936cd37aefbaf8a2-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-rabbitmq--7f3bcab2

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

No headers observed.

test id
elastic-java--grpc-rabbitmq--7f3bcab2
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-fb3037c2,team=alpha
ot-baggage-routing-key rk-fb3037c2
traceparent 00-d489abf1f4f633a7f5545e1ac2137710-6eecae0f16dcb499-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-http--5b0bf214

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--5b0bf214
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-c8de1d6b,team=alpha
ot-baggage-routing-key rk-c8de1d6b
traceparent 00-4253f337ddea841fc69314f207f21c7c-57774e51836eb08d-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-grpc--193c72a1

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--193c72a1
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-b13e5021,team=alpha
ot-baggage-routing-key rk-b13e5021
traceparent 00-a6294689d7303ed3dbdbcbbd41117035-fb94daa7132988d6-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-kafka--5e1a912a

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--kafka-kafka--5e1a912a
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-ae9b0863,team=alpha
ot-baggage-routing-key rk-ae9b0863
traceparent 00-656ac2b4134a4240ae546e8641c37a89-4446f6e4bdc7247c-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-rabbitmq--02057f31

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

No headers observed.

test id
elastic-java--kafka-rabbitmq--02057f31
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-0a25e8eb,team=alpha
ot-baggage-routing-key rk-0a25e8eb
traceparent 00-2512c7f4b152d4bfb2d5cc7c52423286-0df0230d256dcf07-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-http--f656f47d

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--f656f47d
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-7e7bf52d,team=alpha
ot-baggage-routing-key rk-7e7bf52d
traceparent 00-32879c724a733f171bdf2ab6096741e0-9dc01df0762ea123-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-grpc--bc590781

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--bc590781
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-efce150d,team=alpha
ot-baggage-routing-key rk-efce150d
traceparent 00-3353c8bda0390d728225f60e2cff8fad-183cfd56afd78194-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-kafka--b72637aa

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--rabbitmq-kafka--b72637aa
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-461b42b2,team=alpha
ot-baggage-routing-key rk-461b42b2
traceparent 00-c4e2fd94a34254570a0901cb067f447d-2c92070ed81379fa-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-rabbitmq--0ffd48a5

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

No headers observed.

test id
elastic-java--rabbitmq-rabbitmq--0ffd48a5
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent

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