elastic-go

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

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.2 reported as v2.7.2 2.7.2 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:56 UTC
Harness
9b99070 · measured in backtest-elastic-go-2.7.2
Raw JSON
2.7.2.json → variants[id = "elastic-go"]

Libraries

grpcapmgrpc v2.7.2 (unary interceptors)
httpapmhttp v2.7.2 (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-ca042409,team=alpha
ot-baggage-routing-key rk-ca042409
traceparent 00-8cbb6e1d6f18b7e3886e7edbb91ada6b-aac9be49bfff2d70-01
tracestate cptest=v1
x-cp-canary elastic-go--http-http--1b3935a0

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-8cbb6e1d6f18b7e3886e7edbb91ada6b-26a6a2bbace6e4c9-01
traceparent 00-8cbb6e1d6f18b7e3886e7edbb91ada6b-26a6a2bbace6e4c9-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--http-http--1b3935a0
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-cccc30a8,team=alpha
ot-baggage-routing-key rk-cccc30a8
traceparent 00-deb37df8a51fe861df086e9dc2357649-ace37c1acf8c4c71-01
tracestate cptest=v1
x-cp-canary elastic-go--http-grpc--83ee8901

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-deb37df8a51fe861df086e9dc2357649-553a1f6a9d0cccfc-01
traceparent 00-deb37df8a51fe861df086e9dc2357649-553a1f6a9d0cccfc-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--http-grpc--83ee8901
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-6f56f1b9,team=alpha
ot-baggage-routing-key rk-6f56f1b9
traceparent 00-1fd77e70576feec23d34924e16eb7f50-fc98689967f63ed6-01
tracestate cptest=v1
x-cp-canary elastic-go--http-kafka--5b36a6b3

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-1fd77e70576feec23d34924e16eb7f50-b1c6f6a3e94df7b0-01
traceparent 00-1fd77e70576feec23d34924e16eb7f50-b1c6f6a3e94df7b0-01
tracestate cptest=v1
test id
elastic-go--http-kafka--5b36a6b3
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-59c37a19,team=alpha
ot-baggage-routing-key rk-59c37a19
traceparent 00-9b89207012bbf747076d0505ee4e069d-5454a5f51e022f3b-01
tracestate cptest=v1
x-cp-canary elastic-go--http-rabbitmq--33dbb0b6

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

elastic-apm-traceparent 00-9b89207012bbf747076d0505ee4e069d-f235b9e5a234d5ca-01
traceparent 00-9b89207012bbf747076d0505ee4e069d-f235b9e5a234d5ca-01
tracestate cptest=v1
test id
elastic-go--http-rabbitmq--33dbb0b6
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-816b2556,team=alpha
ot-baggage-routing-key rk-816b2556
traceparent 00-27d2ad1b61da9005c2be800659d72996-829787fe7eba474f-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-http--ee1c0117

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-27d2ad1b61da9005c2be800659d72996-1d848b640b089996-01
traceparent 00-27d2ad1b61da9005c2be800659d72996-1d848b640b089996-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--grpc-http--ee1c0117
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-f47f5a06,team=alpha
ot-baggage-routing-key rk-f47f5a06
traceparent 00-430b697a4c31f4ca026c9ade4e6c344c-0fa47f01ccb51430-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-grpc--d0458315

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-430b697a4c31f4ca026c9ade4e6c344c-dfe998a9a1b71420-01
traceparent 00-430b697a4c31f4ca026c9ade4e6c344c-dfe998a9a1b71420-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--grpc-grpc--d0458315
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-0c0ee347,team=alpha
ot-baggage-routing-key rk-0c0ee347
traceparent 00-0187c5cc06c53b1a8dffdaee8ba29d0e-8d579d19684136d9-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-kafka--8c64cf5f

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-0187c5cc06c53b1a8dffdaee8ba29d0e-218e75c1e2a73833-01
traceparent 00-0187c5cc06c53b1a8dffdaee8ba29d0e-218e75c1e2a73833-01
tracestate cptest=v1
test id
elastic-go--grpc-kafka--8c64cf5f
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-a48647f9,team=alpha
ot-baggage-routing-key rk-a48647f9
traceparent 00-786fc291549603e2a01d3b048b025f95-f194fa45d23411e9-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-rabbitmq--3ada75b4

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

elastic-apm-traceparent 00-786fc291549603e2a01d3b048b025f95-ef845e350e83d272-01
traceparent 00-786fc291549603e2a01d3b048b025f95-ef845e350e83d272-01
tracestate cptest=v1
test id
elastic-go--grpc-rabbitmq--3ada75b4
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-b2624122,team=alpha
ot-baggage-routing-key rk-b2624122
traceparent 00-881ee4256ed08ac41eb1802537b55dd4-4556d7f1125e8ad1-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-http--13984778

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 46
content-type application/json
elastic-apm-traceparent 00-881ee4256ed08ac41eb1802537b55dd4-76ce5950c2596ecc-01
traceparent 00-881ee4256ed08ac41eb1802537b55dd4-76ce5950c2596ecc-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--kafka-http--13984778
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-d1396369,team=alpha
ot-baggage-routing-key rk-d1396369
traceparent 00-523b6aa30f9182a68749e3b785c095b8-8fef4164d22f7807-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-grpc--43a1598b

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-523b6aa30f9182a68749e3b785c095b8-79252cee816ba2bf-01
traceparent 00-523b6aa30f9182a68749e3b785c095b8-79252cee816ba2bf-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--kafka-grpc--43a1598b
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-a82c6a12,team=alpha
ot-baggage-routing-key rk-a82c6a12
traceparent 00-5960c524f2af11a3bdeb08ac6d7135f8-fd1ce90a86ca6535-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-kafka--3430d29f

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-5960c524f2af11a3bdeb08ac6d7135f8-28735f3431514400-01
traceparent 00-5960c524f2af11a3bdeb08ac6d7135f8-28735f3431514400-01
tracestate cptest=v1
test id
elastic-go--kafka-kafka--3430d29f
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-7d3ab3ef,team=alpha
ot-baggage-routing-key rk-7d3ab3ef
traceparent 00-a3be1ba28ee045bd003a4127d7c090e1-c320d49677f7ae9f-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-rabbitmq--b7ed0dde

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

elastic-apm-traceparent 00-a3be1ba28ee045bd003a4127d7c090e1-35ce8836e7ea49a2-01
traceparent 00-a3be1ba28ee045bd003a4127d7c090e1-35ce8836e7ea49a2-01
tracestate cptest=v1
test id
elastic-go--kafka-rabbitmq--b7ed0dde
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-5d682f73,team=alpha
ot-baggage-routing-key rk-5d682f73
traceparent 00-652c084d91b9d1076dbb50c3970787b9-0acc9daa71df5774-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-http--cfb51f5b

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 49
content-type application/json
elastic-apm-traceparent 00-652c084d91b9d1076dbb50c3970787b9-e218a472043d885f-01
traceparent 00-652c084d91b9d1076dbb50c3970787b9-e218a472043d885f-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--rabbitmq-http--cfb51f5b
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-dd0bbb28,team=alpha
ot-baggage-routing-key rk-dd0bbb28
traceparent 00-bc91689876c3b5de8a5ab116486833e6-0c82f2f7873e84d9-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-grpc--53a5c4c0

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-bc91689876c3b5de8a5ab116486833e6-5e101ab226c861b8-01
traceparent 00-bc91689876c3b5de8a5ab116486833e6-5e101ab226c861b8-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--rabbitmq-grpc--53a5c4c0
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-02850900,team=alpha
ot-baggage-routing-key rk-02850900
traceparent 00-73e9723956dab389b5906e0431151def-1ec914af67e5919f-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-kafka--4a111f04

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-73e9723956dab389b5906e0431151def-065acff8f6b03a55-01
traceparent 00-73e9723956dab389b5906e0431151def-065acff8f6b03a55-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-kafka--4a111f04
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-48d8ca43,team=alpha
ot-baggage-routing-key rk-48d8ca43
traceparent 00-feb983a938383c10d820658635842b60-7a1b53cf736ee67a-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-rabbitmq--0749e6d5

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

elastic-apm-traceparent 00-feb983a938383c10d820658635842b60-acc8ca23b05281c2-01
traceparent 00-feb983a938383c10d820658635842b60-acc8ca23b05281c2-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-rabbitmq--0749e6d5
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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