elastic-go

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

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.6 reported as v2.7.6 2.7.6 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, 19:41 UTC
Harness
9b99070 · measured in backtest-elastic-go-2.7.6
Raw JSON
2.7.6.json → variants[id = "elastic-go"]

Libraries

grpcapmgrpc v2.7.6 (unary interceptors)
httpapmhttp v2.7.6 (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-603a2afd,team=alpha
ot-baggage-routing-key rk-603a2afd
traceparent 00-64f0151361c778b9e8a2c40748beac8b-012faf91bf319bb4-01
tracestate cptest=v1
x-cp-canary elastic-go--http-http--284bda4e

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-64f0151361c778b9e8a2c40748beac8b-592b7becc6e9c7f5-01
traceparent 00-64f0151361c778b9e8a2c40748beac8b-592b7becc6e9c7f5-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--http-http--284bda4e
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-5878d5a6,team=alpha
ot-baggage-routing-key rk-5878d5a6
traceparent 00-91c90536f422483019ad37790b0cc49a-cc7beefe62a4fb8b-01
tracestate cptest=v1
x-cp-canary elastic-go--http-grpc--86e99da3

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-91c90536f422483019ad37790b0cc49a-e2c03823f653572b-01
traceparent 00-91c90536f422483019ad37790b0cc49a-e2c03823f653572b-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--http-grpc--86e99da3
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-5e5d36ff,team=alpha
ot-baggage-routing-key rk-5e5d36ff
traceparent 00-21dc0e6bfe352b94a6864e16bf6c8b61-c1ca08d47bb7f729-01
tracestate cptest=v1
x-cp-canary elastic-go--http-kafka--02d43a23

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-21dc0e6bfe352b94a6864e16bf6c8b61-85915115e1c51727-01
traceparent 00-21dc0e6bfe352b94a6864e16bf6c8b61-85915115e1c51727-01
tracestate cptest=v1
test id
elastic-go--http-kafka--02d43a23
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-9a0d0abe,team=alpha
ot-baggage-routing-key rk-9a0d0abe
traceparent 00-3e6a0ab4e9eced665a98da1d2bcbde33-4d16fc55d1a26787-01
tracestate cptest=v1
x-cp-canary elastic-go--http-rabbitmq--e2b79e13

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

elastic-apm-traceparent 00-3e6a0ab4e9eced665a98da1d2bcbde33-3271d7b132c723f4-01
traceparent 00-3e6a0ab4e9eced665a98da1d2bcbde33-3271d7b132c723f4-01
tracestate cptest=v1
test id
elastic-go--http-rabbitmq--e2b79e13
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-895996e3,team=alpha
ot-baggage-routing-key rk-895996e3
traceparent 00-aaf555ddf3beab88bddd092ea886b943-81f458267ee2fb61-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-http--c5422de4

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-aaf555ddf3beab88bddd092ea886b943-119f773755d12096-01
traceparent 00-aaf555ddf3beab88bddd092ea886b943-119f773755d12096-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--grpc-http--c5422de4
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-1394f58a,team=alpha
ot-baggage-routing-key rk-1394f58a
traceparent 00-a1cc3a5bfe51c58844b4119093622de6-5719701644c4f377-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-grpc--a0576453

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-a1cc3a5bfe51c58844b4119093622de6-7b5a6ee6f9599320-01
traceparent 00-a1cc3a5bfe51c58844b4119093622de6-7b5a6ee6f9599320-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--grpc-grpc--a0576453
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-0fee5f0d,team=alpha
ot-baggage-routing-key rk-0fee5f0d
traceparent 00-2ea41fca30f90ad4565d0bb142c9ff2b-c201c74143d31407-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-kafka--c16169fc

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-2ea41fca30f90ad4565d0bb142c9ff2b-1fe9c19844d65c86-01
traceparent 00-2ea41fca30f90ad4565d0bb142c9ff2b-1fe9c19844d65c86-01
tracestate cptest=v1
test id
elastic-go--grpc-kafka--c16169fc
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-e0764517,team=alpha
ot-baggage-routing-key rk-e0764517
traceparent 00-cd5be41d398b4fe6675901600e5a42e7-a01add2c9efc818e-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-rabbitmq--add3fca9

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

elastic-apm-traceparent 00-cd5be41d398b4fe6675901600e5a42e7-9b52ab704ddf713e-01
traceparent 00-cd5be41d398b4fe6675901600e5a42e7-9b52ab704ddf713e-01
tracestate cptest=v1
test id
elastic-go--grpc-rabbitmq--add3fca9
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-aee77924,team=alpha
ot-baggage-routing-key rk-aee77924
traceparent 00-9bbdde5e1b9fe6f3e2fc6dc327d6dd29-97d6d378980d7c5b-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-http--3185efe3

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 46
content-type application/json
elastic-apm-traceparent 00-9bbdde5e1b9fe6f3e2fc6dc327d6dd29-8dbcf589c31862c1-01
traceparent 00-9bbdde5e1b9fe6f3e2fc6dc327d6dd29-8dbcf589c31862c1-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--kafka-http--3185efe3
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-32b2fc5e,team=alpha
ot-baggage-routing-key rk-32b2fc5e
traceparent 00-e2304af26ded626c41f611f6ff90c833-0f1a1d0855c29ccf-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-grpc--a205e6ea

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-e2304af26ded626c41f611f6ff90c833-bfee7841d4b27b8d-01
traceparent 00-e2304af26ded626c41f611f6ff90c833-bfee7841d4b27b8d-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--kafka-grpc--a205e6ea
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-10c955f9,team=alpha
ot-baggage-routing-key rk-10c955f9
traceparent 00-b3ae278162b09a01c45ccf64f78ee902-6ef41dca02878620-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-kafka--e24fcd4a

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-b3ae278162b09a01c45ccf64f78ee902-47647172e87d944f-01
traceparent 00-b3ae278162b09a01c45ccf64f78ee902-47647172e87d944f-01
tracestate cptest=v1
test id
elastic-go--kafka-kafka--e24fcd4a
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-6a23abba,team=alpha
ot-baggage-routing-key rk-6a23abba
traceparent 00-d660d9f1ce7aa5903d564b190f5b7850-2eee5191976892bf-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-rabbitmq--3f222a02

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

elastic-apm-traceparent 00-d660d9f1ce7aa5903d564b190f5b7850-ecad6ca05f5427a5-01
traceparent 00-d660d9f1ce7aa5903d564b190f5b7850-ecad6ca05f5427a5-01
tracestate cptest=v1
test id
elastic-go--kafka-rabbitmq--3f222a02
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-5c83619c,team=alpha
ot-baggage-routing-key rk-5c83619c
traceparent 00-75548f6cbc162cf7283307e493a2b5ad-6bad406d107573fb-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-http--c87290be

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 49
content-type application/json
elastic-apm-traceparent 00-75548f6cbc162cf7283307e493a2b5ad-2612b1f494964bba-01
traceparent 00-75548f6cbc162cf7283307e493a2b5ad-2612b1f494964bba-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--rabbitmq-http--c87290be
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-d8735168,team=alpha
ot-baggage-routing-key rk-d8735168
traceparent 00-e0a29777111c2a42491adb5d46d10aeb-0501a2614f610341-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-grpc--c8dad255

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-e0a29777111c2a42491adb5d46d10aeb-063c27d6e80b76b1-01
traceparent 00-e0a29777111c2a42491adb5d46d10aeb-063c27d6e80b76b1-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--rabbitmq-grpc--c8dad255
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-90914c80,team=alpha
ot-baggage-routing-key rk-90914c80
traceparent 00-4182042254c94d0e317fb175fe5b22fc-37bc803bd27dcf4e-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-kafka--a6ee37e8

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-4182042254c94d0e317fb175fe5b22fc-2615043f21524dd4-01
traceparent 00-4182042254c94d0e317fb175fe5b22fc-2615043f21524dd4-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-kafka--a6ee37e8
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-1e8a88d4,team=alpha
ot-baggage-routing-key rk-1e8a88d4
traceparent 00-2003e7c6944a799afde4e53d2c10143b-a21676072c4d0401-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-rabbitmq--08867e2c

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

elastic-apm-traceparent 00-2003e7c6944a799afde4e53d2c10143b-871a52c65aaeb562-01
traceparent 00-2003e7c6944a799afde4e53d2c10143b-871a52c65aaeb562-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-rabbitmq--08867e2c
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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