elastic-go

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

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.1.0 reported as v2.1.0 2.1.0 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, 10:16 UTC
Harness
374f21d · measured in backtest-elastic-go-2.1.0
Raw JSON
2.1.0.json → variants[id = "elastic-go"]

Libraries

grpcapmgrpc v2.1.0 (unary interceptors)
httpapmhttp v2.1.0 (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-8c7b52b7,team=alpha
ot-baggage-routing-key rk-8c7b52b7
traceparent 00-c00530a2c05a96549a4342bd5cef4244-b15b83b8582fb5b4-01
tracestate cptest=v1
x-cp-canary elastic-go--http-http--daa3d08c

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-c00530a2c05a96549a4342bd5cef4244-8bc439cf0408015a-01
traceparent 00-c00530a2c05a96549a4342bd5cef4244-8bc439cf0408015a-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--http-http--daa3d08c
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-c5735f79,team=alpha
ot-baggage-routing-key rk-c5735f79
traceparent 00-8a370e3872b036252e3ea5cec0ac9487-0a75df7060c7ac17-01
tracestate cptest=v1
x-cp-canary elastic-go--http-grpc--e4b123a3

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-8a370e3872b036252e3ea5cec0ac9487-f4a8fe6dd5d37bd7-01
traceparent 00-8a370e3872b036252e3ea5cec0ac9487-f4a8fe6dd5d37bd7-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--http-grpc--e4b123a3
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-ce409dc9,team=alpha
ot-baggage-routing-key rk-ce409dc9
traceparent 00-7258e0a176e4fdca3bf6f497ddbba3be-7680a7cd3025faf2-01
tracestate cptest=v1
x-cp-canary elastic-go--http-kafka--f46a6b40

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-7258e0a176e4fdca3bf6f497ddbba3be-aa699f4494665db9-01
traceparent 00-7258e0a176e4fdca3bf6f497ddbba3be-aa699f4494665db9-01
tracestate cptest=v1
test id
elastic-go--http-kafka--f46a6b40
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-ec064aaf,team=alpha
ot-baggage-routing-key rk-ec064aaf
traceparent 00-9bdd775f1b1020bb39ac2b939c13a793-11300648fbe85a7b-01
tracestate cptest=v1
x-cp-canary elastic-go--http-rabbitmq--d9592bf1

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

elastic-apm-traceparent 00-9bdd775f1b1020bb39ac2b939c13a793-ebb52af4acd5b1c7-01
traceparent 00-9bdd775f1b1020bb39ac2b939c13a793-ebb52af4acd5b1c7-01
tracestate cptest=v1
test id
elastic-go--http-rabbitmq--d9592bf1
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-16f298ca,team=alpha
ot-baggage-routing-key rk-16f298ca
traceparent 00-393fa4e4d3b457df9c7c7b3708917882-9e1d1c9554ecc316-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-http--9a2ed32e

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-393fa4e4d3b457df9c7c7b3708917882-1ac0f17baaadf7be-01
traceparent 00-393fa4e4d3b457df9c7c7b3708917882-1ac0f17baaadf7be-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--grpc-http--9a2ed32e
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-45ad057f,team=alpha
ot-baggage-routing-key rk-45ad057f
traceparent 00-542851571bd1eb7955db3c71ea6061bd-073eef90891d0c39-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-grpc--67fd4888

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-542851571bd1eb7955db3c71ea6061bd-4d30f9f71efcc5f0-01
traceparent 00-542851571bd1eb7955db3c71ea6061bd-4d30f9f71efcc5f0-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--grpc-grpc--67fd4888
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-0fc63217,team=alpha
ot-baggage-routing-key rk-0fc63217
traceparent 00-1a54279499199c10f58832f114525994-60d08942e91485ab-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-kafka--776f00ca

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-1a54279499199c10f58832f114525994-90b2d982b0eb80d9-01
traceparent 00-1a54279499199c10f58832f114525994-90b2d982b0eb80d9-01
tracestate cptest=v1
test id
elastic-go--grpc-kafka--776f00ca
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-dec58f72,team=alpha
ot-baggage-routing-key rk-dec58f72
traceparent 00-5c9792c3a6b7610a9281f81ba1840f08-a4103401649e413d-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-rabbitmq--b10010ea

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

elastic-apm-traceparent 00-5c9792c3a6b7610a9281f81ba1840f08-454ffa0e56c77aca-01
traceparent 00-5c9792c3a6b7610a9281f81ba1840f08-454ffa0e56c77aca-01
tracestate cptest=v1
test id
elastic-go--grpc-rabbitmq--b10010ea
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-71cd2f5b,team=alpha
ot-baggage-routing-key rk-71cd2f5b
traceparent 00-7160ef075610bd3b870e3e9f60ffbf5d-cff92186870ce3d4-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-http--764a7c5a

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 46
content-type application/json
elastic-apm-traceparent 00-7160ef075610bd3b870e3e9f60ffbf5d-2cba417e195e82c8-01
traceparent 00-7160ef075610bd3b870e3e9f60ffbf5d-2cba417e195e82c8-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--kafka-http--764a7c5a
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-7463bd1f,team=alpha
ot-baggage-routing-key rk-7463bd1f
traceparent 00-362d9904f1c963ddaf29e5477471fb8f-e9d06e7c9c4ce7bb-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-grpc--cfc22eda

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-362d9904f1c963ddaf29e5477471fb8f-1a20fca21ba85fc7-01
traceparent 00-362d9904f1c963ddaf29e5477471fb8f-1a20fca21ba85fc7-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--kafka-grpc--cfc22eda
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-e27bcfa7,team=alpha
ot-baggage-routing-key rk-e27bcfa7
traceparent 00-cec79242433e9f7d53ab2ea6cc489edd-d883d67231d6588b-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-kafka--77cf3ed8

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-cec79242433e9f7d53ab2ea6cc489edd-025596016ecfdfd8-01
traceparent 00-cec79242433e9f7d53ab2ea6cc489edd-025596016ecfdfd8-01
tracestate cptest=v1
test id
elastic-go--kafka-kafka--77cf3ed8
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-dd0ec39e,team=alpha
ot-baggage-routing-key rk-dd0ec39e
traceparent 00-a947503eeaf79ab5f48057c84c54c16b-49e6e8984740d337-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-rabbitmq--8f49f6ec

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

elastic-apm-traceparent 00-a947503eeaf79ab5f48057c84c54c16b-e3a585cda15771f8-01
traceparent 00-a947503eeaf79ab5f48057c84c54c16b-e3a585cda15771f8-01
tracestate cptest=v1
test id
elastic-go--kafka-rabbitmq--8f49f6ec
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-4a2a3955,team=alpha
ot-baggage-routing-key rk-4a2a3955
traceparent 00-0f7dc75eb58331403c58159e87be8caf-76289dcc8ea463f6-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-http--736fac5e

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 49
content-type application/json
elastic-apm-traceparent 00-0f7dc75eb58331403c58159e87be8caf-1c8b70dcf0a1fb7f-01
traceparent 00-0f7dc75eb58331403c58159e87be8caf-1c8b70dcf0a1fb7f-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--rabbitmq-http--736fac5e
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-58bb63c9,team=alpha
ot-baggage-routing-key rk-58bb63c9
traceparent 00-d8e47def1fee3ceddb8340a3a7683b32-707de10cee846bc8-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-grpc--80674e03

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-d8e47def1fee3ceddb8340a3a7683b32-e02cb8700b4a755f-01
traceparent 00-d8e47def1fee3ceddb8340a3a7683b32-e02cb8700b4a755f-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--rabbitmq-grpc--80674e03
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-a70aa5c5,team=alpha
ot-baggage-routing-key rk-a70aa5c5
traceparent 00-9e3b964a17c5fa7a3e99ed9c7a6a8939-244b485fbb5a2699-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-kafka--3c25917d

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-9e3b964a17c5fa7a3e99ed9c7a6a8939-c9efc485fda36177-01
traceparent 00-9e3b964a17c5fa7a3e99ed9c7a6a8939-c9efc485fda36177-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-kafka--3c25917d
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-aabea342,team=alpha
ot-baggage-routing-key rk-aabea342
traceparent 00-a0e07f2e599786b69b895bda4f13e3d6-71fd6ff590ecab26-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-rabbitmq--21888d7b

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

elastic-apm-traceparent 00-a0e07f2e599786b69b895bda4f13e3d6-c0a7f25dad7582df-01
traceparent 00-a0e07f2e599786b69b895bda4f13e3d6-c0a7f25dad7582df-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-rabbitmq--21888d7b
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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