elastic-go

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

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.6 reported as v2.4.6 2.4.6 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:26 UTC
Harness
9b99070 · measured in backtest-elastic-go-2.4.6
Raw JSON
2.4.6.json → variants[id = "elastic-go"]

Libraries

grpcapmgrpc v2.4.6 (unary interceptors)
httpapmhttp v2.4.6 (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-98157b6d,team=alpha
ot-baggage-routing-key rk-98157b6d
traceparent 00-675df9ee7aec4cc7ac4c2c323d0de830-5731473e0a3468be-01
tracestate cptest=v1
x-cp-canary elastic-go--http-http--6b87ec99

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-675df9ee7aec4cc7ac4c2c323d0de830-0c45b7cd9c0c4e9a-01
traceparent 00-675df9ee7aec4cc7ac4c2c323d0de830-0c45b7cd9c0c4e9a-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--http-http--6b87ec99
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-c412618e,team=alpha
ot-baggage-routing-key rk-c412618e
traceparent 00-f1112adb38fddfca4daa0a169379cb07-ce5fe9d159b38ce1-01
tracestate cptest=v1
x-cp-canary elastic-go--http-grpc--dfbea8f4

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-f1112adb38fddfca4daa0a169379cb07-d2378d97a7547da5-01
traceparent 00-f1112adb38fddfca4daa0a169379cb07-d2378d97a7547da5-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--http-grpc--dfbea8f4
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-057ed17e,team=alpha
ot-baggage-routing-key rk-057ed17e
traceparent 00-9c9cf882e14e553630420e7313fdb7c1-c801b96d30e073fd-01
tracestate cptest=v1
x-cp-canary elastic-go--http-kafka--15602a15

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-9c9cf882e14e553630420e7313fdb7c1-ecc313542b0a40e0-01
traceparent 00-9c9cf882e14e553630420e7313fdb7c1-ecc313542b0a40e0-01
tracestate cptest=v1
test id
elastic-go--http-kafka--15602a15
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-14545d37,team=alpha
ot-baggage-routing-key rk-14545d37
traceparent 00-45908e02105096b3653abf98ffe240a3-d87991f4b20fcebb-01
tracestate cptest=v1
x-cp-canary elastic-go--http-rabbitmq--4ecac6c8

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

elastic-apm-traceparent 00-45908e02105096b3653abf98ffe240a3-bf1461acc8e5eb09-01
traceparent 00-45908e02105096b3653abf98ffe240a3-bf1461acc8e5eb09-01
tracestate cptest=v1
test id
elastic-go--http-rabbitmq--4ecac6c8
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-5366f225,team=alpha
ot-baggage-routing-key rk-5366f225
traceparent 00-8c54d683fa40707dd107733621a22bb2-ab37322e6b72b565-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-http--415eebb7

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-8c54d683fa40707dd107733621a22bb2-e66651945e9f4466-01
traceparent 00-8c54d683fa40707dd107733621a22bb2-e66651945e9f4466-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--grpc-http--415eebb7
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-3dfd359a,team=alpha
ot-baggage-routing-key rk-3dfd359a
traceparent 00-e0616c881cec6b1c40d40ab39045601a-c9e6303d64570c36-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-grpc--af3c834f

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-e0616c881cec6b1c40d40ab39045601a-269242d2b431516d-01
traceparent 00-e0616c881cec6b1c40d40ab39045601a-269242d2b431516d-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--grpc-grpc--af3c834f
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-4d43441b,team=alpha
ot-baggage-routing-key rk-4d43441b
traceparent 00-6ecbd10f8ebeae65091d2feef6a7a374-5e75e89998bd0950-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-kafka--c83a7274

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-6ecbd10f8ebeae65091d2feef6a7a374-6d9d6a74f5e4e260-01
traceparent 00-6ecbd10f8ebeae65091d2feef6a7a374-6d9d6a74f5e4e260-01
tracestate cptest=v1
test id
elastic-go--grpc-kafka--c83a7274
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-253f9e79,team=alpha
ot-baggage-routing-key rk-253f9e79
traceparent 00-f1e0073226c0e7f13d63752af3f5693b-b73acda67cdaa1a9-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-rabbitmq--0c99727a

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

elastic-apm-traceparent 00-f1e0073226c0e7f13d63752af3f5693b-e20ec1f452dd9bf5-01
traceparent 00-f1e0073226c0e7f13d63752af3f5693b-e20ec1f452dd9bf5-01
tracestate cptest=v1
test id
elastic-go--grpc-rabbitmq--0c99727a
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-018c3484,team=alpha
ot-baggage-routing-key rk-018c3484
traceparent 00-b5036d6b3ab3d82be0bd060533f26241-1d0676eafbffbe11-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-http--c452d9d5

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 46
content-type application/json
elastic-apm-traceparent 00-b5036d6b3ab3d82be0bd060533f26241-20ad5ce86fa37d80-01
traceparent 00-b5036d6b3ab3d82be0bd060533f26241-20ad5ce86fa37d80-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--kafka-http--c452d9d5
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-8559cf1a,team=alpha
ot-baggage-routing-key rk-8559cf1a
traceparent 00-f2928d96a79f50eb810b814a5ddab1c0-d5aaa2bf59afba33-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-grpc--e1e317a4

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-f2928d96a79f50eb810b814a5ddab1c0-0f7969bed8aed21d-01
traceparent 00-f2928d96a79f50eb810b814a5ddab1c0-0f7969bed8aed21d-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--kafka-grpc--e1e317a4
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-6251b0e9,team=alpha
ot-baggage-routing-key rk-6251b0e9
traceparent 00-54b2ff84c18038effd40efeed7cdc821-28af0391c4e01d23-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-kafka--56c0b128

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-54b2ff84c18038effd40efeed7cdc821-33b271254a47c0c7-01
traceparent 00-54b2ff84c18038effd40efeed7cdc821-33b271254a47c0c7-01
tracestate cptest=v1
test id
elastic-go--kafka-kafka--56c0b128
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-99786c75,team=alpha
ot-baggage-routing-key rk-99786c75
traceparent 00-a1257e0f1f4a8f109f7adcbe3c88e23a-fe2e08e0466feaab-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-rabbitmq--c48f2612

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

elastic-apm-traceparent 00-a1257e0f1f4a8f109f7adcbe3c88e23a-7da5481f8ac61b5f-01
traceparent 00-a1257e0f1f4a8f109f7adcbe3c88e23a-7da5481f8ac61b5f-01
tracestate cptest=v1
test id
elastic-go--kafka-rabbitmq--c48f2612
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-9b206e68,team=alpha
ot-baggage-routing-key rk-9b206e68
traceparent 00-c4b25684a2dc120d6e224c392ef7a0ad-f6c30224bb2316fa-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-http--584dc358

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 49
content-type application/json
elastic-apm-traceparent 00-c4b25684a2dc120d6e224c392ef7a0ad-7999294ec32a4892-01
traceparent 00-c4b25684a2dc120d6e224c392ef7a0ad-7999294ec32a4892-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--rabbitmq-http--584dc358
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-ba8f36e1,team=alpha
ot-baggage-routing-key rk-ba8f36e1
traceparent 00-dba7e72d8786bee1564870b0ca314518-3ea8ca01875a8f71-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-grpc--cf4faebc

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-dba7e72d8786bee1564870b0ca314518-e109a4d90d7bc47a-01
traceparent 00-dba7e72d8786bee1564870b0ca314518-e109a4d90d7bc47a-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--rabbitmq-grpc--cf4faebc
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-2b68bbe6,team=alpha
ot-baggage-routing-key rk-2b68bbe6
traceparent 00-d7942a8edda1fb5fff5fad15474697ef-8a5295c1f93ebdff-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-kafka--77ddf6c5

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-d7942a8edda1fb5fff5fad15474697ef-6ccb759bca73282b-01
traceparent 00-d7942a8edda1fb5fff5fad15474697ef-6ccb759bca73282b-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-kafka--77ddf6c5
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-5fe7c99e,team=alpha
ot-baggage-routing-key rk-5fe7c99e
traceparent 00-bccdbf30b48b51a5ad0fc2a8bd8dce0c-ac450fb5e466330c-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-rabbitmq--dbf00845

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

elastic-apm-traceparent 00-bccdbf30b48b51a5ad0fc2a8bd8dce0c-1e0c8d8938459b20-01
traceparent 00-bccdbf30b48b51a5ad0fc2a8bd8dce0c-1e0c8d8938459b20-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-rabbitmq--dbf00845
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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