elastic-go

Go in-code go.elastic.co/apm2.3.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.3.0 reported as v2.3.0 2.3.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:10 UTC
Harness
374f21d · measured in backtest-elastic-go-2.3.0
Raw JSON
2.3.0.json → variants[id = "elastic-go"]

Libraries

grpcapmgrpc v2.3.0 (unary interceptors)
httpapmhttp v2.3.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-328a9f7e,team=alpha
ot-baggage-routing-key rk-328a9f7e
traceparent 00-8dc543fcbb2a671df70fa2a7a35e0803-af6818a02486d3a5-01
tracestate cptest=v1
x-cp-canary elastic-go--http-http--4ddb97c4

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-8dc543fcbb2a671df70fa2a7a35e0803-ec857a0eaf8969ac-01
traceparent 00-8dc543fcbb2a671df70fa2a7a35e0803-ec857a0eaf8969ac-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--http-http--4ddb97c4
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-84d76565,team=alpha
ot-baggage-routing-key rk-84d76565
traceparent 00-a9b7c4e59005297f0d3b807d1fe19b68-7b30c9ceb89d7aef-01
tracestate cptest=v1
x-cp-canary elastic-go--http-grpc--a394ba1c

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-a9b7c4e59005297f0d3b807d1fe19b68-622ab8d1febe2dd9-01
traceparent 00-a9b7c4e59005297f0d3b807d1fe19b68-622ab8d1febe2dd9-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--http-grpc--a394ba1c
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-41351a4c,team=alpha
ot-baggage-routing-key rk-41351a4c
traceparent 00-c73693128a00137ac72f82b1492e2a4b-742d68460cd6f7e0-01
tracestate cptest=v1
x-cp-canary elastic-go--http-kafka--73867514

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-c73693128a00137ac72f82b1492e2a4b-ed650fb81402b68d-01
traceparent 00-c73693128a00137ac72f82b1492e2a4b-ed650fb81402b68d-01
tracestate cptest=v1
test id
elastic-go--http-kafka--73867514
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-3ac87ddd,team=alpha
ot-baggage-routing-key rk-3ac87ddd
traceparent 00-08728b9eb889e77aa6f2be0954a373ca-3023c095d093a316-01
tracestate cptest=v1
x-cp-canary elastic-go--http-rabbitmq--13e1da52

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

elastic-apm-traceparent 00-08728b9eb889e77aa6f2be0954a373ca-92a0b5b7e7af3eb6-01
traceparent 00-08728b9eb889e77aa6f2be0954a373ca-92a0b5b7e7af3eb6-01
tracestate cptest=v1
test id
elastic-go--http-rabbitmq--13e1da52
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-3ac22d48,team=alpha
ot-baggage-routing-key rk-3ac22d48
traceparent 00-93239fc56f709220cdf15a3511d61c04-1c444a9a05e5c37e-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-http--7c521304

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-93239fc56f709220cdf15a3511d61c04-318bffac12656cb2-01
traceparent 00-93239fc56f709220cdf15a3511d61c04-318bffac12656cb2-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--grpc-http--7c521304
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-a2ada686,team=alpha
ot-baggage-routing-key rk-a2ada686
traceparent 00-6fd070c3e9f0b3f5b08de763b693895b-210d68450b1dd5c5-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-grpc--35bf51be

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-6fd070c3e9f0b3f5b08de763b693895b-6c047263af718805-01
traceparent 00-6fd070c3e9f0b3f5b08de763b693895b-6c047263af718805-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--grpc-grpc--35bf51be
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-dec5c021,team=alpha
ot-baggage-routing-key rk-dec5c021
traceparent 00-4ace255032449827c3422656da3e944a-1e6e5110248cf302-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-kafka--fbf5c935

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-4ace255032449827c3422656da3e944a-cc496a9c6aa56129-01
traceparent 00-4ace255032449827c3422656da3e944a-cc496a9c6aa56129-01
tracestate cptest=v1
test id
elastic-go--grpc-kafka--fbf5c935
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-4184b561,team=alpha
ot-baggage-routing-key rk-4184b561
traceparent 00-b43298491212c82e5a76779c5c51b5a1-0a65ccf7f9abd348-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-rabbitmq--43898aa0

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

elastic-apm-traceparent 00-b43298491212c82e5a76779c5c51b5a1-9e9c3ff66e0a8c2b-01
traceparent 00-b43298491212c82e5a76779c5c51b5a1-9e9c3ff66e0a8c2b-01
tracestate cptest=v1
test id
elastic-go--grpc-rabbitmq--43898aa0
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-908f0ff8,team=alpha
ot-baggage-routing-key rk-908f0ff8
traceparent 00-0ac2964fd13a85250235e99e5d1d6986-ba6e18d3fb092b28-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-http--86e89fac

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 46
content-type application/json
elastic-apm-traceparent 00-0ac2964fd13a85250235e99e5d1d6986-c60c6f26ef88cb0a-01
traceparent 00-0ac2964fd13a85250235e99e5d1d6986-c60c6f26ef88cb0a-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--kafka-http--86e89fac
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-6ca4e467,team=alpha
ot-baggage-routing-key rk-6ca4e467
traceparent 00-786524709e3b7d710cd22ebff67ac5d2-da90f182b09d54d2-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-grpc--1d25ddab

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-786524709e3b7d710cd22ebff67ac5d2-3e1ab4ce59b5f6bd-01
traceparent 00-786524709e3b7d710cd22ebff67ac5d2-3e1ab4ce59b5f6bd-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--kafka-grpc--1d25ddab
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-5e4ac3f9,team=alpha
ot-baggage-routing-key rk-5e4ac3f9
traceparent 00-97d2de1746e09fd53dc1724d3a2b2afb-69db93026c443075-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-kafka--9d2fd9d3

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-97d2de1746e09fd53dc1724d3a2b2afb-bae3f8952891012d-01
traceparent 00-97d2de1746e09fd53dc1724d3a2b2afb-bae3f8952891012d-01
tracestate cptest=v1
test id
elastic-go--kafka-kafka--9d2fd9d3
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-e16f1810,team=alpha
ot-baggage-routing-key rk-e16f1810
traceparent 00-8400e9687086f72ff36543be930b63dd-0e4603747d8c39a8-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-rabbitmq--2ad3bb62

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

elastic-apm-traceparent 00-8400e9687086f72ff36543be930b63dd-b2d040a9f4807031-01
traceparent 00-8400e9687086f72ff36543be930b63dd-b2d040a9f4807031-01
tracestate cptest=v1
test id
elastic-go--kafka-rabbitmq--2ad3bb62
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-eeaa939a,team=alpha
ot-baggage-routing-key rk-eeaa939a
traceparent 00-8334ac1f57e7e2e5eaeb6f2a1f0f65da-a2b55c94db01a55b-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-http--93a4a653

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 49
content-type application/json
elastic-apm-traceparent 00-8334ac1f57e7e2e5eaeb6f2a1f0f65da-f983e2941a7e8f15-01
traceparent 00-8334ac1f57e7e2e5eaeb6f2a1f0f65da-f983e2941a7e8f15-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--rabbitmq-http--93a4a653
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-cb2502a1,team=alpha
ot-baggage-routing-key rk-cb2502a1
traceparent 00-94298d6bb42a24cf5134778bb7a62125-c96e5fdf7f10c10d-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-grpc--1a3372fc

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-94298d6bb42a24cf5134778bb7a62125-b1ec4294f0ed0f1d-01
traceparent 00-94298d6bb42a24cf5134778bb7a62125-b1ec4294f0ed0f1d-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--rabbitmq-grpc--1a3372fc
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-e31254af,team=alpha
ot-baggage-routing-key rk-e31254af
traceparent 00-78b49ab16ed6c5eae9a6520cda2bb7b8-ada7300304e263f5-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-kafka--f52e214c

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-78b49ab16ed6c5eae9a6520cda2bb7b8-1afe7412906ef648-01
traceparent 00-78b49ab16ed6c5eae9a6520cda2bb7b8-1afe7412906ef648-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-kafka--f52e214c
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-fb417e3a,team=alpha
ot-baggage-routing-key rk-fb417e3a
traceparent 00-a936aedb4a8b100f4a32ca4f761940fe-1f7c85ab43ce9c4e-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-rabbitmq--eac4d450

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

elastic-apm-traceparent 00-a936aedb4a8b100f4a32ca4f761940fe-fd1aee10d04e7278-01
traceparent 00-a936aedb4a8b100f4a32ca4f761940fe-fd1aee10d04e7278-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-rabbitmq--eac4d450
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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