elastic-go

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

Libraries

grpcapmgrpc v2.5.0 (unary interceptors)
httpapmhttp v2.5.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-2d5de406,team=alpha
ot-baggage-routing-key rk-2d5de406
traceparent 00-1395bd5e24eec16ed41cba0492483e5d-8862e2fb2032130a-01
tracestate cptest=v1
x-cp-canary elastic-go--http-http--53fede2c

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-1395bd5e24eec16ed41cba0492483e5d-18e396e438ec151f-01
traceparent 00-1395bd5e24eec16ed41cba0492483e5d-18e396e438ec151f-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--http-http--53fede2c
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-024a7d0b,team=alpha
ot-baggage-routing-key rk-024a7d0b
traceparent 00-2b047b0f69504bc2515956faa80b1f09-4eebeff153515df1-01
tracestate cptest=v1
x-cp-canary elastic-go--http-grpc--19026c19

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-2b047b0f69504bc2515956faa80b1f09-e664f0645c2d6933-01
traceparent 00-2b047b0f69504bc2515956faa80b1f09-e664f0645c2d6933-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--http-grpc--19026c19
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-d858b4ec,team=alpha
ot-baggage-routing-key rk-d858b4ec
traceparent 00-87f4fb63213546e4c57dbaff6cf23823-735547b12b7a95ee-01
tracestate cptest=v1
x-cp-canary elastic-go--http-kafka--c230f785

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-87f4fb63213546e4c57dbaff6cf23823-adadce041c132bbf-01
traceparent 00-87f4fb63213546e4c57dbaff6cf23823-adadce041c132bbf-01
tracestate cptest=v1
test id
elastic-go--http-kafka--c230f785
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-ab3b6839,team=alpha
ot-baggage-routing-key rk-ab3b6839
traceparent 00-ff875e9ae19d46339b2179fa3dedeed4-66abc8dcb8d3b02e-01
tracestate cptest=v1
x-cp-canary elastic-go--http-rabbitmq--25b2eb2e

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

elastic-apm-traceparent 00-ff875e9ae19d46339b2179fa3dedeed4-0769f8b18c3f0711-01
traceparent 00-ff875e9ae19d46339b2179fa3dedeed4-0769f8b18c3f0711-01
tracestate cptest=v1
test id
elastic-go--http-rabbitmq--25b2eb2e
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-b206e6f7,team=alpha
ot-baggage-routing-key rk-b206e6f7
traceparent 00-76ed6d2e8049b6a2482756bb459df697-c9e5cae4575cc607-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-http--a68139e6

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-76ed6d2e8049b6a2482756bb459df697-73cd7153d1360418-01
traceparent 00-76ed6d2e8049b6a2482756bb459df697-73cd7153d1360418-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--grpc-http--a68139e6
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-3b3fe339,team=alpha
ot-baggage-routing-key rk-3b3fe339
traceparent 00-34e5e9c30c1bcced3b20ae899e119020-862ef9fc3133aed2-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-grpc--837d8019

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-34e5e9c30c1bcced3b20ae899e119020-e9d32a330892ab50-01
traceparent 00-34e5e9c30c1bcced3b20ae899e119020-e9d32a330892ab50-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--grpc-grpc--837d8019
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-fc3ae064,team=alpha
ot-baggage-routing-key rk-fc3ae064
traceparent 00-aa084c0eac404b7879e7e7a54dddc27e-67629bac854d1c83-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-kafka--df92d093

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-aa084c0eac404b7879e7e7a54dddc27e-6590fbe31833a159-01
traceparent 00-aa084c0eac404b7879e7e7a54dddc27e-6590fbe31833a159-01
tracestate cptest=v1
test id
elastic-go--grpc-kafka--df92d093
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-3c36a1ab,team=alpha
ot-baggage-routing-key rk-3c36a1ab
traceparent 00-cfc7298935c4cfc0d2acc814988763e6-4dccc7bfc1e7a185-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-rabbitmq--24cd2bc7

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

elastic-apm-traceparent 00-cfc7298935c4cfc0d2acc814988763e6-668ae6cd0d1a388c-01
traceparent 00-cfc7298935c4cfc0d2acc814988763e6-668ae6cd0d1a388c-01
tracestate cptest=v1
test id
elastic-go--grpc-rabbitmq--24cd2bc7
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-ea7c4e1b,team=alpha
ot-baggage-routing-key rk-ea7c4e1b
traceparent 00-4277b45989706b3413d0e9c3124d9097-531fbad82424384e-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-http--dc95e378

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 46
content-type application/json
elastic-apm-traceparent 00-4277b45989706b3413d0e9c3124d9097-5336586441b14cf1-01
traceparent 00-4277b45989706b3413d0e9c3124d9097-5336586441b14cf1-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--kafka-http--dc95e378
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-faf9cd87,team=alpha
ot-baggage-routing-key rk-faf9cd87
traceparent 00-a94dbe647f54d7f811a603621c7bfab4-8196848c5e4b4089-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-grpc--f9b36975

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-a94dbe647f54d7f811a603621c7bfab4-5917798b651811ce-01
traceparent 00-a94dbe647f54d7f811a603621c7bfab4-5917798b651811ce-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--kafka-grpc--f9b36975
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-c7c57dd4,team=alpha
ot-baggage-routing-key rk-c7c57dd4
traceparent 00-ee31616bad9e133b14c4624cbf36a7b0-255b4eac12e7278c-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-kafka--e5c37529

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-ee31616bad9e133b14c4624cbf36a7b0-66bca3e847045185-01
traceparent 00-ee31616bad9e133b14c4624cbf36a7b0-66bca3e847045185-01
tracestate cptest=v1
test id
elastic-go--kafka-kafka--e5c37529
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-02119e29,team=alpha
ot-baggage-routing-key rk-02119e29
traceparent 00-ec08b89fbd59d99cfac4db9a0e23103f-1802bffc1c73f9f2-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-rabbitmq--ac5ac347

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

elastic-apm-traceparent 00-ec08b89fbd59d99cfac4db9a0e23103f-c2a7da9aae16c8f8-01
traceparent 00-ec08b89fbd59d99cfac4db9a0e23103f-c2a7da9aae16c8f8-01
tracestate cptest=v1
test id
elastic-go--kafka-rabbitmq--ac5ac347
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-96e20a56,team=alpha
ot-baggage-routing-key rk-96e20a56
traceparent 00-f4d829a16d9354ef6685f1e3143065d7-76a42c745e14944f-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-http--c82b0b9a

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 49
content-type application/json
elastic-apm-traceparent 00-f4d829a16d9354ef6685f1e3143065d7-587935c6a7084e20-01
traceparent 00-f4d829a16d9354ef6685f1e3143065d7-587935c6a7084e20-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--rabbitmq-http--c82b0b9a
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-b00e2822,team=alpha
ot-baggage-routing-key rk-b00e2822
traceparent 00-00facea775a61ac76d049e1bc3d29c7c-088e0bf8f86eed10-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-grpc--aaced08b

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-00facea775a61ac76d049e1bc3d29c7c-5e515387ac955efb-01
traceparent 00-00facea775a61ac76d049e1bc3d29c7c-5e515387ac955efb-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--rabbitmq-grpc--aaced08b
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-76d14200,team=alpha
ot-baggage-routing-key rk-76d14200
traceparent 00-297eefde541462fc0b66108d49beae32-f220134e87b4118b-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-kafka--20db829f

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-297eefde541462fc0b66108d49beae32-f5645574bd5264f0-01
traceparent 00-297eefde541462fc0b66108d49beae32-f5645574bd5264f0-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-kafka--20db829f
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-1ba052d7,team=alpha
ot-baggage-routing-key rk-1ba052d7
traceparent 00-d13fee30aaaf22794d1dbb79487fee52-0d167d9bd15301f0-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-rabbitmq--1902994a

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

elastic-apm-traceparent 00-d13fee30aaaf22794d1dbb79487fee52-ef7ab176848a2b96-01
traceparent 00-d13fee30aaaf22794d1dbb79487fee52-ef7ab176848a2b96-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-rabbitmq--1902994a
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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