elastic-java

Java zero-code elastic-apm-agent1.41.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.41.1 1.41.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
10 Nov 2026, 10:03 UTC
Harness
374f21d · measured in backtest-elastic-java-1.41.1
Raw JSON
1.41.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-b59480f1,team=alpha
ot-baggage-routing-key rk-b59480f1
traceparent 00-0ea61c809ae6c4323b93655c113039ae-b2a6cd8f7ad8b56c-01
tracestate cptest=v1
x-cp-canary elastic-java--http-http--fe24c495

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--fe24c495
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-8ef2744f,team=alpha
ot-baggage-routing-key rk-8ef2744f
traceparent 00-47999bc524016a73853840f810c2f849-eb02605eec26ece7-01
tracestate cptest=v1
x-cp-canary elastic-java--http-grpc--c9ab890f

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--c9ab890f
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-c8aee68f,team=alpha
ot-baggage-routing-key rk-c8aee68f
traceparent 00-6a77ae57826dd6bf840cb260c7413ad9-d1fbf80446320030-01
tracestate cptest=v1
x-cp-canary elastic-java--http-kafka--1ce420d6

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--http-kafka--1ce420d6
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-0536aa82,team=alpha
ot-baggage-routing-key rk-0536aa82
traceparent 00-d037c140f0a1be63c338cd63563f0652-94c64af73ca93e63-01
tracestate cptest=v1
x-cp-canary elastic-java--http-rabbitmq--ec5a1fec

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

No headers observed.

test id
elastic-java--http-rabbitmq--ec5a1fec
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-a551f802,team=alpha
ot-baggage-routing-key rk-a551f802
traceparent 00-538cdbb7c86148867b5b892cc8e6f74b-bc729b5e739ece74-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-http--b89b8c33

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--b89b8c33
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-6ce04acc,team=alpha
ot-baggage-routing-key rk-6ce04acc
traceparent 00-aba330facc5ca653a509c1bf58c486e6-44566cb5933aed52-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-grpc--2b50a35e

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--2b50a35e
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-de89e6dc,team=alpha
ot-baggage-routing-key rk-de89e6dc
traceparent 00-1c753d1ebbb81096e9034f77370e158e-d182654efedb9b9a-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-kafka--1b72e46b

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--grpc-kafka--1b72e46b
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-e82072a2,team=alpha
ot-baggage-routing-key rk-e82072a2
traceparent 00-55954b2c440614f3b23c6613ca10c753-aa4f6b955edc272d-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-rabbitmq--b5ffaa3d

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

No headers observed.

test id
elastic-java--grpc-rabbitmq--b5ffaa3d
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-afc59904,team=alpha
ot-baggage-routing-key rk-afc59904
traceparent 00-6546bd4eb1f0eb19c2c96cd9ec20b7ac-9355c3ed6ce1394e-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-http--b929a115

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--b929a115
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-6d13ae7e,team=alpha
ot-baggage-routing-key rk-6d13ae7e
traceparent 00-72d38a55547e78a1dfc22b5d4f059783-83154e744ad7c7e1-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-grpc--3dc928c2

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--3dc928c2
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-db50f7c1,team=alpha
ot-baggage-routing-key rk-db50f7c1
traceparent 00-58bda6507ef8b42583d08b450fbc2e18-f4a9422f5ff3436d-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-kafka--d8537ef3

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--kafka-kafka--d8537ef3
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-5dfc6d3d,team=alpha
ot-baggage-routing-key rk-5dfc6d3d
traceparent 00-4c4cecf05ad046c475f272ed454c7f11-c92762a4c60c1b0f-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-rabbitmq--fff95816

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

No headers observed.

test id
elastic-java--kafka-rabbitmq--fff95816
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-accd29af,team=alpha
ot-baggage-routing-key rk-accd29af
traceparent 00-c2d8666957a941d29298c20e34e4ffc8-5c9c03022cd9a8c2-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-http--bf0b7495

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--bf0b7495
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-425830b7,team=alpha
ot-baggage-routing-key rk-425830b7
traceparent 00-08aa66c9832f3e02b98fa22cd3ef918f-106b6e3b3120eeb8-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-grpc--3fd89ccc

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--3fd89ccc
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-fad2a852,team=alpha
ot-baggage-routing-key rk-fad2a852
traceparent 00-0ac19e5ccbdc7271d8770ba8f59f37c1-fa063e6430acce28-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-kafka--ef1bdf1b

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--rabbitmq-kafka--ef1bdf1b
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-375d677a,team=alpha
ot-baggage-routing-key rk-375d677a
traceparent 00-098799378397a2e6758bbe6ec31d9098-6662e4007bfe9659-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-rabbitmq--5e512e78

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

No headers observed.

test id
elastic-java--rabbitmq-rabbitmq--5e512e78
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent

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