elastic-java

Java zero-code elastic-apm-agent1.44.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.44.0 1.44.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:32 UTC
Harness
9b99070 · measured in backtest-elastic-java-1.44.0
Raw JSON
1.44.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-1b832471,team=alpha
ot-baggage-routing-key rk-1b832471
traceparent 00-8dd552964e9d2b1afe1c3428cef536f1-bffd46d6b4a405d2-01
tracestate cptest=v1
x-cp-canary elastic-java--http-http--71c49b54

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--71c49b54
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-686aa243,team=alpha
ot-baggage-routing-key rk-686aa243
traceparent 00-852a9d90e454042f53845f34bcef49c7-c1008306535a567c-01
tracestate cptest=v1
x-cp-canary elastic-java--http-grpc--b3c9f5ed

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--b3c9f5ed
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-04fff329,team=alpha
ot-baggage-routing-key rk-04fff329
traceparent 00-890d4d839794b4ba70c59254fff8b1d4-3dc3b0b15742b20a-01
tracestate cptest=v1
x-cp-canary elastic-java--http-kafka--3ca65d89

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--http-kafka--3ca65d89
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-b0352dc1,team=alpha
ot-baggage-routing-key rk-b0352dc1
traceparent 00-c4fd7e1e43f2185f7eccad76438792c4-adc4bf6855c8dfe7-01
tracestate cptest=v1
x-cp-canary elastic-java--http-rabbitmq--5aee79a1

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

No headers observed.

test id
elastic-java--http-rabbitmq--5aee79a1
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-4adeb3d1,team=alpha
ot-baggage-routing-key rk-4adeb3d1
traceparent 00-991fa6cfb723b0f71abec1f67fc5e97d-0d7402aaee92ad7e-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-http--c92a3af8

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--c92a3af8
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-016e4771,team=alpha
ot-baggage-routing-key rk-016e4771
traceparent 00-85df60a568892fb9741f76a4329c9a63-90f3c64411b7f427-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-grpc--3dfad8fd

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--3dfad8fd
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-80b923aa,team=alpha
ot-baggage-routing-key rk-80b923aa
traceparent 00-603968fde0b49ca0278becc69ac15134-15b8d36ea463d96a-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-kafka--22c80812

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--grpc-kafka--22c80812
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-08f4145d,team=alpha
ot-baggage-routing-key rk-08f4145d
traceparent 00-37fec762cdd5127ec0d916b4d3c32530-9f0984591f85ed03-01
tracestate cptest=v1
x-cp-canary elastic-java--grpc-rabbitmq--1aec95bd

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

No headers observed.

test id
elastic-java--grpc-rabbitmq--1aec95bd
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-dc046d01,team=alpha
ot-baggage-routing-key rk-dc046d01
traceparent 00-fe3d2310adf3f1fbbf25ccc73762b6e3-54b31c6e698e4372-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-http--7d30af74

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--7d30af74
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-62f73e46,team=alpha
ot-baggage-routing-key rk-62f73e46
traceparent 00-822a4b8429d5179de13eb1ba9e031fb5-bbcf8f05ecb728db-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-grpc--f3824047

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--f3824047
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-e84ca5f1,team=alpha
ot-baggage-routing-key rk-e84ca5f1
traceparent 00-3911a42fa8aeb3d78ecf17626adb04fc-1b689533e3551663-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-kafka--f58c3552

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--kafka-kafka--f58c3552
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-41bd98c6,team=alpha
ot-baggage-routing-key rk-41bd98c6
traceparent 00-5666ff9ea77a2195514405871ff5e518-3b03de8e89ee01a0-01
tracestate cptest=v1
x-cp-canary elastic-java--kafka-rabbitmq--71e5d9af

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

No headers observed.

test id
elastic-java--kafka-rabbitmq--71e5d9af
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-829270a7,team=alpha
ot-baggage-routing-key rk-829270a7
traceparent 00-cc5ab35d11bbf0ff5ba63cda4caf8de5-ebded457674d21ed-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-http--69729ebc

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--69729ebc
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-99015cec,team=alpha
ot-baggage-routing-key rk-99015cec
traceparent 00-af95bce51af9cdbd8b338334507a9101-bac93648daf7ceb9-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-grpc--cb9c3c1e

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--cb9c3c1e
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-b87a0a92,team=alpha
ot-baggage-routing-key rk-b87a0a92
traceparent 00-5d310cf1dfa9643c0717d8f6d1a4c70d-713efb3915950f90-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-kafka--f3c1563f

Observed at the sink on the outbound Kafka record headers

No headers observed.

test id
elastic-java--rabbitmq-kafka--f3c1563f
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-0940fac9,team=alpha
ot-baggage-routing-key rk-0940fac9
traceparent 00-904eea0fe44eb9d1d7bfb9ee9b7f39f0-69050027c388b4f1-01
tracestate cptest=v1
x-cp-canary elastic-java--rabbitmq-rabbitmq--7577aab3

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

No headers observed.

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

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