elastic-go

Go in-code go.elastic.co/apm2.7.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.7.5 reported as v2.7.5 2.7.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
9 Nov 2026, 19:45 UTC
Harness
9b99070 · measured in backtest-elastic-go-2.7.5
Raw JSON
2.7.5.json → variants[id = "elastic-go"]

Libraries

grpcapmgrpc v2.7.5 (unary interceptors)
httpapmhttp v2.7.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-ad310eac,team=alpha
ot-baggage-routing-key rk-ad310eac
traceparent 00-c4cdc78d70bddfa51dadf4a541f239ee-8dd39c93e62f757b-01
tracestate cptest=v1
x-cp-canary elastic-go--http-http--46590c94

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-c4cdc78d70bddfa51dadf4a541f239ee-f1e512869e3290e4-01
traceparent 00-c4cdc78d70bddfa51dadf4a541f239ee-f1e512869e3290e4-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--http-http--46590c94
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-844dd329,team=alpha
ot-baggage-routing-key rk-844dd329
traceparent 00-b5c9e883f675bce31ec49699f255f301-5ab1bd8367cbce12-01
tracestate cptest=v1
x-cp-canary elastic-go--http-grpc--071c70fd

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-b5c9e883f675bce31ec49699f255f301-806e40813c699d99-01
traceparent 00-b5c9e883f675bce31ec49699f255f301-806e40813c699d99-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--http-grpc--071c70fd
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-6c530796,team=alpha
ot-baggage-routing-key rk-6c530796
traceparent 00-6d9285c0ab7d7c8241fe9900eeb3cf4a-ffb48210fdd9c1ab-01
tracestate cptest=v1
x-cp-canary elastic-go--http-kafka--1eece713

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-6d9285c0ab7d7c8241fe9900eeb3cf4a-8e5bbc31a430a3b2-01
traceparent 00-6d9285c0ab7d7c8241fe9900eeb3cf4a-8e5bbc31a430a3b2-01
tracestate cptest=v1
test id
elastic-go--http-kafka--1eece713
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-921ec9d7,team=alpha
ot-baggage-routing-key rk-921ec9d7
traceparent 00-7eb52237fab664c60ba6160dc4955d2e-25e593fba56e0872-01
tracestate cptest=v1
x-cp-canary elastic-go--http-rabbitmq--e8fb317f

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

elastic-apm-traceparent 00-7eb52237fab664c60ba6160dc4955d2e-f90be1c6b6cc6519-01
traceparent 00-7eb52237fab664c60ba6160dc4955d2e-f90be1c6b6cc6519-01
tracestate cptest=v1
test id
elastic-go--http-rabbitmq--e8fb317f
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-4996adff,team=alpha
ot-baggage-routing-key rk-4996adff
traceparent 00-0c1afdd024d5900fb214b6c5330a039d-91e4e33b224e8ac5-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-http--42ed7462

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-0c1afdd024d5900fb214b6c5330a039d-9b88d0893b012ef5-01
traceparent 00-0c1afdd024d5900fb214b6c5330a039d-9b88d0893b012ef5-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--grpc-http--42ed7462
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-16071162,team=alpha
ot-baggage-routing-key rk-16071162
traceparent 00-017f6a4d8d39be74232a298dfe3c66ed-c6863f41d6606e3f-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-grpc--3a841cf0

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-017f6a4d8d39be74232a298dfe3c66ed-3b83a2a0e1a4462b-01
traceparent 00-017f6a4d8d39be74232a298dfe3c66ed-3b83a2a0e1a4462b-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--grpc-grpc--3a841cf0
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-4712d593,team=alpha
ot-baggage-routing-key rk-4712d593
traceparent 00-11df49b069173e53d8cdd118f0ed9bb5-07b7e76fe3f9616e-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-kafka--bc7f4811

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-11df49b069173e53d8cdd118f0ed9bb5-40847f0d28724efe-01
traceparent 00-11df49b069173e53d8cdd118f0ed9bb5-40847f0d28724efe-01
tracestate cptest=v1
test id
elastic-go--grpc-kafka--bc7f4811
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-f11afe0d,team=alpha
ot-baggage-routing-key rk-f11afe0d
traceparent 00-414a5752a919f86ffa23d9dc8b3b61d7-99921779546a20de-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-rabbitmq--516dea73

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

elastic-apm-traceparent 00-414a5752a919f86ffa23d9dc8b3b61d7-0b725a098198bacd-01
traceparent 00-414a5752a919f86ffa23d9dc8b3b61d7-0b725a098198bacd-01
tracestate cptest=v1
test id
elastic-go--grpc-rabbitmq--516dea73
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-3b8dfb05,team=alpha
ot-baggage-routing-key rk-3b8dfb05
traceparent 00-fe950c4aaaa51b4435ae48e21d9ac21a-a4247f96e1824872-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-http--6d9998b4

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 46
content-type application/json
elastic-apm-traceparent 00-fe950c4aaaa51b4435ae48e21d9ac21a-433194db6413b722-01
traceparent 00-fe950c4aaaa51b4435ae48e21d9ac21a-433194db6413b722-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--kafka-http--6d9998b4
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-af18bc40,team=alpha
ot-baggage-routing-key rk-af18bc40
traceparent 00-93c4723e4c370b5884e4f7c77bbe46ab-d619304e27e822bd-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-grpc--76a7d0e9

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-93c4723e4c370b5884e4f7c77bbe46ab-2bdff44b2efcc30a-01
traceparent 00-93c4723e4c370b5884e4f7c77bbe46ab-2bdff44b2efcc30a-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--kafka-grpc--76a7d0e9
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-57ee0ec8,team=alpha
ot-baggage-routing-key rk-57ee0ec8
traceparent 00-694210104590a9412aa291348b86198d-1b5170064f8b6e60-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-kafka--c749b868

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-694210104590a9412aa291348b86198d-e6bc440022088096-01
traceparent 00-694210104590a9412aa291348b86198d-e6bc440022088096-01
tracestate cptest=v1
test id
elastic-go--kafka-kafka--c749b868
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-308aa8cf,team=alpha
ot-baggage-routing-key rk-308aa8cf
traceparent 00-9f9f2d59826412ead79efa1fcaa5fe65-0b43ee284067e340-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-rabbitmq--0d1cac13

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

elastic-apm-traceparent 00-9f9f2d59826412ead79efa1fcaa5fe65-d19897c319a86068-01
traceparent 00-9f9f2d59826412ead79efa1fcaa5fe65-d19897c319a86068-01
tracestate cptest=v1
test id
elastic-go--kafka-rabbitmq--0d1cac13
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-1a8f2b30,team=alpha
ot-baggage-routing-key rk-1a8f2b30
traceparent 00-d3d5316b595e114236be2ae4ad1ec602-24225eb455016d4e-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-http--e0176562

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 49
content-type application/json
elastic-apm-traceparent 00-d3d5316b595e114236be2ae4ad1ec602-e807b3bd8af1681a-01
traceparent 00-d3d5316b595e114236be2ae4ad1ec602-e807b3bd8af1681a-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--rabbitmq-http--e0176562
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-3c69dc98,team=alpha
ot-baggage-routing-key rk-3c69dc98
traceparent 00-a173bc32768e682e0f1f4511961e809c-62adcf1c19859e58-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-grpc--05fa0083

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-a173bc32768e682e0f1f4511961e809c-a28bdc12da0280cb-01
traceparent 00-a173bc32768e682e0f1f4511961e809c-a28bdc12da0280cb-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--rabbitmq-grpc--05fa0083
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-a195b666,team=alpha
ot-baggage-routing-key rk-a195b666
traceparent 00-a3d46b9257db0e1f6f4a06bfb4255e74-75295d1c61129475-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-kafka--cd453906

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-a3d46b9257db0e1f6f4a06bfb4255e74-fc00eeffffd1eb2f-01
traceparent 00-a3d46b9257db0e1f6f4a06bfb4255e74-fc00eeffffd1eb2f-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-kafka--cd453906
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-23efeace,team=alpha
ot-baggage-routing-key rk-23efeace
traceparent 00-7ef793bbae5d620331e1e44fd9c86fbd-8eda40e346b0f0c1-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-rabbitmq--ebd2232a

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

elastic-apm-traceparent 00-7ef793bbae5d620331e1e44fd9c86fbd-a020a3951255725f-01
traceparent 00-7ef793bbae5d620331e1e44fd9c86fbd-a020a3951255725f-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-rabbitmq--ebd2232a
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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