elastic-go

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

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.4.3 reported as v2.4.3 2.4.3 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, 09:58 UTC
Harness
374f21d · measured in backtest-elastic-go-2.4.3
Raw JSON
2.4.3.json → variants[id = "elastic-go"]

Libraries

grpcapmgrpc v2.4.3 (unary interceptors)
httpapmhttp v2.4.3 (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-441dbe5b,team=alpha
ot-baggage-routing-key rk-441dbe5b
traceparent 00-a9947e9e4db2b343005c475dc344bde5-ea4b4489bd49316b-01
tracestate cptest=v1
x-cp-canary elastic-go--http-http--8c0ddbd9

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-a9947e9e4db2b343005c475dc344bde5-1b272bc04ec16197-01
traceparent 00-a9947e9e4db2b343005c475dc344bde5-1b272bc04ec16197-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--http-http--8c0ddbd9
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-8ce2d00c,team=alpha
ot-baggage-routing-key rk-8ce2d00c
traceparent 00-57f182f4209aeddf8e983802903c3932-be43540c23e55fa7-01
tracestate cptest=v1
x-cp-canary elastic-go--http-grpc--5e5ef6ac

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-57f182f4209aeddf8e983802903c3932-680eb0327cd9d422-01
traceparent 00-57f182f4209aeddf8e983802903c3932-680eb0327cd9d422-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--http-grpc--5e5ef6ac
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-f148ee78,team=alpha
ot-baggage-routing-key rk-f148ee78
traceparent 00-289456180ca4b5aa4970157dce35b6e0-d3046d385dda4b04-01
tracestate cptest=v1
x-cp-canary elastic-go--http-kafka--efdf76b9

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-289456180ca4b5aa4970157dce35b6e0-bbb56f18189c4404-01
traceparent 00-289456180ca4b5aa4970157dce35b6e0-bbb56f18189c4404-01
tracestate cptest=v1
test id
elastic-go--http-kafka--efdf76b9
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-88e6140b,team=alpha
ot-baggage-routing-key rk-88e6140b
traceparent 00-b1e8b46cf355627ba51ef4745fe958bb-4c918520a9e4e20b-01
tracestate cptest=v1
x-cp-canary elastic-go--http-rabbitmq--2a67f5db

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

elastic-apm-traceparent 00-b1e8b46cf355627ba51ef4745fe958bb-80f26dd7b37ce179-01
traceparent 00-b1e8b46cf355627ba51ef4745fe958bb-80f26dd7b37ce179-01
tracestate cptest=v1
test id
elastic-go--http-rabbitmq--2a67f5db
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-5ee435d6,team=alpha
ot-baggage-routing-key rk-5ee435d6
traceparent 00-8058c41ec2d7e7e2970bf967e6af1968-8f256363d956e820-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-http--e6655839

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-8058c41ec2d7e7e2970bf967e6af1968-558937d193a95dcf-01
traceparent 00-8058c41ec2d7e7e2970bf967e6af1968-558937d193a95dcf-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--grpc-http--e6655839
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-32c71cf0,team=alpha
ot-baggage-routing-key rk-32c71cf0
traceparent 00-7dd1a8b27ba4670736030b71f2ff4128-cc468f4890da5125-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-grpc--b53b5fb0

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-7dd1a8b27ba4670736030b71f2ff4128-0b094fe987ed75b7-01
traceparent 00-7dd1a8b27ba4670736030b71f2ff4128-0b094fe987ed75b7-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--grpc-grpc--b53b5fb0
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-47696af3,team=alpha
ot-baggage-routing-key rk-47696af3
traceparent 00-7a25e6460c0d076644208320b4f11b91-1da76553cac2c1d6-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-kafka--de2a065e

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-7a25e6460c0d076644208320b4f11b91-1434205f570f4512-01
traceparent 00-7a25e6460c0d076644208320b4f11b91-1434205f570f4512-01
tracestate cptest=v1
test id
elastic-go--grpc-kafka--de2a065e
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-1bf30a9e,team=alpha
ot-baggage-routing-key rk-1bf30a9e
traceparent 00-1bd8792d09b2792706761242da228d66-c41aa1f3b9c4268f-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-rabbitmq--6892db48

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

elastic-apm-traceparent 00-1bd8792d09b2792706761242da228d66-9e4dd31645dadb8f-01
traceparent 00-1bd8792d09b2792706761242da228d66-9e4dd31645dadb8f-01
tracestate cptest=v1
test id
elastic-go--grpc-rabbitmq--6892db48
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-a8acb04b,team=alpha
ot-baggage-routing-key rk-a8acb04b
traceparent 00-3e2bf3c573e4a65c7a95a98e0139cef1-5011124d00707c9a-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-http--2e983232

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 46
content-type application/json
elastic-apm-traceparent 00-3e2bf3c573e4a65c7a95a98e0139cef1-2462213ffa6a5dc1-01
traceparent 00-3e2bf3c573e4a65c7a95a98e0139cef1-2462213ffa6a5dc1-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--kafka-http--2e983232
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-5b321cc0,team=alpha
ot-baggage-routing-key rk-5b321cc0
traceparent 00-9d4e92c0db071231ee6559bcaea47b0d-e5e5e8bad354a572-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-grpc--16f3f086

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-9d4e92c0db071231ee6559bcaea47b0d-34372c504d48a637-01
traceparent 00-9d4e92c0db071231ee6559bcaea47b0d-34372c504d48a637-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--kafka-grpc--16f3f086
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-3c509714,team=alpha
ot-baggage-routing-key rk-3c509714
traceparent 00-371d369e58c217f8ac9d3c0120160a3c-8be5337899867e14-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-kafka--c0f15a1e

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-371d369e58c217f8ac9d3c0120160a3c-70d829dc2615e2b6-01
traceparent 00-371d369e58c217f8ac9d3c0120160a3c-70d829dc2615e2b6-01
tracestate cptest=v1
test id
elastic-go--kafka-kafka--c0f15a1e
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-4ce6cf4a,team=alpha
ot-baggage-routing-key rk-4ce6cf4a
traceparent 00-0965b2d10908ff8357788ca94408de53-0dc54a8a43a02122-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-rabbitmq--382b6ac3

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

elastic-apm-traceparent 00-0965b2d10908ff8357788ca94408de53-6e09ee74bd741ed7-01
traceparent 00-0965b2d10908ff8357788ca94408de53-6e09ee74bd741ed7-01
tracestate cptest=v1
test id
elastic-go--kafka-rabbitmq--382b6ac3
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-8f7bcc63,team=alpha
ot-baggage-routing-key rk-8f7bcc63
traceparent 00-f6c2b1dab8a311722a9d47eee42236c7-f00222858ba6e42c-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-http--99409089

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 49
content-type application/json
elastic-apm-traceparent 00-f6c2b1dab8a311722a9d47eee42236c7-7b545ad624182ee4-01
traceparent 00-f6c2b1dab8a311722a9d47eee42236c7-7b545ad624182ee4-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--rabbitmq-http--99409089
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-109eaab6,team=alpha
ot-baggage-routing-key rk-109eaab6
traceparent 00-be6310a447054019e3a51e7e1e82c32e-d694658a46c70dde-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-grpc--db303f02

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-be6310a447054019e3a51e7e1e82c32e-824f53a2a6e0d45e-01
traceparent 00-be6310a447054019e3a51e7e1e82c32e-824f53a2a6e0d45e-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--rabbitmq-grpc--db303f02
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-2262708e,team=alpha
ot-baggage-routing-key rk-2262708e
traceparent 00-de6809ec17854abef921bb38c979d72d-463da5b2e7fa485a-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-kafka--9f3c07f2

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-de6809ec17854abef921bb38c979d72d-135172a2fa3e4e9a-01
traceparent 00-de6809ec17854abef921bb38c979d72d-135172a2fa3e4e9a-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-kafka--9f3c07f2
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-4f26afba,team=alpha
ot-baggage-routing-key rk-4f26afba
traceparent 00-dc49783c49045fdf8a2a10d4adebf4e5-e25662909a148a83-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-rabbitmq--efd493cc

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

elastic-apm-traceparent 00-dc49783c49045fdf8a2a10d4adebf4e5-55f42c86ea10bad0-01
traceparent 00-dc49783c49045fdf8a2a10d4adebf4e5-55f42c86ea10bad0-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-rabbitmq--efd493cc
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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