elastic-go

Go in-code go.elastic.co/apm2.6.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.6.0 reported as v2.6.0 2.6.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, 07:54 UTC
Harness
9b99070 · measured in backtest-elastic-go-2.6.0
Raw JSON
2.6.0.json → variants[id = "elastic-go"]

Libraries

grpcapmgrpc v2.6.0 (unary interceptors)
httpapmhttp v2.6.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-93ff86b6,team=alpha
ot-baggage-routing-key rk-93ff86b6
traceparent 00-30f5eda76451dd49e977adedc6fc7648-c40de82b53ccb32e-01
tracestate cptest=v1
x-cp-canary elastic-go--http-http--dfb3db9b

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-30f5eda76451dd49e977adedc6fc7648-d05438f356ed8dc4-01
traceparent 00-30f5eda76451dd49e977adedc6fc7648-d05438f356ed8dc4-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--http-http--dfb3db9b
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-5d8f87bd,team=alpha
ot-baggage-routing-key rk-5d8f87bd
traceparent 00-7da78e8132b73db1257d0fdb20f826b5-77f138dad833fd2a-01
tracestate cptest=v1
x-cp-canary elastic-go--http-grpc--3bb91b76

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-7da78e8132b73db1257d0fdb20f826b5-00460e89a3f06ff2-01
traceparent 00-7da78e8132b73db1257d0fdb20f826b5-00460e89a3f06ff2-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--http-grpc--3bb91b76
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-d24eff3d,team=alpha
ot-baggage-routing-key rk-d24eff3d
traceparent 00-567fb39065b41b0bcc39be4f108b8e84-04ce4940a2291038-01
tracestate cptest=v1
x-cp-canary elastic-go--http-kafka--b46c1c19

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-567fb39065b41b0bcc39be4f108b8e84-dedd699ef9ea344b-01
traceparent 00-567fb39065b41b0bcc39be4f108b8e84-dedd699ef9ea344b-01
tracestate cptest=v1
test id
elastic-go--http-kafka--b46c1c19
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-1202f4d2,team=alpha
ot-baggage-routing-key rk-1202f4d2
traceparent 00-b8175c52a5c975eb070f43959c5fff45-42dab87c521a6738-01
tracestate cptest=v1
x-cp-canary elastic-go--http-rabbitmq--49b95fe2

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

elastic-apm-traceparent 00-b8175c52a5c975eb070f43959c5fff45-3670b296d3a0bab0-01
traceparent 00-b8175c52a5c975eb070f43959c5fff45-3670b296d3a0bab0-01
tracestate cptest=v1
test id
elastic-go--http-rabbitmq--49b95fe2
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-4973ec18,team=alpha
ot-baggage-routing-key rk-4973ec18
traceparent 00-35e45573f5679b262a0553505abf8097-867de2260dcdd514-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-http--ff499653

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-35e45573f5679b262a0553505abf8097-8a16994b067e4434-01
traceparent 00-35e45573f5679b262a0553505abf8097-8a16994b067e4434-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--grpc-http--ff499653
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-03ca9dfa,team=alpha
ot-baggage-routing-key rk-03ca9dfa
traceparent 00-1e5149b515f6c6273d7f10a06a696a17-4e83d9ddc83ae46a-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-grpc--27e513d4

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-1e5149b515f6c6273d7f10a06a696a17-cffa60da55e67c9c-01
traceparent 00-1e5149b515f6c6273d7f10a06a696a17-cffa60da55e67c9c-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--grpc-grpc--27e513d4
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-6c971064,team=alpha
ot-baggage-routing-key rk-6c971064
traceparent 00-75462f223890a2055c278ba424b80251-f9a6bfa01ffb0d26-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-kafka--c095a7df

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-75462f223890a2055c278ba424b80251-4518fa23ebd3259c-01
traceparent 00-75462f223890a2055c278ba424b80251-4518fa23ebd3259c-01
tracestate cptest=v1
test id
elastic-go--grpc-kafka--c095a7df
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-904490f9,team=alpha
ot-baggage-routing-key rk-904490f9
traceparent 00-d0669b8a263e7201349ee7e99745a262-1181915d2be97eef-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-rabbitmq--455e99c7

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

elastic-apm-traceparent 00-d0669b8a263e7201349ee7e99745a262-4dfe16ad0874b243-01
traceparent 00-d0669b8a263e7201349ee7e99745a262-4dfe16ad0874b243-01
tracestate cptest=v1
test id
elastic-go--grpc-rabbitmq--455e99c7
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-4dc9ed0d,team=alpha
ot-baggage-routing-key rk-4dc9ed0d
traceparent 00-5983a2c09f72ea1066ca4d2a3a7029db-59e19a4e57c175b0-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-http--514a6770

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 46
content-type application/json
elastic-apm-traceparent 00-5983a2c09f72ea1066ca4d2a3a7029db-846848c12a3489ed-01
traceparent 00-5983a2c09f72ea1066ca4d2a3a7029db-846848c12a3489ed-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--kafka-http--514a6770
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-86824de3,team=alpha
ot-baggage-routing-key rk-86824de3
traceparent 00-2f5e51042ee5ac099b61bb3fb630ebc2-a8a4988b280dce58-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-grpc--925aaa19

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-2f5e51042ee5ac099b61bb3fb630ebc2-099e857926884b29-01
traceparent 00-2f5e51042ee5ac099b61bb3fb630ebc2-099e857926884b29-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--kafka-grpc--925aaa19
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-a8d45236,team=alpha
ot-baggage-routing-key rk-a8d45236
traceparent 00-3b3587f2a3086bc77c67d6f5b24c9115-0717c3a7cd75a5d0-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-kafka--c5cde22e

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-3b3587f2a3086bc77c67d6f5b24c9115-c8a71ede37e492a0-01
traceparent 00-3b3587f2a3086bc77c67d6f5b24c9115-c8a71ede37e492a0-01
tracestate cptest=v1
test id
elastic-go--kafka-kafka--c5cde22e
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-9c4fbda9,team=alpha
ot-baggage-routing-key rk-9c4fbda9
traceparent 00-9a08735d605a891397fe24b9d813a3b3-a1811321c3f25706-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-rabbitmq--3ff30aa1

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

elastic-apm-traceparent 00-9a08735d605a891397fe24b9d813a3b3-52cde0acf62e6895-01
traceparent 00-9a08735d605a891397fe24b9d813a3b3-52cde0acf62e6895-01
tracestate cptest=v1
test id
elastic-go--kafka-rabbitmq--3ff30aa1
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-c40894de,team=alpha
ot-baggage-routing-key rk-c40894de
traceparent 00-45825b78fe3b6abe61bc42246c118c39-9a48cf6b006b5d25-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-http--ad62d62f

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 49
content-type application/json
elastic-apm-traceparent 00-45825b78fe3b6abe61bc42246c118c39-5f2564b080e5b9b5-01
traceparent 00-45825b78fe3b6abe61bc42246c118c39-5f2564b080e5b9b5-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--rabbitmq-http--ad62d62f
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-fedad65c,team=alpha
ot-baggage-routing-key rk-fedad65c
traceparent 00-72aec77337f5f131dcf522226f6f8375-233ad2558d277796-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-grpc--af48f43e

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-72aec77337f5f131dcf522226f6f8375-a6a1cf5432cf4aad-01
traceparent 00-72aec77337f5f131dcf522226f6f8375-a6a1cf5432cf4aad-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--rabbitmq-grpc--af48f43e
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-3a9fb927,team=alpha
ot-baggage-routing-key rk-3a9fb927
traceparent 00-c2fac7b8f5b23f94d4635d2b0587480c-f77c1e696034decc-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-kafka--117c5f76

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-c2fac7b8f5b23f94d4635d2b0587480c-7fd526eeb407efe7-01
traceparent 00-c2fac7b8f5b23f94d4635d2b0587480c-7fd526eeb407efe7-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-kafka--117c5f76
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-d72c5bc1,team=alpha
ot-baggage-routing-key rk-d72c5bc1
traceparent 00-59e612b6f7abcdfe611e4d657a22336c-9e021145a2954135-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-rabbitmq--228368bc

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

elastic-apm-traceparent 00-59e612b6f7abcdfe611e4d657a22336c-83ba42ca827c7b4d-01
traceparent 00-59e612b6f7abcdfe611e4d657a22336c-83ba42ca827c7b4d-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-rabbitmq--228368bc
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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