elastic-java

Java zero-code elastic-apm-agent1.47.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.47.1 1.47.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, 08:03 UTC
Harness
9b99070 · measured in backtest-elastic-java-1.47.1
Raw JSON
1.47.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-33e77b0d,team=alpha
ot-baggage-routing-key rk-33e77b0d
traceparent 00-953425d6ee752bd73c0852ad0ff32d21-b0fb137b51ad1158-01
tracestate cptest=v1
x-cp-canary elastic-java--http-http--0610b97e

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--0610b97e
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-2292581a,team=alpha
ot-baggage-routing-key rk-2292581a
traceparent 00-d9e087e4c68cabe111d6bee570f5cfc1-5a4ad14e5b753dc6-01
tracestate cptest=v1
x-cp-canary elastic-java--http-grpc--c4207f4a

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--c4207f4a
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-f3139091,team=alpha
ot-baggage-routing-key rk-f3139091
traceparent 00-0dc93a745019aedfa96e4a54f567aba2-3852bec91ec6242b-01
tracestate cptest=v1
x-cp-canary elastic-java--http-kafka--13fcd531

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--http-kafka--13fcd531
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-f4c279b2,team=alpha
ot-baggage-routing-key rk-f4c279b2
traceparent 00-f843fb2ee3ace53fa2264dc7343a4e4b-4d4e8c1b0b8ae7b8-01
tracestate cptest=v1
x-cp-canary elastic-java--http-rabbitmq--284b32df

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

No headers observed.

test id
elastic-java--http-rabbitmq--284b32df
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-8fde2452,team=alpha
ot-baggage-routing-key rk-8fde2452
traceparent 00-513f7fdf4aef48dc58396cdf069e8830-7d6a08897dbc8512-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-http--41ef53f1

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--41ef53f1
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-7919f5e5,team=alpha
ot-baggage-routing-key rk-7919f5e5
traceparent 00-c9348089665f33525d4fa36373f2c1e3-b3e72aa1e065ec74-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-grpc--53b8fb17

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--53b8fb17
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-f49f2b1d,team=alpha
ot-baggage-routing-key rk-f49f2b1d
traceparent 00-d8039fddefb9c39574cfeb005f80d610-a7df04869707c261-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-kafka--5ae2c576

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--grpc-kafka--5ae2c576
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-b2ae7dba,team=alpha
ot-baggage-routing-key rk-b2ae7dba
traceparent 00-9cb2231c5699c3986013bdee4669ed97-ac044a49dc215994-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-rabbitmq--fbf93528

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

No headers observed.

test id
elastic-java--grpc-rabbitmq--fbf93528
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-0afac558,team=alpha
ot-baggage-routing-key rk-0afac558
traceparent 00-b3dec3d9c19cea32e2e77eb469603841-535c689a28f3580e-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-http--22d564aa

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--22d564aa
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-e789316f,team=alpha
ot-baggage-routing-key rk-e789316f
traceparent 00-13ff31483af3da247246214fa7dfc301-e30422f451e4e866-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-grpc--121e9a6c

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--121e9a6c
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-2de1601a,team=alpha
ot-baggage-routing-key rk-2de1601a
traceparent 00-e218f54a1b8a90ef6a5231420b19ce13-3180f89f9611865c-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-kafka--d930d44a

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--kafka-kafka--d930d44a
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-716cad62,team=alpha
ot-baggage-routing-key rk-716cad62
traceparent 00-8634dd8d007e39f5f6f96c14bb7857fb-8186dd0747a14d24-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-rabbitmq--ea6a8560

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

No headers observed.

test id
elastic-java--kafka-rabbitmq--ea6a8560
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-bce7403c,team=alpha
ot-baggage-routing-key rk-bce7403c
traceparent 00-0d0d13bb751bb30c26f921be5500a769-907f538222818def-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-http--3fad8635

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--3fad8635
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-33b2a0ff,team=alpha
ot-baggage-routing-key rk-33b2a0ff
traceparent 00-0ffc19e7467bd976a4fd1c6f42ebe617-385fbdc00eb61230-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-grpc--72cbe9ef

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--72cbe9ef
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-def07a83,team=alpha
ot-baggage-routing-key rk-def07a83
traceparent 00-8437d330a0246058844c013160ff4aec-3a1b386c17f8743e-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-kafka--3329e258

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--rabbitmq-kafka--3329e258
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-337df593,team=alpha
ot-baggage-routing-key rk-337df593
traceparent 00-b00c19922b51780da03bbc23f3e7cab8-e969ec3b0271a95a-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-rabbitmq--bc443f66

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

No headers observed.

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

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