elastic-go

Go in-code go.elastic.co/apm2.0.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.0.0 reported as v2.0.0 2.0.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:17 UTC
Harness
374f21d · measured in backtest-elastic-go-2.0.0
Raw JSON
2.0.0.json → variants[id = "elastic-go"]

Libraries

grpcapmgrpc v2.0.0 (unary interceptors)
httpapmhttp v2.0.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-9bd76b69,team=alpha
ot-baggage-routing-key rk-9bd76b69
traceparent 00-0e99887d36ab4277373db6ac83417e7f-05360bd80c6bef27-01
tracestate cptest=v1
x-cp-canary elastic-go--http-http--d7593fb0

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-0e99887d36ab4277373db6ac83417e7f-e12cca8e89cf15ad-01
traceparent 00-0e99887d36ab4277373db6ac83417e7f-e12cca8e89cf15ad-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--http-http--d7593fb0
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-2586dd6c,team=alpha
ot-baggage-routing-key rk-2586dd6c
traceparent 00-3e5adbff48949d33645fd34159bbe11e-4399cde8e1ade505-01
tracestate cptest=v1
x-cp-canary elastic-go--http-grpc--6e25ba4f

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-3e5adbff48949d33645fd34159bbe11e-476e149eedecad0c-01
traceparent 00-3e5adbff48949d33645fd34159bbe11e-476e149eedecad0c-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--http-grpc--6e25ba4f
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-d34d5cfd,team=alpha
ot-baggage-routing-key rk-d34d5cfd
traceparent 00-cb6e5f0f414ee70da8e4fcd8408f688f-4bf87bfbfb25d6f1-01
tracestate cptest=v1
x-cp-canary elastic-go--http-kafka--dcf1069f

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-cb6e5f0f414ee70da8e4fcd8408f688f-cbf99d44d8ae2779-01
traceparent 00-cb6e5f0f414ee70da8e4fcd8408f688f-cbf99d44d8ae2779-01
tracestate cptest=v1
test id
elastic-go--http-kafka--dcf1069f
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-060a85f1,team=alpha
ot-baggage-routing-key rk-060a85f1
traceparent 00-c3ba12e3050f8aede9485941d591cf15-92d892fc5a0628ed-01
tracestate cptest=v1
x-cp-canary elastic-go--http-rabbitmq--fe84a181

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

elastic-apm-traceparent 00-c3ba12e3050f8aede9485941d591cf15-83248f9e373ac3b3-01
traceparent 00-c3ba12e3050f8aede9485941d591cf15-83248f9e373ac3b3-01
tracestate cptest=v1
test id
elastic-go--http-rabbitmq--fe84a181
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-b6b13aea,team=alpha
ot-baggage-routing-key rk-b6b13aea
traceparent 00-2342a71313c913ffe7b125faf4e74b15-fe7c090fe06a462c-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-http--1259e1e4

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-2342a71313c913ffe7b125faf4e74b15-1f4bdce3c8123fd9-01
traceparent 00-2342a71313c913ffe7b125faf4e74b15-1f4bdce3c8123fd9-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--grpc-http--1259e1e4
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-23c68e48,team=alpha
ot-baggage-routing-key rk-23c68e48
traceparent 00-479643aab9b1c902c7e1d086b964ca69-faab278813cfd35b-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-grpc--c811a25e

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-479643aab9b1c902c7e1d086b964ca69-891bc3ce4436f6dd-01
traceparent 00-479643aab9b1c902c7e1d086b964ca69-891bc3ce4436f6dd-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--grpc-grpc--c811a25e
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-159a0305,team=alpha
ot-baggage-routing-key rk-159a0305
traceparent 00-f0fdf52c06694e22c3e9c29f0ee2a724-06a072b309a1e4c9-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-kafka--806801d5

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-f0fdf52c06694e22c3e9c29f0ee2a724-dc9def438d8aa3f6-01
traceparent 00-f0fdf52c06694e22c3e9c29f0ee2a724-dc9def438d8aa3f6-01
tracestate cptest=v1
test id
elastic-go--grpc-kafka--806801d5
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-080470b2,team=alpha
ot-baggage-routing-key rk-080470b2
traceparent 00-0499597da341cd5dc9c1a8ed554f5784-42aa5ef0e39400cd-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-rabbitmq--6145e9df

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

elastic-apm-traceparent 00-0499597da341cd5dc9c1a8ed554f5784-c9e5a992dff99401-01
traceparent 00-0499597da341cd5dc9c1a8ed554f5784-c9e5a992dff99401-01
tracestate cptest=v1
test id
elastic-go--grpc-rabbitmq--6145e9df
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-58955698,team=alpha
ot-baggage-routing-key rk-58955698
traceparent 00-131bd612297dca869178e3d44418adab-057032b129be05a1-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-http--c90c7b0a

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 46
content-type application/json
elastic-apm-traceparent 00-131bd612297dca869178e3d44418adab-cf330831da497819-01
traceparent 00-131bd612297dca869178e3d44418adab-cf330831da497819-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--kafka-http--c90c7b0a
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-b871b4d1,team=alpha
ot-baggage-routing-key rk-b871b4d1
traceparent 00-86f2b15c524383efe44a3880d8f16140-90bc84dd79e5b41d-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-grpc--0a7bf36e

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-86f2b15c524383efe44a3880d8f16140-0f53b6e379575603-01
traceparent 00-86f2b15c524383efe44a3880d8f16140-0f53b6e379575603-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--kafka-grpc--0a7bf36e
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-727f317f,team=alpha
ot-baggage-routing-key rk-727f317f
traceparent 00-4b42b3c15acbe24c05d7dab46393edff-83b2075c2c082e57-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-kafka--7359a023

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-4b42b3c15acbe24c05d7dab46393edff-3e678465c5f3efbf-01
traceparent 00-4b42b3c15acbe24c05d7dab46393edff-3e678465c5f3efbf-01
tracestate cptest=v1
test id
elastic-go--kafka-kafka--7359a023
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-ac16d47f,team=alpha
ot-baggage-routing-key rk-ac16d47f
traceparent 00-bae4dffba62958759c83d74764fc3438-9770e8a76de48876-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-rabbitmq--2e3ee6ae

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

elastic-apm-traceparent 00-bae4dffba62958759c83d74764fc3438-f61bb6541baed7c3-01
traceparent 00-bae4dffba62958759c83d74764fc3438-f61bb6541baed7c3-01
tracestate cptest=v1
test id
elastic-go--kafka-rabbitmq--2e3ee6ae
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-a6b316ac,team=alpha
ot-baggage-routing-key rk-a6b316ac
traceparent 00-7bd9f0b6128c5f231ec85a3bac3f7f2d-fd4e4bbc4cba35fb-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-http--93205f36

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 49
content-type application/json
elastic-apm-traceparent 00-7bd9f0b6128c5f231ec85a3bac3f7f2d-0d96c7f527823ff8-01
traceparent 00-7bd9f0b6128c5f231ec85a3bac3f7f2d-0d96c7f527823ff8-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--rabbitmq-http--93205f36
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-e8127fc6,team=alpha
ot-baggage-routing-key rk-e8127fc6
traceparent 00-ceddd8a29efb4af80df6d47ff1c16ddc-78e82018137157f2-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-grpc--6009397b

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-ceddd8a29efb4af80df6d47ff1c16ddc-41b17a25982aa341-01
traceparent 00-ceddd8a29efb4af80df6d47ff1c16ddc-41b17a25982aa341-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--rabbitmq-grpc--6009397b
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-1bab201f,team=alpha
ot-baggage-routing-key rk-1bab201f
traceparent 00-631149be581d3862fd3d83d3a4dde9c4-0fd929e79f9ce98e-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-kafka--7d10df66

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-631149be581d3862fd3d83d3a4dde9c4-9af00fd109fa11b2-01
traceparent 00-631149be581d3862fd3d83d3a4dde9c4-9af00fd109fa11b2-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-kafka--7d10df66
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-dca3e911,team=alpha
ot-baggage-routing-key rk-dca3e911
traceparent 00-ea2c29b975d695c59dd8671855d60f62-4a006c6250a0e23b-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-rabbitmq--2cc55499

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

elastic-apm-traceparent 00-ea2c29b975d695c59dd8671855d60f62-f6fc2cf4f52ecf2a-01
traceparent 00-ea2c29b975d695c59dd8671855d60f62-f6fc2cf4f52ecf2a-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-rabbitmq--2cc55499
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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