elastic-go

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

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.7 reported as v2.7.7 2.7.7 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:42 UTC
Harness
e793604 · measured in backtest-elastic-go-2.7.7
Raw JSON
2.7.7.json → variants[id = "elastic-go"]

Libraries

grpcapmgrpc v2.7.7 (unary interceptors)
httpapmhttp v2.7.7 (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-f9de59c6,team=alpha
ot-baggage-routing-key rk-f9de59c6
traceparent 00-24164e0e6941a7ccc1c558c9b8a163f2-c631ad4256786cd1-01
tracestate cptest=v1
x-cp-canary elastic-go--http-http--5c8c1656

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-24164e0e6941a7ccc1c558c9b8a163f2-5693d9f2b06313f0-01
traceparent 00-24164e0e6941a7ccc1c558c9b8a163f2-5693d9f2b06313f0-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--http-http--5c8c1656
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-7f4fc379,team=alpha
ot-baggage-routing-key rk-7f4fc379
traceparent 00-bcf06672cd3a3d0196b39358832d5a40-91b9c1aae29904ee-01
tracestate cptest=v1
x-cp-canary elastic-go--http-grpc--e6fbabec

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-bcf06672cd3a3d0196b39358832d5a40-5baa7d41dc7558c4-01
traceparent 00-bcf06672cd3a3d0196b39358832d5a40-5baa7d41dc7558c4-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--http-grpc--e6fbabec
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-bc8d0663,team=alpha
ot-baggage-routing-key rk-bc8d0663
traceparent 00-7c7e28e93046e2b6864f4ae1d9320279-48d138ddc25b4db8-01
tracestate cptest=v1
x-cp-canary elastic-go--http-kafka--2293e2b6

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-7c7e28e93046e2b6864f4ae1d9320279-5a3c559ae9a0c792-01
traceparent 00-7c7e28e93046e2b6864f4ae1d9320279-5a3c559ae9a0c792-01
tracestate cptest=v1
test id
elastic-go--http-kafka--2293e2b6
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-400fdd00,team=alpha
ot-baggage-routing-key rk-400fdd00
traceparent 00-eaa75819130e2632471d6efde9f76861-cd6f63a673951409-01
tracestate cptest=v1
x-cp-canary elastic-go--http-rabbitmq--3ddfe2e2

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

elastic-apm-traceparent 00-eaa75819130e2632471d6efde9f76861-272e2958eacd86fb-01
traceparent 00-eaa75819130e2632471d6efde9f76861-272e2958eacd86fb-01
tracestate cptest=v1
test id
elastic-go--http-rabbitmq--3ddfe2e2
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-133f835c,team=alpha
ot-baggage-routing-key rk-133f835c
traceparent 00-69cc1154b2eee65b1aa14154f1f84795-05cff7fe1d6c1760-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-http--10e8867e

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-69cc1154b2eee65b1aa14154f1f84795-90b01a225f16d6ad-01
traceparent 00-69cc1154b2eee65b1aa14154f1f84795-90b01a225f16d6ad-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--grpc-http--10e8867e
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-8c832393,team=alpha
ot-baggage-routing-key rk-8c832393
traceparent 00-36f9b985e029dbb878551abedbc213e8-e8e232c413e329bd-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-grpc--7b551d9f

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-36f9b985e029dbb878551abedbc213e8-f3a9aef9c16309c4-01
traceparent 00-36f9b985e029dbb878551abedbc213e8-f3a9aef9c16309c4-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--grpc-grpc--7b551d9f
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-cb9c4c56,team=alpha
ot-baggage-routing-key rk-cb9c4c56
traceparent 00-fd6f6663aa60ca11ef6584bf60960df6-3a1feba9eb8cbd47-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-kafka--390ed8d2

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-fd6f6663aa60ca11ef6584bf60960df6-73d226d0329d411a-01
traceparent 00-fd6f6663aa60ca11ef6584bf60960df6-73d226d0329d411a-01
tracestate cptest=v1
test id
elastic-go--grpc-kafka--390ed8d2
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-883cc4c3,team=alpha
ot-baggage-routing-key rk-883cc4c3
traceparent 00-775b75ce03e94a81a56a05398f3914e4-514e4cc32b27f893-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-rabbitmq--c12d8283

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

elastic-apm-traceparent 00-775b75ce03e94a81a56a05398f3914e4-aa3f9f5cc948857f-01
traceparent 00-775b75ce03e94a81a56a05398f3914e4-aa3f9f5cc948857f-01
tracestate cptest=v1
test id
elastic-go--grpc-rabbitmq--c12d8283
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-d454275e,team=alpha
ot-baggage-routing-key rk-d454275e
traceparent 00-d661f26740708be5fe0213933465b1a5-8b0374a336d689dd-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-http--a45c62fc

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 46
content-type application/json
elastic-apm-traceparent 00-d661f26740708be5fe0213933465b1a5-78ae4bfed46a6d70-01
traceparent 00-d661f26740708be5fe0213933465b1a5-78ae4bfed46a6d70-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--kafka-http--a45c62fc
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-89e45350,team=alpha
ot-baggage-routing-key rk-89e45350
traceparent 00-5925564b3a0e374b1df7f7109a1beac5-2f2ce44464454b8f-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-grpc--3f8c9138

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-5925564b3a0e374b1df7f7109a1beac5-0fd5509d89e5bb2b-01
traceparent 00-5925564b3a0e374b1df7f7109a1beac5-0fd5509d89e5bb2b-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--kafka-grpc--3f8c9138
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-7d966714,team=alpha
ot-baggage-routing-key rk-7d966714
traceparent 00-b2edf8c14147463b6d54938c31d55bb3-1a4f423b794a4298-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-kafka--9c068b1f

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-b2edf8c14147463b6d54938c31d55bb3-662fb8dc2deea1b2-01
traceparent 00-b2edf8c14147463b6d54938c31d55bb3-662fb8dc2deea1b2-01
tracestate cptest=v1
test id
elastic-go--kafka-kafka--9c068b1f
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-a9ec55f1,team=alpha
ot-baggage-routing-key rk-a9ec55f1
traceparent 00-d53b10d391f395dcee70af54eb594feb-06955d9bb0cf9338-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-rabbitmq--710fac0a

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

elastic-apm-traceparent 00-d53b10d391f395dcee70af54eb594feb-2eee50f4d028377c-01
traceparent 00-d53b10d391f395dcee70af54eb594feb-2eee50f4d028377c-01
tracestate cptest=v1
test id
elastic-go--kafka-rabbitmq--710fac0a
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-093634d1,team=alpha
ot-baggage-routing-key rk-093634d1
traceparent 00-9ad8b108758dd819518a5170d8cfc7c6-8ba67b1ae9b75c6f-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-http--3c3de873

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 49
content-type application/json
elastic-apm-traceparent 00-9ad8b108758dd819518a5170d8cfc7c6-3cb599b1a3e7d898-01
traceparent 00-9ad8b108758dd819518a5170d8cfc7c6-3cb599b1a3e7d898-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--rabbitmq-http--3c3de873
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-25e0d97b,team=alpha
ot-baggage-routing-key rk-25e0d97b
traceparent 00-3e47949104def9866139b696bf5dbee0-9b37bf1729f8623c-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-grpc--01c961b7

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-3e47949104def9866139b696bf5dbee0-872093047dc08e80-01
traceparent 00-3e47949104def9866139b696bf5dbee0-872093047dc08e80-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--rabbitmq-grpc--01c961b7
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-c162acaa,team=alpha
ot-baggage-routing-key rk-c162acaa
traceparent 00-a9efca2f11e02aa992499fadb59dce2b-d9e4a72d353657bc-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-kafka--305c1942

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-a9efca2f11e02aa992499fadb59dce2b-adc58ad7e58f4212-01
traceparent 00-a9efca2f11e02aa992499fadb59dce2b-adc58ad7e58f4212-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-kafka--305c1942
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-3c9806da,team=alpha
ot-baggage-routing-key rk-3c9806da
traceparent 00-ada87990a774a6520bdfbf22e83fe4a8-ad86f50adea686d3-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-rabbitmq--06e5561e

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

elastic-apm-traceparent 00-ada87990a774a6520bdfbf22e83fe4a8-3ff00677fef51345-01
traceparent 00-ada87990a774a6520bdfbf22e83fe4a8-3ff00677fef51345-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-rabbitmq--06e5561e
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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