elastic-go

Go in-code go.elastic.co/apm2.7.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.7.8 reported as v2.7.8 2.7.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
1 Nov 2026, 05:41 UTC
Harness
e793604 · measured in backtest-elastic-go-2.7.8
Raw JSON
2.7.8.json → variants[id = "elastic-go"]

Libraries

grpcapmgrpc v2.7.8 (unary interceptors)
httpapmhttp v2.7.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-dd667d37,team=alpha
ot-baggage-routing-key rk-dd667d37
traceparent 00-0c4214a6539308803719c62433272f3f-fe029c7a4b0908cc-01
tracestate cptest=v1
x-cp-canary elastic-go--http-http--84702ed3

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-0c4214a6539308803719c62433272f3f-4f516ca1a4171745-01
traceparent 00-0c4214a6539308803719c62433272f3f-4f516ca1a4171745-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--http-http--84702ed3
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-455d878a,team=alpha
ot-baggage-routing-key rk-455d878a
traceparent 00-eb5e9f51e5400706281eb78a8672ab3f-0b8d19173715b6b0-01
tracestate cptest=v1
x-cp-canary elastic-go--http-grpc--0cf6a07d

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-eb5e9f51e5400706281eb78a8672ab3f-1dbfbcab533e6c3c-01
traceparent 00-eb5e9f51e5400706281eb78a8672ab3f-1dbfbcab533e6c3c-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--http-grpc--0cf6a07d
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-22992b92,team=alpha
ot-baggage-routing-key rk-22992b92
traceparent 00-d776395a7ec0db01eb43faec23e83dc5-a230b00a41b1d1af-01
tracestate cptest=v1
x-cp-canary elastic-go--http-kafka--1eceb154

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-d776395a7ec0db01eb43faec23e83dc5-d9ce1f8323947ed7-01
traceparent 00-d776395a7ec0db01eb43faec23e83dc5-d9ce1f8323947ed7-01
tracestate cptest=v1
test id
elastic-go--http-kafka--1eceb154
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-fe11283e,team=alpha
ot-baggage-routing-key rk-fe11283e
traceparent 00-3eb582a35db21a518a389d39e1fb78ad-a326d3a0fa88a3a3-01
tracestate cptest=v1
x-cp-canary elastic-go--http-rabbitmq--68689d45

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

elastic-apm-traceparent 00-3eb582a35db21a518a389d39e1fb78ad-e778512b899993d8-01
traceparent 00-3eb582a35db21a518a389d39e1fb78ad-e778512b899993d8-01
tracestate cptest=v1
test id
elastic-go--http-rabbitmq--68689d45
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-3be2d4b2,team=alpha
ot-baggage-routing-key rk-3be2d4b2
traceparent 00-e24a2eef03942fabe9f77ae3a48a7e6e-db4236b0c62fcfd5-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-http--72908904

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-e24a2eef03942fabe9f77ae3a48a7e6e-6356cf959c1eb65b-01
traceparent 00-e24a2eef03942fabe9f77ae3a48a7e6e-6356cf959c1eb65b-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--grpc-http--72908904
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-2396eb6e,team=alpha
ot-baggage-routing-key rk-2396eb6e
traceparent 00-6810067eef113613b1d89b1b33e115f6-1ad108e1f8253e3d-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-grpc--afaeec52

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-6810067eef113613b1d89b1b33e115f6-c57e0681abc75628-01
traceparent 00-6810067eef113613b1d89b1b33e115f6-c57e0681abc75628-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--grpc-grpc--afaeec52
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-6325c279,team=alpha
ot-baggage-routing-key rk-6325c279
traceparent 00-49bce650eec26767a656f5d4168ab489-5f0580b27916dca1-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-kafka--8fa0aa5c

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-49bce650eec26767a656f5d4168ab489-9b0b7b1906fffa8c-01
traceparent 00-49bce650eec26767a656f5d4168ab489-9b0b7b1906fffa8c-01
tracestate cptest=v1
test id
elastic-go--grpc-kafka--8fa0aa5c
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-7b67c8b0,team=alpha
ot-baggage-routing-key rk-7b67c8b0
traceparent 00-b727de801bffa5d59a02c8cb8cb86395-2d4e4af8fd88f31d-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-rabbitmq--50391cea

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

elastic-apm-traceparent 00-b727de801bffa5d59a02c8cb8cb86395-ca5c5870d696bd58-01
traceparent 00-b727de801bffa5d59a02c8cb8cb86395-ca5c5870d696bd58-01
tracestate cptest=v1
test id
elastic-go--grpc-rabbitmq--50391cea
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-0d2bb38c,team=alpha
ot-baggage-routing-key rk-0d2bb38c
traceparent 00-0eb0d676de43851c9689035df7ec642f-30e0de8e85c387ea-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-http--a1541709

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 46
content-type application/json
elastic-apm-traceparent 00-0eb0d676de43851c9689035df7ec642f-611c4c9008ad5e98-01
traceparent 00-0eb0d676de43851c9689035df7ec642f-611c4c9008ad5e98-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--kafka-http--a1541709
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-04d3caa2,team=alpha
ot-baggage-routing-key rk-04d3caa2
traceparent 00-38eab271a320bc2dcb282f4b3fbe4229-f1bf30c30be01e88-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-grpc--d312d800

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-38eab271a320bc2dcb282f4b3fbe4229-a71dd22f252cd4f2-01
traceparent 00-38eab271a320bc2dcb282f4b3fbe4229-a71dd22f252cd4f2-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--kafka-grpc--d312d800
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-c28e9aef,team=alpha
ot-baggage-routing-key rk-c28e9aef
traceparent 00-e8728b54f8e0d14a4092a8531537dfc6-6642ce1c563e692d-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-kafka--ad9261f5

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-e8728b54f8e0d14a4092a8531537dfc6-891b708ec0a2b064-01
traceparent 00-e8728b54f8e0d14a4092a8531537dfc6-891b708ec0a2b064-01
tracestate cptest=v1
test id
elastic-go--kafka-kafka--ad9261f5
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-565a0e01,team=alpha
ot-baggage-routing-key rk-565a0e01
traceparent 00-f75f16fe3b72aa1fd90bdfc4b90a69e8-b0fe6831b63fcda1-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-rabbitmq--8c09a9c4

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

elastic-apm-traceparent 00-f75f16fe3b72aa1fd90bdfc4b90a69e8-3563b7d852bcc577-01
traceparent 00-f75f16fe3b72aa1fd90bdfc4b90a69e8-3563b7d852bcc577-01
tracestate cptest=v1
test id
elastic-go--kafka-rabbitmq--8c09a9c4
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-2fb06f11,team=alpha
ot-baggage-routing-key rk-2fb06f11
traceparent 00-22d51efc29fa5ba04366aa084d9ac638-d1c859d59f09b75f-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-http--18055ee2

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 49
content-type application/json
elastic-apm-traceparent 00-22d51efc29fa5ba04366aa084d9ac638-f22c963a9838aee7-01
traceparent 00-22d51efc29fa5ba04366aa084d9ac638-f22c963a9838aee7-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--rabbitmq-http--18055ee2
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-5268d6be,team=alpha
ot-baggage-routing-key rk-5268d6be
traceparent 00-a8986fa8cf61da95b53fae19d750a687-9efc8b8149eda5f4-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-grpc--a9813307

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-a8986fa8cf61da95b53fae19d750a687-773bd55019ffa263-01
traceparent 00-a8986fa8cf61da95b53fae19d750a687-773bd55019ffa263-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--rabbitmq-grpc--a9813307
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-218c513f,team=alpha
ot-baggage-routing-key rk-218c513f
traceparent 00-e97d41381f589ec15707d987d97cae99-1b19e5192b57e130-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-kafka--bcb42f5a

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-e97d41381f589ec15707d987d97cae99-99b1045b24b2a3c2-01
traceparent 00-e97d41381f589ec15707d987d97cae99-99b1045b24b2a3c2-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-kafka--bcb42f5a
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-dec381ad,team=alpha
ot-baggage-routing-key rk-dec381ad
traceparent 00-7a7cabaa0469755cbfaad15a9a946050-22cc6352abb14954-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-rabbitmq--66adc3ae

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

elastic-apm-traceparent 00-7a7cabaa0469755cbfaad15a9a946050-e0f5b383bd0a16f8-01
traceparent 00-7a7cabaa0469755cbfaad15a9a946050-e0f5b383bd0a16f8-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-rabbitmq--66adc3ae
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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