elastic-go

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

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.7.9 reported as v2.7.9 2.7.9 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
1 Nov 2026, 05:40 UTC
Harness
e793604 · measured in backtest-elastic-go-2.7.9
Raw JSON
2.7.9.json → variants[id = "elastic-go"]

Libraries

grpcapmgrpc v2.7.9 (unary interceptors)
httpapmhttp v2.7.9 (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-55d370e2,team=alpha
ot-baggage-routing-key rk-55d370e2
traceparent 00-de8d3f5d04b08593baf970a69adbadc4-234c3a514458979a-01
tracestate cptest=v1
x-cp-canary elastic-go--http-http--4cbe9ace

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-de8d3f5d04b08593baf970a69adbadc4-8f630f5d492987ad-01
traceparent 00-de8d3f5d04b08593baf970a69adbadc4-8f630f5d492987ad-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--http-http--4cbe9ace
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-1d514d00,team=alpha
ot-baggage-routing-key rk-1d514d00
traceparent 00-d99e0400e7a191707d1b69a60b7eba9c-ae35b9022d2d3d3d-01
tracestate cptest=v1
x-cp-canary elastic-go--http-grpc--e877d4a7

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-d99e0400e7a191707d1b69a60b7eba9c-b360b02c67c3d3ff-01
traceparent 00-d99e0400e7a191707d1b69a60b7eba9c-b360b02c67c3d3ff-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--http-grpc--e877d4a7
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-f7b0942e,team=alpha
ot-baggage-routing-key rk-f7b0942e
traceparent 00-c22312afb4f151a3cc8b0f3258f6dd2d-348857c39a8d3f0f-01
tracestate cptest=v1
x-cp-canary elastic-go--http-kafka--e7dcbd85

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-c22312afb4f151a3cc8b0f3258f6dd2d-16aeb4e2b0b261e5-01
traceparent 00-c22312afb4f151a3cc8b0f3258f6dd2d-16aeb4e2b0b261e5-01
tracestate cptest=v1
test id
elastic-go--http-kafka--e7dcbd85
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-2d93746e,team=alpha
ot-baggage-routing-key rk-2d93746e
traceparent 00-6c9f584f602af4b47d04143b2a7d42a4-ca78da519ea1320c-01
tracestate cptest=v1
x-cp-canary elastic-go--http-rabbitmq--d0086b81

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

elastic-apm-traceparent 00-6c9f584f602af4b47d04143b2a7d42a4-345c402e0f3d9fbb-01
traceparent 00-6c9f584f602af4b47d04143b2a7d42a4-345c402e0f3d9fbb-01
tracestate cptest=v1
test id
elastic-go--http-rabbitmq--d0086b81
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-f2fceef2,team=alpha
ot-baggage-routing-key rk-f2fceef2
traceparent 00-b89a1845304670f0f2de7c715f6019b3-17204a506057605f-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-http--edf68689

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-b89a1845304670f0f2de7c715f6019b3-3c520d9537a76f6e-01
traceparent 00-b89a1845304670f0f2de7c715f6019b3-3c520d9537a76f6e-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--grpc-http--edf68689
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-c70ce8d1,team=alpha
ot-baggage-routing-key rk-c70ce8d1
traceparent 00-4b58c91fb9118dbdfde177946594f0fb-259b312ff152b894-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-grpc--0dcf2794

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-4b58c91fb9118dbdfde177946594f0fb-b1aeb7f8d6fb0778-01
traceparent 00-4b58c91fb9118dbdfde177946594f0fb-b1aeb7f8d6fb0778-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--grpc-grpc--0dcf2794
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-6f64e4dc,team=alpha
ot-baggage-routing-key rk-6f64e4dc
traceparent 00-00f1f7dd7273ffdcf31879361d546a11-379826a46b327e82-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-kafka--1d4b653c

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-00f1f7dd7273ffdcf31879361d546a11-d2e362f8fea0ae57-01
traceparent 00-00f1f7dd7273ffdcf31879361d546a11-d2e362f8fea0ae57-01
tracestate cptest=v1
test id
elastic-go--grpc-kafka--1d4b653c
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-f82cad29,team=alpha
ot-baggage-routing-key rk-f82cad29
traceparent 00-8930078a9e5836d72f43c165defec032-faa3950b59be067d-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-rabbitmq--9f2cf3fc

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

elastic-apm-traceparent 00-8930078a9e5836d72f43c165defec032-2f7c6e38cbcb6c99-01
traceparent 00-8930078a9e5836d72f43c165defec032-2f7c6e38cbcb6c99-01
tracestate cptest=v1
test id
elastic-go--grpc-rabbitmq--9f2cf3fc
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-dc502063,team=alpha
ot-baggage-routing-key rk-dc502063
traceparent 00-01840aa50c9867459fbb49b8e7f2876b-bcc9821e13cd7af6-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-http--6345ccef

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 46
content-type application/json
elastic-apm-traceparent 00-01840aa50c9867459fbb49b8e7f2876b-bdd7b2d9edb4602d-01
traceparent 00-01840aa50c9867459fbb49b8e7f2876b-bdd7b2d9edb4602d-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--kafka-http--6345ccef
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-bf320e48,team=alpha
ot-baggage-routing-key rk-bf320e48
traceparent 00-577c5c000064dd23cb6841027452e634-d73b61d970099eef-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-grpc--0c837a20

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-577c5c000064dd23cb6841027452e634-7b90f973a43765f3-01
traceparent 00-577c5c000064dd23cb6841027452e634-7b90f973a43765f3-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--kafka-grpc--0c837a20
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-18946727,team=alpha
ot-baggage-routing-key rk-18946727
traceparent 00-d61d868c2e1cf343595dc40ccb519c8c-0759c5c35ea30e4a-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-kafka--600cb930

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-d61d868c2e1cf343595dc40ccb519c8c-1bdc2aafde9ab7f3-01
traceparent 00-d61d868c2e1cf343595dc40ccb519c8c-1bdc2aafde9ab7f3-01
tracestate cptest=v1
test id
elastic-go--kafka-kafka--600cb930
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-569656ed,team=alpha
ot-baggage-routing-key rk-569656ed
traceparent 00-198d9ae0111fb801b9ad8724fa220431-d4e84a9efead2992-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-rabbitmq--52d2af77

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

elastic-apm-traceparent 00-198d9ae0111fb801b9ad8724fa220431-fddc2b5fbd6884a4-01
traceparent 00-198d9ae0111fb801b9ad8724fa220431-fddc2b5fbd6884a4-01
tracestate cptest=v1
test id
elastic-go--kafka-rabbitmq--52d2af77
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-a1e7d39f,team=alpha
ot-baggage-routing-key rk-a1e7d39f
traceparent 00-a6a8a6e1ccdc2c550917a72698de3382-a9681f251b4ae0e3-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-http--5d81b056

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 49
content-type application/json
elastic-apm-traceparent 00-a6a8a6e1ccdc2c550917a72698de3382-6219e6bbb406b30b-01
traceparent 00-a6a8a6e1ccdc2c550917a72698de3382-6219e6bbb406b30b-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--rabbitmq-http--5d81b056
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-6512426e,team=alpha
ot-baggage-routing-key rk-6512426e
traceparent 00-ba463a25026c6002efb51a25a38da801-e332c3844dc4c8ed-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-grpc--7a755d9e

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-ba463a25026c6002efb51a25a38da801-ce4062aa70d8da16-01
traceparent 00-ba463a25026c6002efb51a25a38da801-ce4062aa70d8da16-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--rabbitmq-grpc--7a755d9e
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-d9ca09db,team=alpha
ot-baggage-routing-key rk-d9ca09db
traceparent 00-280506d542a3db3fa9669a708448a555-c208e32463f14ee1-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-kafka--694f6a26

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-280506d542a3db3fa9669a708448a555-d66424f972b4da63-01
traceparent 00-280506d542a3db3fa9669a708448a555-d66424f972b4da63-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-kafka--694f6a26
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-0760a882,team=alpha
ot-baggage-routing-key rk-0760a882
traceparent 00-686a189748b59a54685c937f0c041bdb-592e02c5a672527a-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-rabbitmq--3696a372

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

elastic-apm-traceparent 00-686a189748b59a54685c937f0c041bdb-e170c62c0f8bfa43-01
traceparent 00-686a189748b59a54685c937f0c041bdb-e170c62c0f8bfa43-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-rabbitmq--3696a372
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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