elastic-go

Go in-code go.elastic.co/apm2.4.8

attach apmhttp / apmgrpc wrappers + hand-written carriers

32/64 cells pass
  • Pass
  • Partial
  • New trace
  • Fail
  • Undelivered
  • Not run

Not compared with the uninstrumented Go relay (no run on this site measured it on go1.26.10).

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

apm-agent-go has no baggage API, by explicit decision

wontfix Elastic's Go agent carries trace identity on all 16 boundaries but implements no W3C baggage at all; the request was closed not-planned in 2019.

apmhttp/apmgrpc wrappers plus the documented manual traceparent/tracestate pattern carry trace identity across all 16 boundaries on apm-agent-go v2.7.12, but the agent has no baggage API. This was declined upstream: apm-agent-go #537 was closed not-planned ("no plans for baggage at the moment"), and apmot/span.go states "SetBaggageItem is a no-op; we do not support baggage" (apmot/doc.go: "Things not implemented by this tracer: binary propagation format, baggage, logging"). A repo-wide search hits baggage only in the OpenTracing bridge; there is no W3C baggage code.

Elastic's own agent spec requires it ("Agents MUST parse, validate, and attach the baggage header according to the W3C specification"). A user who needs baggage must carry it as an application header on every hop themselves.

16 cells affected

elastic-go-no-baggage-api

Versions measured

Tracer
go.elastic.co/apm/v2 2.4.8 reported as v2.4.8 2.4.8 on goproxy github
Runtime
go1.26.10
Setup tier
in-code Instrumentation is woven into application code: wrappers at every client/server construction site and contexts threaded through (Go contribs, Rust propagator API with hand-written carriers).
Attach
apmhttp / apmgrpc wrappers + hand-written carriers
Relay source
relays/go
Ran at
10 Nov 2026, 08:01 UTC
Harness
9b99070 · measured in backtest-elastic-go-2.4.8
Raw JSON
2.4.8.json → variants[id = "elastic-go"]

Libraries

grpcapmgrpc v2.4.8 (unary interceptors)
httpapmhttp v2.4.8 (Wrap + WrapClient)
kafkafranz-go v1.22.0 + manual apmhttp trace headers (no elastic messaging module)
rabbitmqamqp091-go v1.14.0 + manual apmhttp trace headers (no elastic messaging module)

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-878b7e4f,team=alpha
ot-baggage-routing-key rk-878b7e4f
traceparent 00-362e08afac5b93366c3bd7be793b8558-46a7672efad80038-01
tracestate cptest=v1
x-cp-canary elastic-go--http-http--9bc45e76

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-362e08afac5b93366c3bd7be793b8558-9cd869efb74e5407-01
traceparent 00-362e08afac5b93366c3bd7be793b8558-9cd869efb74e5407-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--http-http--9bc45e76
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
HTTP gRPC baggage tracestate traceparent ot-baggage delivered via grpc

Seeded on the inbound HTTP request headers

baggage routing-key=rk-25bff87f,team=alpha
ot-baggage-routing-key rk-25bff87f
traceparent 00-f18e3df3d70061aa910eee94cd8a7fbc-ff3cdfcdecf3dc80-01
tracestate cptest=v1
x-cp-canary elastic-go--http-grpc--d18aab75

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-f18e3df3d70061aa910eee94cd8a7fbc-1c5ddf90b754726d-01
traceparent 00-f18e3df3d70061aa910eee94cd8a7fbc-1c5ddf90b754726d-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--http-grpc--d18aab75
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
HTTP Kafka baggage tracestate traceparent ot-baggage delivered via kafka

Seeded on the inbound HTTP request headers

baggage routing-key=rk-fdd95584,team=alpha
ot-baggage-routing-key rk-fdd95584
traceparent 00-e0daa591175bec56a05021c7d9b6a180-fc9c3f81e1068901-01
tracestate cptest=v1
x-cp-canary elastic-go--http-kafka--6d7209af

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-e0daa591175bec56a05021c7d9b6a180-7b72120879766822-01
traceparent 00-e0daa591175bec56a05021c7d9b6a180-7b72120879766822-01
tracestate cptest=v1
test id
elastic-go--http-kafka--6d7209af
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
HTTP RabbitMQ baggage tracestate traceparent ot-baggage delivered via rabbitmq

Seeded on the inbound HTTP request headers

baggage routing-key=rk-0032b505,team=alpha
ot-baggage-routing-key rk-0032b505
traceparent 00-02b1b30d9a6c17ae75c61a6e6300fa62-dd2c640cd720f158-01
tracestate cptest=v1
x-cp-canary elastic-go--http-rabbitmq--046d66c9

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

elastic-apm-traceparent 00-02b1b30d9a6c17ae75c61a6e6300fa62-f2fdad9eeef0de47-01
traceparent 00-02b1b30d9a6c17ae75c61a6e6300fa62-f2fdad9eeef0de47-01
tracestate cptest=v1
test id
elastic-go--http-rabbitmq--046d66c9
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
gRPC HTTP baggage tracestate traceparent ot-baggage delivered via http

Seeded on the inbound gRPC metadata

baggage routing-key=rk-2db02871,team=alpha
ot-baggage-routing-key rk-2db02871
traceparent 00-125c4d30963b2db91ea52df921589a41-91f954a35f6e22a9-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-http--a1c049fa

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-125c4d30963b2db91ea52df921589a41-a48b907faedc1a34-01
traceparent 00-125c4d30963b2db91ea52df921589a41-a48b907faedc1a34-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--grpc-http--a1c049fa
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
gRPC gRPC baggage tracestate traceparent ot-baggage delivered via grpc

Seeded on the inbound gRPC metadata

baggage routing-key=rk-4f099c31,team=alpha
ot-baggage-routing-key rk-4f099c31
traceparent 00-9ff7e57aa4e430c5b870a6fb62b6cac8-8a2a48c0cf9be469-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-grpc--9e7b58fb

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-9ff7e57aa4e430c5b870a6fb62b6cac8-105207c8efae1b66-01
traceparent 00-9ff7e57aa4e430c5b870a6fb62b6cac8-105207c8efae1b66-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--grpc-grpc--9e7b58fb
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
gRPC Kafka baggage tracestate traceparent ot-baggage delivered via kafka

Seeded on the inbound gRPC metadata

baggage routing-key=rk-83b1aadc,team=alpha
ot-baggage-routing-key rk-83b1aadc
traceparent 00-b3dd3308c4c8ee7ce5cb9b47362113f5-e0e3b50911c031d6-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-kafka--465dd117

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-b3dd3308c4c8ee7ce5cb9b47362113f5-38ae4299169acfe7-01
traceparent 00-b3dd3308c4c8ee7ce5cb9b47362113f5-38ae4299169acfe7-01
tracestate cptest=v1
test id
elastic-go--grpc-kafka--465dd117
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
gRPC RabbitMQ baggage tracestate traceparent ot-baggage delivered via rabbitmq

Seeded on the inbound gRPC metadata

baggage routing-key=rk-c813f184,team=alpha
ot-baggage-routing-key rk-c813f184
traceparent 00-dbfa0f7993f51674784dccc9c40146ef-6ff9c1a4bbf30c4c-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-rabbitmq--83d179b9

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

elastic-apm-traceparent 00-dbfa0f7993f51674784dccc9c40146ef-99adeb9067e09c78-01
traceparent 00-dbfa0f7993f51674784dccc9c40146ef-99adeb9067e09c78-01
tracestate cptest=v1
test id
elastic-go--grpc-rabbitmq--83d179b9
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
Kafka HTTP baggage tracestate traceparent ot-baggage delivered via http

Seeded on the inbound Kafka record headers

baggage routing-key=rk-19c2f4cd,team=alpha
ot-baggage-routing-key rk-19c2f4cd
traceparent 00-554b66948e5af7f7107abedcf77ec05f-8354ce03339276d1-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-http--84fa01c4

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 46
content-type application/json
elastic-apm-traceparent 00-554b66948e5af7f7107abedcf77ec05f-0c1bf9faf7e813f0-01
traceparent 00-554b66948e5af7f7107abedcf77ec05f-0c1bf9faf7e813f0-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--kafka-http--84fa01c4
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
Kafka gRPC baggage tracestate traceparent ot-baggage delivered via grpc

Seeded on the inbound Kafka record headers

baggage routing-key=rk-5ca8e9ab,team=alpha
ot-baggage-routing-key rk-5ca8e9ab
traceparent 00-1f31cb3e0a5dd1da47941278014e0417-87dd67137850b683-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-grpc--30f6a471

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-1f31cb3e0a5dd1da47941278014e0417-41c814d40587066d-01
traceparent 00-1f31cb3e0a5dd1da47941278014e0417-41c814d40587066d-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--kafka-grpc--30f6a471
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
Kafka Kafka baggage tracestate traceparent ot-baggage delivered via kafka

Seeded on the inbound Kafka record headers

baggage routing-key=rk-2c5ee979,team=alpha
ot-baggage-routing-key rk-2c5ee979
traceparent 00-c58312c9dbb6abd3e4f98b6a2b87c60f-995779635ddceca5-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-kafka--ed34a502

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-c58312c9dbb6abd3e4f98b6a2b87c60f-cffbebb5b6e60b5d-01
traceparent 00-c58312c9dbb6abd3e4f98b6a2b87c60f-cffbebb5b6e60b5d-01
tracestate cptest=v1
test id
elastic-go--kafka-kafka--ed34a502
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
Kafka RabbitMQ baggage tracestate traceparent ot-baggage delivered via rabbitmq

Seeded on the inbound Kafka record headers

baggage routing-key=rk-a5375321,team=alpha
ot-baggage-routing-key rk-a5375321
traceparent 00-da78b34204aa76b580e2fa100472d350-b85c9417092382d0-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-rabbitmq--387fa9bc

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

elastic-apm-traceparent 00-da78b34204aa76b580e2fa100472d350-333c549f9d108a51-01
traceparent 00-da78b34204aa76b580e2fa100472d350-333c549f9d108a51-01
tracestate cptest=v1
test id
elastic-go--kafka-rabbitmq--387fa9bc
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_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-e8927ed4,team=alpha
ot-baggage-routing-key rk-e8927ed4
traceparent 00-bb93acdf6703fd946541e7e1b6ed9481-58c40c8ac10060e8-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-http--2c3a044f

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 49
content-type application/json
elastic-apm-traceparent 00-bb93acdf6703fd946541e7e1b6ed9481-dce9d57c3b5e3a47-01
traceparent 00-bb93acdf6703fd946541e7e1b6ed9481-dce9d57c3b5e3a47-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--rabbitmq-http--2c3a044f
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_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-9229a984,team=alpha
ot-baggage-routing-key rk-9229a984
traceparent 00-670374bcad6cdaeee5e066e3f17f16d3-fa3794c98455f125-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-grpc--ed095f6f

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-670374bcad6cdaeee5e066e3f17f16d3-c414b24ed14bb7e4-01
traceparent 00-670374bcad6cdaeee5e066e3f17f16d3-c414b24ed14bb7e4-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--rabbitmq-grpc--ed095f6f
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_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-3c334972,team=alpha
ot-baggage-routing-key rk-3c334972
traceparent 00-7496a75471521ead8a26d26103781b64-64e794c9e3b8aba2-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-kafka--73298b9c

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-7496a75471521ead8a26d26103781b64-e52dfb29fd00e88b-01
traceparent 00-7496a75471521ead8a26d26103781b64-e52dfb29fd00e88b-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-kafka--73298b9c
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_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-69ffa4b2,team=alpha
ot-baggage-routing-key rk-69ffa4b2
traceparent 00-415d3c31cb156a7b253b4e7fac857ac8-0164052f928f74ac-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-rabbitmq--abf9824d

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

elastic-apm-traceparent 00-415d3c31cb156a7b253b4e7fac857ac8-7c776cf2e97cc93d-01
traceparent 00-415d3c31cb156a7b253b4e7fac857ac8-7c776cf2e97cc93d-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-rabbitmq--abf9824d
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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