elastic-go

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

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

Libraries

grpcapmgrpc v2.4.7 (unary interceptors)
httpapmhttp v2.4.7 (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-5032124c,team=alpha
ot-baggage-routing-key rk-5032124c
traceparent 00-a992bda4ef926d740e735714d4422495-2e9aef1399c8140b-01
tracestate cptest=v1
x-cp-canary elastic-go--http-http--25926667

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-a992bda4ef926d740e735714d4422495-63a77e3ee4628727-01
traceparent 00-a992bda4ef926d740e735714d4422495-63a77e3ee4628727-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--http-http--25926667
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-0e7cd85f,team=alpha
ot-baggage-routing-key rk-0e7cd85f
traceparent 00-5b97f59bdabc868b443e8fbf7f4e6f14-0ff81841addae317-01
tracestate cptest=v1
x-cp-canary elastic-go--http-grpc--ed3e9073

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-5b97f59bdabc868b443e8fbf7f4e6f14-fdee150db43a3ba2-01
traceparent 00-5b97f59bdabc868b443e8fbf7f4e6f14-fdee150db43a3ba2-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--http-grpc--ed3e9073
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-13b82d94,team=alpha
ot-baggage-routing-key rk-13b82d94
traceparent 00-654bc705f41e298ac90f6e1a63a0f3a9-2679f7de72cfcf55-01
tracestate cptest=v1
x-cp-canary elastic-go--http-kafka--69bb9c8f

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-654bc705f41e298ac90f6e1a63a0f3a9-c37115b029fcd947-01
traceparent 00-654bc705f41e298ac90f6e1a63a0f3a9-c37115b029fcd947-01
tracestate cptest=v1
test id
elastic-go--http-kafka--69bb9c8f
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-682cd381,team=alpha
ot-baggage-routing-key rk-682cd381
traceparent 00-aa4d4e9bf1c5afea803e60777a745e5e-64df48eff3be43e0-01
tracestate cptest=v1
x-cp-canary elastic-go--http-rabbitmq--f30372ef

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

elastic-apm-traceparent 00-aa4d4e9bf1c5afea803e60777a745e5e-fb0b12b43f0bb323-01
traceparent 00-aa4d4e9bf1c5afea803e60777a745e5e-fb0b12b43f0bb323-01
tracestate cptest=v1
test id
elastic-go--http-rabbitmq--f30372ef
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-88209eca,team=alpha
ot-baggage-routing-key rk-88209eca
traceparent 00-d2e79fbde54826677ddcb390d9932ec5-5506a9843940c109-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-http--7f6d3406

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-d2e79fbde54826677ddcb390d9932ec5-67696138e4deb243-01
traceparent 00-d2e79fbde54826677ddcb390d9932ec5-67696138e4deb243-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--grpc-http--7f6d3406
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-c406d839,team=alpha
ot-baggage-routing-key rk-c406d839
traceparent 00-ecce08404cf6b9e8b9bda1b79caaf273-88671ccefa8c18e1-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-grpc--1743baeb

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-ecce08404cf6b9e8b9bda1b79caaf273-fddb6a29309f9caf-01
traceparent 00-ecce08404cf6b9e8b9bda1b79caaf273-fddb6a29309f9caf-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--grpc-grpc--1743baeb
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-b8c6146d,team=alpha
ot-baggage-routing-key rk-b8c6146d
traceparent 00-9ba49e5e4dd3cb9953f2ffdcfa496da8-8f8a83520d4fe6e3-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-kafka--28eecd13

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-9ba49e5e4dd3cb9953f2ffdcfa496da8-c79c7dec95dd35a6-01
traceparent 00-9ba49e5e4dd3cb9953f2ffdcfa496da8-c79c7dec95dd35a6-01
tracestate cptest=v1
test id
elastic-go--grpc-kafka--28eecd13
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-99428cda,team=alpha
ot-baggage-routing-key rk-99428cda
traceparent 00-27f3f21b66759c48e2968d8616ab49bd-20ce5354f8c03796-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-rabbitmq--e604d2d1

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

elastic-apm-traceparent 00-27f3f21b66759c48e2968d8616ab49bd-84141861cb9aaab9-01
traceparent 00-27f3f21b66759c48e2968d8616ab49bd-84141861cb9aaab9-01
tracestate cptest=v1
test id
elastic-go--grpc-rabbitmq--e604d2d1
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-3b3f194c,team=alpha
ot-baggage-routing-key rk-3b3f194c
traceparent 00-32336926cefc058b215c8d4ce8c51564-e97e082584d3d70f-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-http--37742d1d

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 46
content-type application/json
elastic-apm-traceparent 00-32336926cefc058b215c8d4ce8c51564-f7853793347ccc27-01
traceparent 00-32336926cefc058b215c8d4ce8c51564-f7853793347ccc27-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--kafka-http--37742d1d
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-06aadb97,team=alpha
ot-baggage-routing-key rk-06aadb97
traceparent 00-d1506faf66a44517c6a91feb60cf768e-2f41411cac1086ba-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-grpc--b09a4df2

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-d1506faf66a44517c6a91feb60cf768e-6e368fe5b8d2c17a-01
traceparent 00-d1506faf66a44517c6a91feb60cf768e-6e368fe5b8d2c17a-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--kafka-grpc--b09a4df2
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-2505c51f,team=alpha
ot-baggage-routing-key rk-2505c51f
traceparent 00-8f0187a23b6b102329482519e9e28432-d32a0b2783810ebd-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-kafka--a52cd515

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-8f0187a23b6b102329482519e9e28432-ab9a7ab4ec1f4613-01
traceparent 00-8f0187a23b6b102329482519e9e28432-ab9a7ab4ec1f4613-01
tracestate cptest=v1
test id
elastic-go--kafka-kafka--a52cd515
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-a030e524,team=alpha
ot-baggage-routing-key rk-a030e524
traceparent 00-a356f1d368a6eed91a7da622296d7a35-9b46fb4b08771c45-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-rabbitmq--8e5cd2b6

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

elastic-apm-traceparent 00-a356f1d368a6eed91a7da622296d7a35-c6463a086cd31183-01
traceparent 00-a356f1d368a6eed91a7da622296d7a35-c6463a086cd31183-01
tracestate cptest=v1
test id
elastic-go--kafka-rabbitmq--8e5cd2b6
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-03df9fc7,team=alpha
ot-baggage-routing-key rk-03df9fc7
traceparent 00-b80fea9f6ee3718336dff24b3ec10d2e-391a3109cbd22e02-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-http--35daf626

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 49
content-type application/json
elastic-apm-traceparent 00-b80fea9f6ee3718336dff24b3ec10d2e-9421d45db74307eb-01
traceparent 00-b80fea9f6ee3718336dff24b3ec10d2e-9421d45db74307eb-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--rabbitmq-http--35daf626
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-684a298d,team=alpha
ot-baggage-routing-key rk-684a298d
traceparent 00-2914c1ffcf02effe2407445be75aa745-af5bc0893220afb2-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-grpc--b4f7693e

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-2914c1ffcf02effe2407445be75aa745-8a3a5a9ef67e5ffa-01
traceparent 00-2914c1ffcf02effe2407445be75aa745-8a3a5a9ef67e5ffa-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--rabbitmq-grpc--b4f7693e
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-36a544ce,team=alpha
ot-baggage-routing-key rk-36a544ce
traceparent 00-7d9ce706fbd26f4dc7e3f87a9c139b44-bf746d44638fbdd7-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-kafka--7327b57e

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-7d9ce706fbd26f4dc7e3f87a9c139b44-d04f45cd95fa6392-01
traceparent 00-7d9ce706fbd26f4dc7e3f87a9c139b44-d04f45cd95fa6392-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-kafka--7327b57e
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-32d2cf20,team=alpha
ot-baggage-routing-key rk-32d2cf20
traceparent 00-3e47f3d5e1bc0db5c42f84e4aac7d463-86ecc16932d7c817-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-rabbitmq--25e21426

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

elastic-apm-traceparent 00-3e47f3d5e1bc0db5c42f84e4aac7d463-fb43bb33946381fd-01
traceparent 00-3e47f3d5e1bc0db5c42f84e4aac7d463-fb43bb33946381fd-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-rabbitmq--25e21426
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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