elastic-go

Go in-code go.elastic.co/apm2.6.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.6.3 reported as v2.6.3 2.6.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, 07:43 UTC
Harness
9b99070 · measured in backtest-elastic-go-2.6.3
Raw JSON
2.6.3.json → variants[id = "elastic-go"]

Libraries

grpcapmgrpc v2.6.3 (unary interceptors)
httpapmhttp v2.6.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-3af55db0,team=alpha
ot-baggage-routing-key rk-3af55db0
traceparent 00-1c4ea71b176ef8e5917718118e3be30b-a416ef917e3e5cc8-01
tracestate cptest=v1
x-cp-canary elastic-go--http-http--5df85701

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-1c4ea71b176ef8e5917718118e3be30b-56641cd78ae99b7e-01
traceparent 00-1c4ea71b176ef8e5917718118e3be30b-56641cd78ae99b7e-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--http-http--5df85701
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-bba24b58,team=alpha
ot-baggage-routing-key rk-bba24b58
traceparent 00-7c12989eb6a970361b0b77f335a99f9e-2ac68062ed145a1d-01
tracestate cptest=v1
x-cp-canary elastic-go--http-grpc--8138c24c

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-7c12989eb6a970361b0b77f335a99f9e-172315c6d8caeb54-01
traceparent 00-7c12989eb6a970361b0b77f335a99f9e-172315c6d8caeb54-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--http-grpc--8138c24c
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-4de42bb5,team=alpha
ot-baggage-routing-key rk-4de42bb5
traceparent 00-f2388e0eb995d2940a0ddd935a367ac9-3466d240015e5ecf-01
tracestate cptest=v1
x-cp-canary elastic-go--http-kafka--454f95a8

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-f2388e0eb995d2940a0ddd935a367ac9-00748f1db509ed52-01
traceparent 00-f2388e0eb995d2940a0ddd935a367ac9-00748f1db509ed52-01
tracestate cptest=v1
test id
elastic-go--http-kafka--454f95a8
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-b0365b97,team=alpha
ot-baggage-routing-key rk-b0365b97
traceparent 00-f549c86a84c932287e8fe24bd185d3ad-01c42432532326ca-01
tracestate cptest=v1
x-cp-canary elastic-go--http-rabbitmq--a88581a1

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

elastic-apm-traceparent 00-f549c86a84c932287e8fe24bd185d3ad-cdd6344f70da50d9-01
traceparent 00-f549c86a84c932287e8fe24bd185d3ad-cdd6344f70da50d9-01
tracestate cptest=v1
test id
elastic-go--http-rabbitmq--a88581a1
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-f0a0397d,team=alpha
ot-baggage-routing-key rk-f0a0397d
traceparent 00-dab7e70b552c8521318fc11a27d4deed-c07ae0314a753625-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-http--28b40ef0

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-dab7e70b552c8521318fc11a27d4deed-a9f7f5c204264cdc-01
traceparent 00-dab7e70b552c8521318fc11a27d4deed-a9f7f5c204264cdc-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--grpc-http--28b40ef0
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-1d15401d,team=alpha
ot-baggage-routing-key rk-1d15401d
traceparent 00-9f4a96bf0645a23b591c78f8d3b65750-c2e8dbbe51b4b477-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-grpc--bbadb736

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-9f4a96bf0645a23b591c78f8d3b65750-7e9d56d155831751-01
traceparent 00-9f4a96bf0645a23b591c78f8d3b65750-7e9d56d155831751-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--grpc-grpc--bbadb736
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-8364f682,team=alpha
ot-baggage-routing-key rk-8364f682
traceparent 00-1375c5763bdfeb26d638aeefa1391584-9e80162aa086a100-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-kafka--9c26f1d9

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-1375c5763bdfeb26d638aeefa1391584-1b06b301d91d95ef-01
traceparent 00-1375c5763bdfeb26d638aeefa1391584-1b06b301d91d95ef-01
tracestate cptest=v1
test id
elastic-go--grpc-kafka--9c26f1d9
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-a1c1910e,team=alpha
ot-baggage-routing-key rk-a1c1910e
traceparent 00-3f59763853fe9c7e4f326c5456fecdbe-daf247cdf0dbee69-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-rabbitmq--bda6aa79

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

elastic-apm-traceparent 00-3f59763853fe9c7e4f326c5456fecdbe-9efcecb796ab0606-01
traceparent 00-3f59763853fe9c7e4f326c5456fecdbe-9efcecb796ab0606-01
tracestate cptest=v1
test id
elastic-go--grpc-rabbitmq--bda6aa79
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-56c49994,team=alpha
ot-baggage-routing-key rk-56c49994
traceparent 00-5625bb0e61d386f9e3bdd84d17379e92-d1fc3bbbdb34702d-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-http--1cf6e0fc

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 46
content-type application/json
elastic-apm-traceparent 00-5625bb0e61d386f9e3bdd84d17379e92-761b7bd62bf8546e-01
traceparent 00-5625bb0e61d386f9e3bdd84d17379e92-761b7bd62bf8546e-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--kafka-http--1cf6e0fc
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-e62d3ac4,team=alpha
ot-baggage-routing-key rk-e62d3ac4
traceparent 00-f30b5e6d1f2a1176e97aac02f32d9aa3-ba1e83487ac143b3-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-grpc--209e8b6c

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-f30b5e6d1f2a1176e97aac02f32d9aa3-e59ca6133b71cc2a-01
traceparent 00-f30b5e6d1f2a1176e97aac02f32d9aa3-e59ca6133b71cc2a-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--kafka-grpc--209e8b6c
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-a42398d8,team=alpha
ot-baggage-routing-key rk-a42398d8
traceparent 00-ca9908fa63cc9c8f68ca31d614468933-5735f4fb2fc67788-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-kafka--29d3429c

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-ca9908fa63cc9c8f68ca31d614468933-108f175285354c77-01
traceparent 00-ca9908fa63cc9c8f68ca31d614468933-108f175285354c77-01
tracestate cptest=v1
test id
elastic-go--kafka-kafka--29d3429c
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-5e6bde42,team=alpha
ot-baggage-routing-key rk-5e6bde42
traceparent 00-a8b2640d66fc6637e7078d6d05e91232-c658a3d242eb77c4-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-rabbitmq--d0f67716

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

elastic-apm-traceparent 00-a8b2640d66fc6637e7078d6d05e91232-79a0625fe1834086-01
traceparent 00-a8b2640d66fc6637e7078d6d05e91232-79a0625fe1834086-01
tracestate cptest=v1
test id
elastic-go--kafka-rabbitmq--d0f67716
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-45ea7fd4,team=alpha
ot-baggage-routing-key rk-45ea7fd4
traceparent 00-42e1cc667a62b8f17a8e680913e7df6b-d2795bfc60688e84-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-http--cd78240f

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 49
content-type application/json
elastic-apm-traceparent 00-42e1cc667a62b8f17a8e680913e7df6b-90330b4a8d1ddc3a-01
traceparent 00-42e1cc667a62b8f17a8e680913e7df6b-90330b4a8d1ddc3a-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--rabbitmq-http--cd78240f
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-30fb7353,team=alpha
ot-baggage-routing-key rk-30fb7353
traceparent 00-7bef56f2828a9637b461b7bbf2f5b51c-b6576f37eb1077f9-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-grpc--856ed6df

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-7bef56f2828a9637b461b7bbf2f5b51c-522062c0f97f30a9-01
traceparent 00-7bef56f2828a9637b461b7bbf2f5b51c-522062c0f97f30a9-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--rabbitmq-grpc--856ed6df
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-ba910a9f,team=alpha
ot-baggage-routing-key rk-ba910a9f
traceparent 00-58b4f902d7d77fe519b17f20589a001c-0b52de611818c2a1-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-kafka--7e86693d

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-58b4f902d7d77fe519b17f20589a001c-59204d667d3c850e-01
traceparent 00-58b4f902d7d77fe519b17f20589a001c-59204d667d3c850e-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-kafka--7e86693d
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-7ef0a30c,team=alpha
ot-baggage-routing-key rk-7ef0a30c
traceparent 00-4d05c5a45e5ff739c72fe5c00a97f937-65afcf0ba2ffb6af-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-rabbitmq--39396aab

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

elastic-apm-traceparent 00-4d05c5a45e5ff739c72fe5c00a97f937-e8b06e319e09dc57-01
traceparent 00-4d05c5a45e5ff739c72fe5c00a97f937-e8b06e319e09dc57-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-rabbitmq--39396aab
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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