elastic-java

Java zero-code elastic-apm-agent1.42.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.42.0 1.42.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, 10:01 UTC
Harness
374f21d · measured in backtest-elastic-java-1.42.0
Raw JSON
1.42.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-04799bc1,team=alpha
ot-baggage-routing-key rk-04799bc1
traceparent 00-5219c6d28e7a8fa768f9cea196ea5899-3fe9124fbf90fdb1-01
tracestate cptest=v1
x-cp-canary elastic-java--http-http--6ada1e8c

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--6ada1e8c
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-516e91bd,team=alpha
ot-baggage-routing-key rk-516e91bd
traceparent 00-efb4914ea8b350c40bf045d8a461ce31-d54b376a60ebd234-01
tracestate cptest=v1
x-cp-canary elastic-java--http-grpc--73f42bac

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--73f42bac
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-ee8ffd7c,team=alpha
ot-baggage-routing-key rk-ee8ffd7c
traceparent 00-63261408577ce8e59b6256c59bca2445-a7c6bf4e5eb006bc-01
tracestate cptest=v1
x-cp-canary elastic-java--http-kafka--ba3c62ec

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--http-kafka--ba3c62ec
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-4bff0676,team=alpha
ot-baggage-routing-key rk-4bff0676
traceparent 00-d15323b7bf1a6a69cc59db6e61b226c8-2ee51fe4297236c0-01
tracestate cptest=v1
x-cp-canary elastic-java--http-rabbitmq--3a9ef511

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

No headers observed.

test id
elastic-java--http-rabbitmq--3a9ef511
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-ffe651c5,team=alpha
ot-baggage-routing-key rk-ffe651c5
traceparent 00-d7e3ea2fac2808d2b36bf31dc61cfd73-bccf734a6d330929-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-http--3be19528

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--3be19528
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-97170c8e,team=alpha
ot-baggage-routing-key rk-97170c8e
traceparent 00-b31143b8e0b49d6396b7606604ae8bf7-55835fe2cb39a102-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-grpc--6eb8c965

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--6eb8c965
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-e143c7c4,team=alpha
ot-baggage-routing-key rk-e143c7c4
traceparent 00-d677424d68e6cf82219d74b5048c680e-cf564f5d856de7a8-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-kafka--834ee20a

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--grpc-kafka--834ee20a
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-c88b767c,team=alpha
ot-baggage-routing-key rk-c88b767c
traceparent 00-f84bf82f83ebcc534d2de00fdc7a0d7f-fa21df83ec180f2b-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-rabbitmq--130cc5f7

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

No headers observed.

test id
elastic-java--grpc-rabbitmq--130cc5f7
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-8662da10,team=alpha
ot-baggage-routing-key rk-8662da10
traceparent 00-7104b0213a98f558cfdcbf61a2637237-07d49765969bdd9b-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-http--872ebb2e

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--872ebb2e
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-201e2fd6,team=alpha
ot-baggage-routing-key rk-201e2fd6
traceparent 00-9075d78e6071508ff5e35e5c5f0420c8-28767f620aea5ce9-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-grpc--6aa82a58

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--6aa82a58
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-b2c6fcae,team=alpha
ot-baggage-routing-key rk-b2c6fcae
traceparent 00-e550a4a03d87f250742dbb645ba8f677-00d5d833180dd07c-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-kafka--4600bb9e

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--kafka-kafka--4600bb9e
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-e0ba837a,team=alpha
ot-baggage-routing-key rk-e0ba837a
traceparent 00-f3fc4652260b1d07c5926a25aad57be2-89abfd643d425df5-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-rabbitmq--b9cf9f46

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

No headers observed.

test id
elastic-java--kafka-rabbitmq--b9cf9f46
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-58547bbb,team=alpha
ot-baggage-routing-key rk-58547bbb
traceparent 00-51519902e49d65a9b10f0b0a809bfcfc-ce696d426d556c64-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-http--94505637

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--94505637
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-bce6f8a1,team=alpha
ot-baggage-routing-key rk-bce6f8a1
traceparent 00-4ad06b53009e050b0f9bafc8e8f22fca-aa00deada3e7e2fe-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-grpc--baf6dfdb

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--baf6dfdb
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-162b7d1c,team=alpha
ot-baggage-routing-key rk-162b7d1c
traceparent 00-4a770cadda6b191adb057bb734382ebe-9af67f49609a5b99-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-kafka--996ccf71

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--rabbitmq-kafka--996ccf71
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-0551df82,team=alpha
ot-baggage-routing-key rk-0551df82
traceparent 00-58829cda0740d13fa0b867faf38a7cc0-f81d8eb5ff16a47c-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-rabbitmq--4a076b34

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

No headers observed.

test id
elastic-java--rabbitmq-rabbitmq--4a076b34
raw statuses
baggage=absenttracestate=absenttraceparent=absentot_baggage=absent

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