elastic-go

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

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.1 reported as v2.7.1 2.7.1 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, 20:00 UTC
Harness
9b99070 · measured in backtest-elastic-go-2.7.1
Raw JSON
2.7.1.json → variants[id = "elastic-go"]

Libraries

grpcapmgrpc v2.7.1 (unary interceptors)
httpapmhttp v2.7.1 (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-26ac3761,team=alpha
ot-baggage-routing-key rk-26ac3761
traceparent 00-4d62ea13ba73cf32fff302944d867991-1aecfc62f283ab28-01
tracestate cptest=v1
x-cp-canary elastic-go--http-http--3926e4cd

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-4d62ea13ba73cf32fff302944d867991-043a643f3d9452ac-01
traceparent 00-4d62ea13ba73cf32fff302944d867991-043a643f3d9452ac-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--http-http--3926e4cd
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-fa006176,team=alpha
ot-baggage-routing-key rk-fa006176
traceparent 00-4a7d4a3f1a92b79c8b15f796184b9158-9c74016361276029-01
tracestate cptest=v1
x-cp-canary elastic-go--http-grpc--822992e9

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-4a7d4a3f1a92b79c8b15f796184b9158-dc58e7c8571e67ee-01
traceparent 00-4a7d4a3f1a92b79c8b15f796184b9158-dc58e7c8571e67ee-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--http-grpc--822992e9
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-0e947e77,team=alpha
ot-baggage-routing-key rk-0e947e77
traceparent 00-b54001d2c48e130de37bd5d87bf50cb6-4ec264ad9f8bb312-01
tracestate cptest=v1
x-cp-canary elastic-go--http-kafka--d0d752ac

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-b54001d2c48e130de37bd5d87bf50cb6-77fe1aa911ab14f6-01
traceparent 00-b54001d2c48e130de37bd5d87bf50cb6-77fe1aa911ab14f6-01
tracestate cptest=v1
test id
elastic-go--http-kafka--d0d752ac
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-bd4eef75,team=alpha
ot-baggage-routing-key rk-bd4eef75
traceparent 00-d18540686e8ad50256c309a962af3530-733a534a26dcbea0-01
tracestate cptest=v1
x-cp-canary elastic-go--http-rabbitmq--a3043149

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

elastic-apm-traceparent 00-d18540686e8ad50256c309a962af3530-8224c0a19574f0a1-01
traceparent 00-d18540686e8ad50256c309a962af3530-8224c0a19574f0a1-01
tracestate cptest=v1
test id
elastic-go--http-rabbitmq--a3043149
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-a51c13ee,team=alpha
ot-baggage-routing-key rk-a51c13ee
traceparent 00-fda78a6587f1a35f2e1a418c6b46a931-909d38469f25bd4e-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-http--91715e25

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-fda78a6587f1a35f2e1a418c6b46a931-bb97accdc14e8a32-01
traceparent 00-fda78a6587f1a35f2e1a418c6b46a931-bb97accdc14e8a32-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--grpc-http--91715e25
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-25c454cb,team=alpha
ot-baggage-routing-key rk-25c454cb
traceparent 00-088747768e1488dc59aaabeb07eb094b-11f4fc9e81706735-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-grpc--baf1e2dd

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-088747768e1488dc59aaabeb07eb094b-41220062de5c7f4a-01
traceparent 00-088747768e1488dc59aaabeb07eb094b-41220062de5c7f4a-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--grpc-grpc--baf1e2dd
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-52718bef,team=alpha
ot-baggage-routing-key rk-52718bef
traceparent 00-8656feb6faf3874d588a716dd76a9124-421c5c509133be7a-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-kafka--90adeeaf

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-8656feb6faf3874d588a716dd76a9124-67c5ea65cc752833-01
traceparent 00-8656feb6faf3874d588a716dd76a9124-67c5ea65cc752833-01
tracestate cptest=v1
test id
elastic-go--grpc-kafka--90adeeaf
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-8a3b2207,team=alpha
ot-baggage-routing-key rk-8a3b2207
traceparent 00-71c5c701517c218bc69f25b6dcc002e0-1475894dc69a9894-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-rabbitmq--f1b84e45

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

elastic-apm-traceparent 00-71c5c701517c218bc69f25b6dcc002e0-6f83ce1f0fc148e3-01
traceparent 00-71c5c701517c218bc69f25b6dcc002e0-6f83ce1f0fc148e3-01
tracestate cptest=v1
test id
elastic-go--grpc-rabbitmq--f1b84e45
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-65dba9cb,team=alpha
ot-baggage-routing-key rk-65dba9cb
traceparent 00-c1db20836e13427cadb82fd4feacd0a9-3cfbe82547633ae5-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-http--27fa1cab

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 46
content-type application/json
elastic-apm-traceparent 00-c1db20836e13427cadb82fd4feacd0a9-d994eea4e962aedc-01
traceparent 00-c1db20836e13427cadb82fd4feacd0a9-d994eea4e962aedc-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--kafka-http--27fa1cab
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-1d83e865,team=alpha
ot-baggage-routing-key rk-1d83e865
traceparent 00-3091675dc241cecffc9d57a33035bbd8-0762172d2213e4b7-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-grpc--d953c30a

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-3091675dc241cecffc9d57a33035bbd8-1db4f2ba374e5a10-01
traceparent 00-3091675dc241cecffc9d57a33035bbd8-1db4f2ba374e5a10-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--kafka-grpc--d953c30a
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-7f36f247,team=alpha
ot-baggage-routing-key rk-7f36f247
traceparent 00-3d67196a1e3cc884ce46f56fab07160d-d7f62b2fd84eda50-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-kafka--b44a7114

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-3d67196a1e3cc884ce46f56fab07160d-887192c16e461cbc-01
traceparent 00-3d67196a1e3cc884ce46f56fab07160d-887192c16e461cbc-01
tracestate cptest=v1
test id
elastic-go--kafka-kafka--b44a7114
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-f34096c9,team=alpha
ot-baggage-routing-key rk-f34096c9
traceparent 00-82b48f511020aaf367ae0aef1ccd601f-3efae88bac9ff688-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-rabbitmq--1126c71f

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

elastic-apm-traceparent 00-82b48f511020aaf367ae0aef1ccd601f-6e3e4d951cc3d450-01
traceparent 00-82b48f511020aaf367ae0aef1ccd601f-6e3e4d951cc3d450-01
tracestate cptest=v1
test id
elastic-go--kafka-rabbitmq--1126c71f
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-530cadc7,team=alpha
ot-baggage-routing-key rk-530cadc7
traceparent 00-7c1b00ef5d94a0d676013927e1d716a9-637e653b38b152b8-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-http--e0addc59

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 49
content-type application/json
elastic-apm-traceparent 00-7c1b00ef5d94a0d676013927e1d716a9-5d4001e7c5022b40-01
traceparent 00-7c1b00ef5d94a0d676013927e1d716a9-5d4001e7c5022b40-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--rabbitmq-http--e0addc59
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-4e62930c,team=alpha
ot-baggage-routing-key rk-4e62930c
traceparent 00-ccab0297208f0ff310552fa071b9adae-21b71d3938142590-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-grpc--e17d770e

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-ccab0297208f0ff310552fa071b9adae-d8e9d752817ce5b2-01
traceparent 00-ccab0297208f0ff310552fa071b9adae-d8e9d752817ce5b2-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--rabbitmq-grpc--e17d770e
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-465a910f,team=alpha
ot-baggage-routing-key rk-465a910f
traceparent 00-9d6fc0436d02781cc3601da739b487ac-ba73293083ac622a-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-kafka--49c9fd36

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-9d6fc0436d02781cc3601da739b487ac-7601e59903ba1695-01
traceparent 00-9d6fc0436d02781cc3601da739b487ac-7601e59903ba1695-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-kafka--49c9fd36
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-4b462f72,team=alpha
ot-baggage-routing-key rk-4b462f72
traceparent 00-a34e0ff449b4cfa47b1997fb2adf23ed-b16a7ccc8326ca4c-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-rabbitmq--43cbd5f4

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

elastic-apm-traceparent 00-a34e0ff449b4cfa47b1997fb2adf23ed-d5e9dcfc09f4a6ef-01
traceparent 00-a34e0ff449b4cfa47b1997fb2adf23ed-d5e9dcfc09f4a6ef-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-rabbitmq--43cbd5f4
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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