elastic-go

Go in-code go.elastic.co/apm2.2.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.2.0 reported as v2.2.0 2.2.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, 10:13 UTC
Harness
374f21d · measured in backtest-elastic-go-2.2.0
Raw JSON
2.2.0.json → variants[id = "elastic-go"]

Libraries

grpcapmgrpc v2.2.0 (unary interceptors)
httpapmhttp v2.2.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-452c34c2,team=alpha
ot-baggage-routing-key rk-452c34c2
traceparent 00-9ce45f77981574261d5d118f77dc7dba-d7a138c4ec9d5aaa-01
tracestate cptest=v1
x-cp-canary elastic-go--http-http--d471d834

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-9ce45f77981574261d5d118f77dc7dba-5bd0359b9a22b57d-01
traceparent 00-9ce45f77981574261d5d118f77dc7dba-5bd0359b9a22b57d-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--http-http--d471d834
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-da21b93b,team=alpha
ot-baggage-routing-key rk-da21b93b
traceparent 00-a1d58847623958a9f608c8985d9dcb1d-625caf8561dd1187-01
tracestate cptest=v1
x-cp-canary elastic-go--http-grpc--82cc0b3e

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-a1d58847623958a9f608c8985d9dcb1d-f8e9a69b1cb1c411-01
traceparent 00-a1d58847623958a9f608c8985d9dcb1d-f8e9a69b1cb1c411-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--http-grpc--82cc0b3e
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-20578812,team=alpha
ot-baggage-routing-key rk-20578812
traceparent 00-22f110ceaae1896465fb5333ae30b0ac-6acfe511d5ef8c9a-01
tracestate cptest=v1
x-cp-canary elastic-go--http-kafka--bec3c395

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-22f110ceaae1896465fb5333ae30b0ac-685b0d8085c9d529-01
traceparent 00-22f110ceaae1896465fb5333ae30b0ac-685b0d8085c9d529-01
tracestate cptest=v1
test id
elastic-go--http-kafka--bec3c395
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-5b9cd9b3,team=alpha
ot-baggage-routing-key rk-5b9cd9b3
traceparent 00-33097b5703a1649cdbbe55bed5cae4b7-61ecf5666a237dc0-01
tracestate cptest=v1
x-cp-canary elastic-go--http-rabbitmq--0f631f06

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

elastic-apm-traceparent 00-33097b5703a1649cdbbe55bed5cae4b7-01b4c74002a8550e-01
traceparent 00-33097b5703a1649cdbbe55bed5cae4b7-01b4c74002a8550e-01
tracestate cptest=v1
test id
elastic-go--http-rabbitmq--0f631f06
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-b466ba2a,team=alpha
ot-baggage-routing-key rk-b466ba2a
traceparent 00-13a60db763ad8b99bc9fa46b79003fb5-74fed5ba7c96490a-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-http--d58c2ae2

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-13a60db763ad8b99bc9fa46b79003fb5-6745a3f4355a4a97-01
traceparent 00-13a60db763ad8b99bc9fa46b79003fb5-6745a3f4355a4a97-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--grpc-http--d58c2ae2
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-780e372c,team=alpha
ot-baggage-routing-key rk-780e372c
traceparent 00-2c3a142946917d64fd405f2e99842617-aab0a7b39bb612ea-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-grpc--6ce6b858

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-2c3a142946917d64fd405f2e99842617-13f6b22f5c4b4951-01
traceparent 00-2c3a142946917d64fd405f2e99842617-13f6b22f5c4b4951-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--grpc-grpc--6ce6b858
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-0a8ec17d,team=alpha
ot-baggage-routing-key rk-0a8ec17d
traceparent 00-77e01422bde3435b32f583c5a067737b-123c61b0e5db0d63-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-kafka--10c5ee7f

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-77e01422bde3435b32f583c5a067737b-906064047b26e4af-01
traceparent 00-77e01422bde3435b32f583c5a067737b-906064047b26e4af-01
tracestate cptest=v1
test id
elastic-go--grpc-kafka--10c5ee7f
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-dfc270d4,team=alpha
ot-baggage-routing-key rk-dfc270d4
traceparent 00-b3b5f1262b8952f5d255c35eea15bd13-c0f6e04db1bc1ba1-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-rabbitmq--94d46c7b

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

elastic-apm-traceparent 00-b3b5f1262b8952f5d255c35eea15bd13-3d24de77afaa2a69-01
traceparent 00-b3b5f1262b8952f5d255c35eea15bd13-3d24de77afaa2a69-01
tracestate cptest=v1
test id
elastic-go--grpc-rabbitmq--94d46c7b
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-43c06b9e,team=alpha
ot-baggage-routing-key rk-43c06b9e
traceparent 00-b7aca38fce12e98da9e232c7ded9dc87-dd222ce12d904eb7-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-http--d186f4ad

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 46
content-type application/json
elastic-apm-traceparent 00-b7aca38fce12e98da9e232c7ded9dc87-942aac58d48200a0-01
traceparent 00-b7aca38fce12e98da9e232c7ded9dc87-942aac58d48200a0-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--kafka-http--d186f4ad
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-d2655e58,team=alpha
ot-baggage-routing-key rk-d2655e58
traceparent 00-03372d2517a8bb9841d108720e9cb615-460867833c4911eb-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-grpc--da94ec9f

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-03372d2517a8bb9841d108720e9cb615-476cf9a24d022429-01
traceparent 00-03372d2517a8bb9841d108720e9cb615-476cf9a24d022429-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--kafka-grpc--da94ec9f
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-64f6dff6,team=alpha
ot-baggage-routing-key rk-64f6dff6
traceparent 00-af5f042f4927325612499d01e361f92f-26c133376f3ea7da-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-kafka--5f5cd33a

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-af5f042f4927325612499d01e361f92f-a0869108964dba32-01
traceparent 00-af5f042f4927325612499d01e361f92f-a0869108964dba32-01
tracestate cptest=v1
test id
elastic-go--kafka-kafka--5f5cd33a
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-16725f8f,team=alpha
ot-baggage-routing-key rk-16725f8f
traceparent 00-ab262ac16047eac12e6f82432d386104-31a22369dee3d9f8-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-rabbitmq--fb835cba

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

elastic-apm-traceparent 00-ab262ac16047eac12e6f82432d386104-e53f1e995d762e11-01
traceparent 00-ab262ac16047eac12e6f82432d386104-e53f1e995d762e11-01
tracestate cptest=v1
test id
elastic-go--kafka-rabbitmq--fb835cba
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-d28ed0b4,team=alpha
ot-baggage-routing-key rk-d28ed0b4
traceparent 00-80a7578cea0e44103a78d15bf7494013-264241cecada8427-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-http--631bff53

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 49
content-type application/json
elastic-apm-traceparent 00-80a7578cea0e44103a78d15bf7494013-182ae58b29eaf883-01
traceparent 00-80a7578cea0e44103a78d15bf7494013-182ae58b29eaf883-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--rabbitmq-http--631bff53
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-48a51058,team=alpha
ot-baggage-routing-key rk-48a51058
traceparent 00-63f6e7c3f3876c6921a8a5ef21934f02-c570c96f1c5b7f37-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-grpc--0afed4c3

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-63f6e7c3f3876c6921a8a5ef21934f02-cec5b4a3282420b6-01
traceparent 00-63f6e7c3f3876c6921a8a5ef21934f02-cec5b4a3282420b6-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--rabbitmq-grpc--0afed4c3
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-ac52d024,team=alpha
ot-baggage-routing-key rk-ac52d024
traceparent 00-528fad6d0805fa85a2d45d78169301ed-4bb71e73e3386b1f-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-kafka--3aa09392

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-528fad6d0805fa85a2d45d78169301ed-7855b3587b26eb02-01
traceparent 00-528fad6d0805fa85a2d45d78169301ed-7855b3587b26eb02-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-kafka--3aa09392
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-3c1c144e,team=alpha
ot-baggage-routing-key rk-3c1c144e
traceparent 00-2276bb1783a27b94a5c06e94874f8814-857589f4c896237a-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-rabbitmq--46d330eb

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

elastic-apm-traceparent 00-2276bb1783a27b94a5c06e94874f8814-7ea03e26e15ceb39-01
traceparent 00-2276bb1783a27b94a5c06e94874f8814-7ea03e26e15ceb39-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-rabbitmq--46d330eb
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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