elastic-go

Go in-code go.elastic.co/apm2.4.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.4.0 reported as v2.4.0 2.4.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, 10:08 UTC
Harness
374f21d · measured in backtest-elastic-go-2.4.0
Raw JSON
2.4.0.json → variants[id = "elastic-go"]

Libraries

grpcapmgrpc v2.4.0 (unary interceptors)
httpapmhttp v2.4.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-2cefed6c,team=alpha
ot-baggage-routing-key rk-2cefed6c
traceparent 00-15220eb82fbc89589b6a5c28a333adba-2e3475b85ebc2075-01
tracestate cptest=v1
x-cp-canary elastic-go--http-http--a7df19c9

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-15220eb82fbc89589b6a5c28a333adba-1eda75ed1fd687bd-01
traceparent 00-15220eb82fbc89589b6a5c28a333adba-1eda75ed1fd687bd-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--http-http--a7df19c9
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-6e0510e0,team=alpha
ot-baggage-routing-key rk-6e0510e0
traceparent 00-e0dba185e23f3f711058ccdac3ceaeb2-eec927619d3c6f70-01
tracestate cptest=v1
x-cp-canary elastic-go--http-grpc--ab5c484d

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-e0dba185e23f3f711058ccdac3ceaeb2-dc810e5165ed9d0a-01
traceparent 00-e0dba185e23f3f711058ccdac3ceaeb2-dc810e5165ed9d0a-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--http-grpc--ab5c484d
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-21b54bcd,team=alpha
ot-baggage-routing-key rk-21b54bcd
traceparent 00-f48ceaa8b34f84b7b8219831c883af64-2dd28c23faa67e1e-01
tracestate cptest=v1
x-cp-canary elastic-go--http-kafka--fee7abbc

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-f48ceaa8b34f84b7b8219831c883af64-5da8a12a979c7ff0-01
traceparent 00-f48ceaa8b34f84b7b8219831c883af64-5da8a12a979c7ff0-01
tracestate cptest=v1
test id
elastic-go--http-kafka--fee7abbc
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-35e4203a,team=alpha
ot-baggage-routing-key rk-35e4203a
traceparent 00-2695d2da1d87f27185cdb5d21d5c89ae-1d07d87496a3abd2-01
tracestate cptest=v1
x-cp-canary elastic-go--http-rabbitmq--ac8874ff

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

elastic-apm-traceparent 00-2695d2da1d87f27185cdb5d21d5c89ae-ce8d4319ded02f61-01
traceparent 00-2695d2da1d87f27185cdb5d21d5c89ae-ce8d4319ded02f61-01
tracestate cptest=v1
test id
elastic-go--http-rabbitmq--ac8874ff
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-36b0a149,team=alpha
ot-baggage-routing-key rk-36b0a149
traceparent 00-d64e1a2c985072a706a14cc2afc00b40-00b79b028ad61838-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-http--28d3db91

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-d64e1a2c985072a706a14cc2afc00b40-6e4d998e55b9f378-01
traceparent 00-d64e1a2c985072a706a14cc2afc00b40-6e4d998e55b9f378-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--grpc-http--28d3db91
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-7b9f2d55,team=alpha
ot-baggage-routing-key rk-7b9f2d55
traceparent 00-08d0039e4a32c2efc185e08d15a1149f-f23ea43876bf3ee2-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-grpc--e65ff5e1

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-08d0039e4a32c2efc185e08d15a1149f-700b737cbe7515ef-01
traceparent 00-08d0039e4a32c2efc185e08d15a1149f-700b737cbe7515ef-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--grpc-grpc--e65ff5e1
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-fe76017c,team=alpha
ot-baggage-routing-key rk-fe76017c
traceparent 00-3913c5bb45448fe13d55b8b5f78db3e9-42906f483039248b-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-kafka--f63027d9

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-3913c5bb45448fe13d55b8b5f78db3e9-7244446e5b39b26f-01
traceparent 00-3913c5bb45448fe13d55b8b5f78db3e9-7244446e5b39b26f-01
tracestate cptest=v1
test id
elastic-go--grpc-kafka--f63027d9
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-deb43b25,team=alpha
ot-baggage-routing-key rk-deb43b25
traceparent 00-0b9881eaef5bb85cbe316b7a898d4b37-2fd7f112525ed883-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-rabbitmq--9224c6f2

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

elastic-apm-traceparent 00-0b9881eaef5bb85cbe316b7a898d4b37-20541af0281eca57-01
traceparent 00-0b9881eaef5bb85cbe316b7a898d4b37-20541af0281eca57-01
tracestate cptest=v1
test id
elastic-go--grpc-rabbitmq--9224c6f2
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-b9aec548,team=alpha
ot-baggage-routing-key rk-b9aec548
traceparent 00-9097ffa5ce3ef78012120642a0a66f90-8664386dbf62d060-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-http--25ba8618

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 46
content-type application/json
elastic-apm-traceparent 00-9097ffa5ce3ef78012120642a0a66f90-145527892dab9095-01
traceparent 00-9097ffa5ce3ef78012120642a0a66f90-145527892dab9095-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--kafka-http--25ba8618
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-0642b7b2,team=alpha
ot-baggage-routing-key rk-0642b7b2
traceparent 00-c63e67fad0b7bc837728a1455439b13e-de1e06b7b2c3d35f-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-grpc--e8f2260b

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-c63e67fad0b7bc837728a1455439b13e-bf399e6a379189e5-01
traceparent 00-c63e67fad0b7bc837728a1455439b13e-bf399e6a379189e5-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--kafka-grpc--e8f2260b
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-59584d28,team=alpha
ot-baggage-routing-key rk-59584d28
traceparent 00-d41e9d855a9e12f760d39142466d0ec2-efbae27b87dfed4d-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-kafka--21f818f9

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-d41e9d855a9e12f760d39142466d0ec2-5893f2b832f96d6b-01
traceparent 00-d41e9d855a9e12f760d39142466d0ec2-5893f2b832f96d6b-01
tracestate cptest=v1
test id
elastic-go--kafka-kafka--21f818f9
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-e9806750,team=alpha
ot-baggage-routing-key rk-e9806750
traceparent 00-0f8f908ee0f99bcb0f7dbb6f064face8-6817fa5a481d6323-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-rabbitmq--a9423c92

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

elastic-apm-traceparent 00-0f8f908ee0f99bcb0f7dbb6f064face8-a5a57988d626d3bc-01
traceparent 00-0f8f908ee0f99bcb0f7dbb6f064face8-a5a57988d626d3bc-01
tracestate cptest=v1
test id
elastic-go--kafka-rabbitmq--a9423c92
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-a8b2bfee,team=alpha
ot-baggage-routing-key rk-a8b2bfee
traceparent 00-0d7a12d433a540d2a496089eb25a418f-2ad60e1e2476b828-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-http--3799bd2a

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 49
content-type application/json
elastic-apm-traceparent 00-0d7a12d433a540d2a496089eb25a418f-b17fe60f2f4abf56-01
traceparent 00-0d7a12d433a540d2a496089eb25a418f-b17fe60f2f4abf56-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--rabbitmq-http--3799bd2a
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-6ee48bec,team=alpha
ot-baggage-routing-key rk-6ee48bec
traceparent 00-cc821e7e011ec4a152028cf6bd98bd20-4d037767189e0ddf-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-grpc--e4930044

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-cc821e7e011ec4a152028cf6bd98bd20-25691da3649e9be5-01
traceparent 00-cc821e7e011ec4a152028cf6bd98bd20-25691da3649e9be5-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--rabbitmq-grpc--e4930044
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-2bfdaaa8,team=alpha
ot-baggage-routing-key rk-2bfdaaa8
traceparent 00-13b85170d7a64b2bac95e748b5a804be-14d6214f0ee4cafd-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-kafka--b1508959

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-13b85170d7a64b2bac95e748b5a804be-000a7ef136cd5b72-01
traceparent 00-13b85170d7a64b2bac95e748b5a804be-000a7ef136cd5b72-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-kafka--b1508959
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-62e29412,team=alpha
ot-baggage-routing-key rk-62e29412
traceparent 00-c27f90cf4c5d2fd10fb8f02e1fc200b2-fdaedd4cec7c2d31-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-rabbitmq--9f62e097

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

elastic-apm-traceparent 00-c27f90cf4c5d2fd10fb8f02e1fc200b2-7a65d10a4e8577df-01
traceparent 00-c27f90cf4c5d2fd10fb8f02e1fc200b2-7a65d10a4e8577df-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-rabbitmq--9f62e097
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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