elastic-go

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

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.5 reported as v2.4.5 2.4.5 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, 08:30 UTC
Harness
9b99070 · measured in backtest-elastic-go-2.4.5
Raw JSON
2.4.5.json → variants[id = "elastic-go"]

Libraries

grpcapmgrpc v2.4.5 (unary interceptors)
httpapmhttp v2.4.5 (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-67fef48d,team=alpha
ot-baggage-routing-key rk-67fef48d
traceparent 00-156b7291225d7852eb41f867a54913ac-ab091b894aecc6ff-01
tracestate cptest=v1
x-cp-canary elastic-go--http-http--0b930d55

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-156b7291225d7852eb41f867a54913ac-846bb78cc758d260-01
traceparent 00-156b7291225d7852eb41f867a54913ac-846bb78cc758d260-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--http-http--0b930d55
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-6d577fd8,team=alpha
ot-baggage-routing-key rk-6d577fd8
traceparent 00-ddbc566b94a41fe16d8048ce0ed60bcd-0ac9112d2442b4f1-01
tracestate cptest=v1
x-cp-canary elastic-go--http-grpc--61993908

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-ddbc566b94a41fe16d8048ce0ed60bcd-b7eec1f0d945ba0e-01
traceparent 00-ddbc566b94a41fe16d8048ce0ed60bcd-b7eec1f0d945ba0e-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--http-grpc--61993908
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-81c1c9a6,team=alpha
ot-baggage-routing-key rk-81c1c9a6
traceparent 00-5c2daa7648b03a2df79a1dda22fbcad4-82fd436c2b3bcc43-01
tracestate cptest=v1
x-cp-canary elastic-go--http-kafka--07518d66

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-5c2daa7648b03a2df79a1dda22fbcad4-ae682cab49134b5d-01
traceparent 00-5c2daa7648b03a2df79a1dda22fbcad4-ae682cab49134b5d-01
tracestate cptest=v1
test id
elastic-go--http-kafka--07518d66
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-33bcd27e,team=alpha
ot-baggage-routing-key rk-33bcd27e
traceparent 00-68943511e8d785ee7145e6e9c1392735-bdb145aa0bf5cbcb-01
tracestate cptest=v1
x-cp-canary elastic-go--http-rabbitmq--e8c0a363

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

elastic-apm-traceparent 00-68943511e8d785ee7145e6e9c1392735-f50f11aac4fba420-01
traceparent 00-68943511e8d785ee7145e6e9c1392735-f50f11aac4fba420-01
tracestate cptest=v1
test id
elastic-go--http-rabbitmq--e8c0a363
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-f277eb8b,team=alpha
ot-baggage-routing-key rk-f277eb8b
traceparent 00-23d5bf6467d4a74fa304c671976c6ea2-9659c8a9dc8e1d5e-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-http--dfb55715

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-23d5bf6467d4a74fa304c671976c6ea2-f9b40615a7c2f5c2-01
traceparent 00-23d5bf6467d4a74fa304c671976c6ea2-f9b40615a7c2f5c2-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--grpc-http--dfb55715
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-abce7e5f,team=alpha
ot-baggage-routing-key rk-abce7e5f
traceparent 00-0b2198dadcbd2d3c34062971e446b3da-06dd4ae65ee4c204-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-grpc--d8c636e0

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-0b2198dadcbd2d3c34062971e446b3da-995f5433d869a9c8-01
traceparent 00-0b2198dadcbd2d3c34062971e446b3da-995f5433d869a9c8-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--grpc-grpc--d8c636e0
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-f114536e,team=alpha
ot-baggage-routing-key rk-f114536e
traceparent 00-21d68d897e653c259ee8cdfb2d798e18-1eeab4a79d35808b-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-kafka--a51b5682

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-21d68d897e653c259ee8cdfb2d798e18-38e71a6106a22392-01
traceparent 00-21d68d897e653c259ee8cdfb2d798e18-38e71a6106a22392-01
tracestate cptest=v1
test id
elastic-go--grpc-kafka--a51b5682
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-f457896a,team=alpha
ot-baggage-routing-key rk-f457896a
traceparent 00-16b2931fe361db09a03a9d3da16458b7-dc2713e4f08faad8-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-rabbitmq--16588d52

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

elastic-apm-traceparent 00-16b2931fe361db09a03a9d3da16458b7-a4f92b2467a24207-01
traceparent 00-16b2931fe361db09a03a9d3da16458b7-a4f92b2467a24207-01
tracestate cptest=v1
test id
elastic-go--grpc-rabbitmq--16588d52
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-58539a46,team=alpha
ot-baggage-routing-key rk-58539a46
traceparent 00-7a2196a9c27f90d1d0f95f180745687d-f58ce5dc39d782e1-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-http--5e533381

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 46
content-type application/json
elastic-apm-traceparent 00-7a2196a9c27f90d1d0f95f180745687d-32b7ba6e82e2a4c5-01
traceparent 00-7a2196a9c27f90d1d0f95f180745687d-32b7ba6e82e2a4c5-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--kafka-http--5e533381
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-cac7cbbe,team=alpha
ot-baggage-routing-key rk-cac7cbbe
traceparent 00-b9ab0586873dacd2acf4fff32d55d99a-69534dc1960db910-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-grpc--1c077b01

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-b9ab0586873dacd2acf4fff32d55d99a-170b493e16d570f1-01
traceparent 00-b9ab0586873dacd2acf4fff32d55d99a-170b493e16d570f1-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--kafka-grpc--1c077b01
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-170136eb,team=alpha
ot-baggage-routing-key rk-170136eb
traceparent 00-08d80baceceb04c42330a91a92918e81-6300e7ac39f40808-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-kafka--a8757387

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-08d80baceceb04c42330a91a92918e81-945cb369b3a21f78-01
traceparent 00-08d80baceceb04c42330a91a92918e81-945cb369b3a21f78-01
tracestate cptest=v1
test id
elastic-go--kafka-kafka--a8757387
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-041cb33d,team=alpha
ot-baggage-routing-key rk-041cb33d
traceparent 00-43f98cc2c5b75e01b3aaa809fa6ab212-57ee105897ae935f-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-rabbitmq--0fc2469e

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

elastic-apm-traceparent 00-43f98cc2c5b75e01b3aaa809fa6ab212-43b7490a0e10aad7-01
traceparent 00-43f98cc2c5b75e01b3aaa809fa6ab212-43b7490a0e10aad7-01
tracestate cptest=v1
test id
elastic-go--kafka-rabbitmq--0fc2469e
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-976931ff,team=alpha
ot-baggage-routing-key rk-976931ff
traceparent 00-dcef630f046c5d1d68e7251ec0466a6a-c5de79d1af98e32d-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-http--d137dbaf

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 49
content-type application/json
elastic-apm-traceparent 00-dcef630f046c5d1d68e7251ec0466a6a-d4a904bda85fcde7-01
traceparent 00-dcef630f046c5d1d68e7251ec0466a6a-d4a904bda85fcde7-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--rabbitmq-http--d137dbaf
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-1255477b,team=alpha
ot-baggage-routing-key rk-1255477b
traceparent 00-5fded9d200f24d79ce6a48579573ad3b-ef39c522e7f4e675-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-grpc--9548e1c1

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-5fded9d200f24d79ce6a48579573ad3b-a097172a4e73c5f7-01
traceparent 00-5fded9d200f24d79ce6a48579573ad3b-a097172a4e73c5f7-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--rabbitmq-grpc--9548e1c1
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-b0b03e12,team=alpha
ot-baggage-routing-key rk-b0b03e12
traceparent 00-dd8b18db48e25866dfb4d0a4ece0926e-f177aa1e67851362-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-kafka--af333a54

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-dd8b18db48e25866dfb4d0a4ece0926e-2ed104032e79efcf-01
traceparent 00-dd8b18db48e25866dfb4d0a4ece0926e-2ed104032e79efcf-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-kafka--af333a54
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-2dbbbc94,team=alpha
ot-baggage-routing-key rk-2dbbbc94
traceparent 00-18c2602436c37f21f3b4da65963331c3-25532ded7b0d8291-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-rabbitmq--b472cd5e

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

elastic-apm-traceparent 00-18c2602436c37f21f3b4da65963331c3-73d5f8f164732693-01
traceparent 00-18c2602436c37f21f3b4da65963331c3-73d5f8f164732693-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-rabbitmq--b472cd5e
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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