elastic-go

Go in-code go.elastic.co/apm2.7.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.7.0 reported as v2.7.0 2.7.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
9 Nov 2026, 20:03 UTC
Harness
9b99070 · measured in backtest-elastic-go-2.7.0
Raw JSON
2.7.0.json → variants[id = "elastic-go"]

Libraries

grpcapmgrpc v2.7.0 (unary interceptors)
httpapmhttp v2.7.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-74df919e,team=alpha
ot-baggage-routing-key rk-74df919e
traceparent 00-24c23f49cfca2e1bb764f3bbef18a8bb-744bbb12926cda48-01
tracestate cptest=v1
x-cp-canary elastic-go--http-http--ec5539c7

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-24c23f49cfca2e1bb764f3bbef18a8bb-068eb6e8ba41a6cd-01
traceparent 00-24c23f49cfca2e1bb764f3bbef18a8bb-068eb6e8ba41a6cd-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--http-http--ec5539c7
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-d4e3631b,team=alpha
ot-baggage-routing-key rk-d4e3631b
traceparent 00-8d7ace0f6007aaafb3b7581d2a6996b2-823846116d3cb20c-01
tracestate cptest=v1
x-cp-canary elastic-go--http-grpc--16e0ef53

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-8d7ace0f6007aaafb3b7581d2a6996b2-38e7cb8457f954df-01
traceparent 00-8d7ace0f6007aaafb3b7581d2a6996b2-38e7cb8457f954df-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--http-grpc--16e0ef53
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-640e0632,team=alpha
ot-baggage-routing-key rk-640e0632
traceparent 00-f235856217679ca8d6d2722e7c65f209-37dbb9373e0f1bf2-01
tracestate cptest=v1
x-cp-canary elastic-go--http-kafka--47568b3c

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-f235856217679ca8d6d2722e7c65f209-7de913f5e4da04ca-01
traceparent 00-f235856217679ca8d6d2722e7c65f209-7de913f5e4da04ca-01
tracestate cptest=v1
test id
elastic-go--http-kafka--47568b3c
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-6197dd0a,team=alpha
ot-baggage-routing-key rk-6197dd0a
traceparent 00-79d59469b16ee7fb26a1cf417a3a4173-b8f8f7f917653871-01
tracestate cptest=v1
x-cp-canary elastic-go--http-rabbitmq--73f7685c

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

elastic-apm-traceparent 00-79d59469b16ee7fb26a1cf417a3a4173-03a53256a518b2af-01
traceparent 00-79d59469b16ee7fb26a1cf417a3a4173-03a53256a518b2af-01
tracestate cptest=v1
test id
elastic-go--http-rabbitmq--73f7685c
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-134811fb,team=alpha
ot-baggage-routing-key rk-134811fb
traceparent 00-c73b7e869f2dc7aed10397841db7c989-932f47cf793b83ed-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-http--b8306cee

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-c73b7e869f2dc7aed10397841db7c989-0eafcd329a6219d3-01
traceparent 00-c73b7e869f2dc7aed10397841db7c989-0eafcd329a6219d3-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--grpc-http--b8306cee
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-8dd0e15a,team=alpha
ot-baggage-routing-key rk-8dd0e15a
traceparent 00-56745e4693ec87a5b451e075f8b0ea94-cd0ca89561ca233d-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-grpc--a6847f0f

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-56745e4693ec87a5b451e075f8b0ea94-6ad4cf3372bf136a-01
traceparent 00-56745e4693ec87a5b451e075f8b0ea94-6ad4cf3372bf136a-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--grpc-grpc--a6847f0f
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-7bd17ce6,team=alpha
ot-baggage-routing-key rk-7bd17ce6
traceparent 00-1efcf00226744fc108a4c27c817a308b-222f9228f1767ae0-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-kafka--9c864bee

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-1efcf00226744fc108a4c27c817a308b-3c9251fc2a9f3460-01
traceparent 00-1efcf00226744fc108a4c27c817a308b-3c9251fc2a9f3460-01
tracestate cptest=v1
test id
elastic-go--grpc-kafka--9c864bee
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-8e039336,team=alpha
ot-baggage-routing-key rk-8e039336
traceparent 00-1895750a7e4b9170cae9a2936b006adc-7885c8f3ca42c1be-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-rabbitmq--d7702340

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

elastic-apm-traceparent 00-1895750a7e4b9170cae9a2936b006adc-1f304aa86e75244b-01
traceparent 00-1895750a7e4b9170cae9a2936b006adc-1f304aa86e75244b-01
tracestate cptest=v1
test id
elastic-go--grpc-rabbitmq--d7702340
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-119129fa,team=alpha
ot-baggage-routing-key rk-119129fa
traceparent 00-da7bb516afb32991ee75a5d76b2827fb-4c614ece38653936-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-http--d5f85ea5

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 46
content-type application/json
elastic-apm-traceparent 00-da7bb516afb32991ee75a5d76b2827fb-55958933a6d37417-01
traceparent 00-da7bb516afb32991ee75a5d76b2827fb-55958933a6d37417-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--kafka-http--d5f85ea5
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-c45ee839,team=alpha
ot-baggage-routing-key rk-c45ee839
traceparent 00-fdf1ac0ae236283b8482a13b87dc4f3a-2d722c3b309457ce-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-grpc--8a7d82f8

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-fdf1ac0ae236283b8482a13b87dc4f3a-be4292dde37f7635-01
traceparent 00-fdf1ac0ae236283b8482a13b87dc4f3a-be4292dde37f7635-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--kafka-grpc--8a7d82f8
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-5ca53a22,team=alpha
ot-baggage-routing-key rk-5ca53a22
traceparent 00-d172aeed1619497859f23bc33551875f-23f35d4e20711869-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-kafka--b6a7ff69

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-d172aeed1619497859f23bc33551875f-db48397f173e9484-01
traceparent 00-d172aeed1619497859f23bc33551875f-db48397f173e9484-01
tracestate cptest=v1
test id
elastic-go--kafka-kafka--b6a7ff69
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-941ed58e,team=alpha
ot-baggage-routing-key rk-941ed58e
traceparent 00-cbbb86737a95f41eecb3152054a7134d-8f8ea80cc8ba2f8e-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-rabbitmq--4402a000

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

elastic-apm-traceparent 00-cbbb86737a95f41eecb3152054a7134d-a638e9b062fddb2b-01
traceparent 00-cbbb86737a95f41eecb3152054a7134d-a638e9b062fddb2b-01
tracestate cptest=v1
test id
elastic-go--kafka-rabbitmq--4402a000
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-f894667f,team=alpha
ot-baggage-routing-key rk-f894667f
traceparent 00-63fffe7f9c48d7976b1cae573bd6cd5a-a36a6b62767d56d5-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-http--58e8a39e

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 49
content-type application/json
elastic-apm-traceparent 00-63fffe7f9c48d7976b1cae573bd6cd5a-3e519060f846a948-01
traceparent 00-63fffe7f9c48d7976b1cae573bd6cd5a-3e519060f846a948-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--rabbitmq-http--58e8a39e
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-06be1812,team=alpha
ot-baggage-routing-key rk-06be1812
traceparent 00-1dec4893f0b21b4dc2b101d35cc7cb5f-4c598fb8d233576e-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-grpc--f18029ee

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-1dec4893f0b21b4dc2b101d35cc7cb5f-7a544eb83d8dd678-01
traceparent 00-1dec4893f0b21b4dc2b101d35cc7cb5f-7a544eb83d8dd678-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--rabbitmq-grpc--f18029ee
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-b9417c61,team=alpha
ot-baggage-routing-key rk-b9417c61
traceparent 00-d60909929a30d8df89efde8e3cb745ed-b1adff612769b49b-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-kafka--32c3fc91

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-d60909929a30d8df89efde8e3cb745ed-8de8a48443dbd28c-01
traceparent 00-d60909929a30d8df89efde8e3cb745ed-8de8a48443dbd28c-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-kafka--32c3fc91
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-077ee6f1,team=alpha
ot-baggage-routing-key rk-077ee6f1
traceparent 00-24fc357626227c7a75a5d1e9bdb0b519-6e978c1a22f9156a-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-rabbitmq--2c13dad6

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

elastic-apm-traceparent 00-24fc357626227c7a75a5d1e9bdb0b519-e8f4e80e63cb3062-01
traceparent 00-24fc357626227c7a75a5d1e9bdb0b519-e8f4e80e63cb3062-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-rabbitmq--2c13dad6
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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