elastic-java

Java zero-code elastic-apm-agent1.51.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.51.0 1.51.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:46 UTC
Harness
9b99070 · measured in backtest-elastic-java-1.51.0
Raw JSON
1.51.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-75d7b3a3,team=alpha
ot-baggage-routing-key rk-75d7b3a3
traceparent 00-d8336e562df01b5b642c608273977eed-4274fddcf1db66a0-01
tracestate cptest=v1
x-cp-canary elastic-java--http-http--ac444489

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--ac444489
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-241d4a78,team=alpha
ot-baggage-routing-key rk-241d4a78
traceparent 00-a23164d92c2e81927e20545a56eb5266-051b2e1cc4241a41-01
tracestate cptest=v1
x-cp-canary elastic-java--http-grpc--f960f6e6

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--f960f6e6
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-14e88741,team=alpha
ot-baggage-routing-key rk-14e88741
traceparent 00-26ae8aa93e943568265a551ba3bc8c3c-4db788382a6b3635-01
tracestate cptest=v1
x-cp-canary elastic-java--http-kafka--e2e1008f

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--http-kafka--e2e1008f
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-4a50b022,team=alpha
ot-baggage-routing-key rk-4a50b022
traceparent 00-53f981afa63a9860f1790e78de0ab2de-4670482a7fa256c7-01
tracestate cptest=v1
x-cp-canary elastic-java--http-rabbitmq--6f24c4c9

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

No headers observed.

test id
elastic-java--http-rabbitmq--6f24c4c9
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-69cf679b,team=alpha
ot-baggage-routing-key rk-69cf679b
traceparent 00-175e90d5d719a04eba819feda7b1b0e2-ed4b02a8685010ee-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-http--2c38bb9c

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--2c38bb9c
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-09c3b556,team=alpha
ot-baggage-routing-key rk-09c3b556
traceparent 00-53d40ecc7480b07726ac28a3710e4be0-63a9b41fe1031e58-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-grpc--03e8defa

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--03e8defa
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-10436381,team=alpha
ot-baggage-routing-key rk-10436381
traceparent 00-4713617fa8f6f203c4cc0021a35bffc2-edc9bb39f6a94d49-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-kafka--899a2c8c

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--grpc-kafka--899a2c8c
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-239d7b2e,team=alpha
ot-baggage-routing-key rk-239d7b2e
traceparent 00-f585cae1e1340e8b3045ec482e2de3a0-b62c35db4bc1ce05-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-rabbitmq--082ef684

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

No headers observed.

test id
elastic-java--grpc-rabbitmq--082ef684
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-a1d9a08e,team=alpha
ot-baggage-routing-key rk-a1d9a08e
traceparent 00-ccd66db99d4fd23ab085182c920b5e64-70eca19865880cc2-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-http--a2ec9df6

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--a2ec9df6
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-1530dbe8,team=alpha
ot-baggage-routing-key rk-1530dbe8
traceparent 00-0c3f8c2a1d7911eb49af4cfb8d5f9acb-eeef4738625e64e3-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-grpc--9184bafb

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--9184bafb
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-b23dac57,team=alpha
ot-baggage-routing-key rk-b23dac57
traceparent 00-8ed8d1ca8891f8de222f8d37486cda49-b97954d12c7472f4-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-kafka--5b685c81

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--kafka-kafka--5b685c81
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-de8769d9,team=alpha
ot-baggage-routing-key rk-de8769d9
traceparent 00-84f02ccac64d81cd60a3036395671269-ecbcb2574aa82101-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-rabbitmq--1c4d397c

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

No headers observed.

test id
elastic-java--kafka-rabbitmq--1c4d397c
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-8043d070,team=alpha
ot-baggage-routing-key rk-8043d070
traceparent 00-1e864ec4dd2b805baec0a38f6639dc6f-229677e8f086f3ce-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-http--35d0c908

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--35d0c908
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-dc76d10e,team=alpha
ot-baggage-routing-key rk-dc76d10e
traceparent 00-772da3e1fed2f8eb51f14948e67db858-60229ee8413bf86b-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-grpc--823aa37b

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--823aa37b
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-14e76283,team=alpha
ot-baggage-routing-key rk-14e76283
traceparent 00-383817019d0e4dd00d2f35c6929675d4-424b9948bc9896b1-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-kafka--e4faed25

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--rabbitmq-kafka--e4faed25
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-3a9e005f,team=alpha
ot-baggage-routing-key rk-3a9e005f
traceparent 00-341ab060069b2fe61cdcffe5fa1f6492-c692763236565805-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-rabbitmq--4176674a

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

No headers observed.

test id
elastic-java--rabbitmq-rabbitmq--4176674a
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent

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