elastic-go

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

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.10 reported as v2.7.10 2.7.10 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
1 Nov 2026, 05:40 UTC
Harness
e793604 · measured in backtest-elastic-go-2.7.10
Raw JSON
2.7.10.json → variants[id = "elastic-go"]

Libraries

grpcapmgrpc v2.7.10 (unary interceptors)
httpapmhttp v2.7.10 (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-4ec4b8aa,team=alpha
ot-baggage-routing-key rk-4ec4b8aa
traceparent 00-7122bb46f08bb02e19620e0e95afa91c-b51b934cc27b3478-01
tracestate cptest=v1
x-cp-canary elastic-go--http-http--98d758e3

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-7122bb46f08bb02e19620e0e95afa91c-3aae5176f131a03c-01
traceparent 00-7122bb46f08bb02e19620e0e95afa91c-3aae5176f131a03c-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--http-http--98d758e3
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-9997c5ef,team=alpha
ot-baggage-routing-key rk-9997c5ef
traceparent 00-f6b18d9caf34ec4f44a7c683cc2af0ac-9d3e5391c96f8079-01
tracestate cptest=v1
x-cp-canary elastic-go--http-grpc--bc226c84

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-f6b18d9caf34ec4f44a7c683cc2af0ac-764c1a75d510436c-01
traceparent 00-f6b18d9caf34ec4f44a7c683cc2af0ac-764c1a75d510436c-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--http-grpc--bc226c84
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-971deaa4,team=alpha
ot-baggage-routing-key rk-971deaa4
traceparent 00-1712b34e30eba07246b111d314fd1fb5-2f9e5746ae6b7871-01
tracestate cptest=v1
x-cp-canary elastic-go--http-kafka--1a9b19d9

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-1712b34e30eba07246b111d314fd1fb5-d4f5402a14cc4c7c-01
traceparent 00-1712b34e30eba07246b111d314fd1fb5-d4f5402a14cc4c7c-01
tracestate cptest=v1
test id
elastic-go--http-kafka--1a9b19d9
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-64778b3a,team=alpha
ot-baggage-routing-key rk-64778b3a
traceparent 00-ea9184d637adea362510354373f2b2a7-9d339e9411a6f19b-01
tracestate cptest=v1
x-cp-canary elastic-go--http-rabbitmq--1d927fda

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

elastic-apm-traceparent 00-ea9184d637adea362510354373f2b2a7-4d5517ff048e3bef-01
traceparent 00-ea9184d637adea362510354373f2b2a7-4d5517ff048e3bef-01
tracestate cptest=v1
test id
elastic-go--http-rabbitmq--1d927fda
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-b94f900c,team=alpha
ot-baggage-routing-key rk-b94f900c
traceparent 00-b3678a5a4c5e6bc14c4ffe42739cd5f5-1975c9f3c27a1dd9-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-http--f7d64117

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-b3678a5a4c5e6bc14c4ffe42739cd5f5-c7d2965d236129eb-01
traceparent 00-b3678a5a4c5e6bc14c4ffe42739cd5f5-c7d2965d236129eb-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--grpc-http--f7d64117
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-89be0f6b,team=alpha
ot-baggage-routing-key rk-89be0f6b
traceparent 00-01c543cb2be7bc6b22872ae3d7e14e67-3585fcd61abfd1da-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-grpc--e7bc6191

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-01c543cb2be7bc6b22872ae3d7e14e67-fb2509707df41d48-01
traceparent 00-01c543cb2be7bc6b22872ae3d7e14e67-fb2509707df41d48-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--grpc-grpc--e7bc6191
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-e7fb2ef3,team=alpha
ot-baggage-routing-key rk-e7fb2ef3
traceparent 00-11be52836f06ff9d3e7c0f14816247bf-c34f25ac1dbc36e8-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-kafka--d23b3bbf

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-11be52836f06ff9d3e7c0f14816247bf-abee53c0d765906f-01
traceparent 00-11be52836f06ff9d3e7c0f14816247bf-abee53c0d765906f-01
tracestate cptest=v1
test id
elastic-go--grpc-kafka--d23b3bbf
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-7590cacd,team=alpha
ot-baggage-routing-key rk-7590cacd
traceparent 00-c055b2603640d3f29eff836940f3350a-567d585cecbef4b5-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-rabbitmq--7c1182c8

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

elastic-apm-traceparent 00-c055b2603640d3f29eff836940f3350a-9ba9789d45bd0957-01
traceparent 00-c055b2603640d3f29eff836940f3350a-9ba9789d45bd0957-01
tracestate cptest=v1
test id
elastic-go--grpc-rabbitmq--7c1182c8
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-8c541166,team=alpha
ot-baggage-routing-key rk-8c541166
traceparent 00-c82a13b0d32d2e145a46eb0f0c01a114-b4689c582c310b03-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-http--d496e82c

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 46
content-type application/json
elastic-apm-traceparent 00-c82a13b0d32d2e145a46eb0f0c01a114-f71074ad09f67eaf-01
traceparent 00-c82a13b0d32d2e145a46eb0f0c01a114-f71074ad09f67eaf-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--kafka-http--d496e82c
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-48ffb2ab,team=alpha
ot-baggage-routing-key rk-48ffb2ab
traceparent 00-bc5d21ea44d61607f92a97434495743e-2ed214028577a658-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-grpc--b2c8a967

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-bc5d21ea44d61607f92a97434495743e-0bad38e929950c9a-01
traceparent 00-bc5d21ea44d61607f92a97434495743e-0bad38e929950c9a-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--kafka-grpc--b2c8a967
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-a734a6ca,team=alpha
ot-baggage-routing-key rk-a734a6ca
traceparent 00-bdf207ba8c61dc7f598fc3fe49ed958a-09724c296bb16b7e-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-kafka--33d1db68

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-bdf207ba8c61dc7f598fc3fe49ed958a-81c08ec8dc4491fe-01
traceparent 00-bdf207ba8c61dc7f598fc3fe49ed958a-81c08ec8dc4491fe-01
tracestate cptest=v1
test id
elastic-go--kafka-kafka--33d1db68
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-f41ede1a,team=alpha
ot-baggage-routing-key rk-f41ede1a
traceparent 00-cc634eb735b9e3a19d1a4cfbeb127f36-51276b270fabdbb3-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-rabbitmq--1cbefeb9

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

elastic-apm-traceparent 00-cc634eb735b9e3a19d1a4cfbeb127f36-fe033a2e7ca7dd77-01
traceparent 00-cc634eb735b9e3a19d1a4cfbeb127f36-fe033a2e7ca7dd77-01
tracestate cptest=v1
test id
elastic-go--kafka-rabbitmq--1cbefeb9
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-4ab7b599,team=alpha
ot-baggage-routing-key rk-4ab7b599
traceparent 00-a78e90efce3a7b8ac21f935053e80b22-96fd48a0988ae957-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-http--f1c9c051

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 49
content-type application/json
elastic-apm-traceparent 00-a78e90efce3a7b8ac21f935053e80b22-7b3b2372af17516e-01
traceparent 00-a78e90efce3a7b8ac21f935053e80b22-7b3b2372af17516e-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--rabbitmq-http--f1c9c051
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-5e2de907,team=alpha
ot-baggage-routing-key rk-5e2de907
traceparent 00-2d04fb7d0e7f8e4a7f2785b8713fe384-48b5746d99e6a71d-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-grpc--9ef4dbf5

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-2d04fb7d0e7f8e4a7f2785b8713fe384-9594fed8a6b87a57-01
traceparent 00-2d04fb7d0e7f8e4a7f2785b8713fe384-9594fed8a6b87a57-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--rabbitmq-grpc--9ef4dbf5
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-1a2940b2,team=alpha
ot-baggage-routing-key rk-1a2940b2
traceparent 00-6cff6638780105b5129a8cc40dd515bc-f2f6cc95fc9cb9ba-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-kafka--5187084e

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-6cff6638780105b5129a8cc40dd515bc-e17a55b11748e7d0-01
traceparent 00-6cff6638780105b5129a8cc40dd515bc-e17a55b11748e7d0-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-kafka--5187084e
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-c571a634,team=alpha
ot-baggage-routing-key rk-c571a634
traceparent 00-034b883f826d94f5fc4615335f23e93f-616e26305e8974da-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-rabbitmq--00817b1f

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

elastic-apm-traceparent 00-034b883f826d94f5fc4615335f23e93f-15d74da556f3f998-01
traceparent 00-034b883f826d94f5fc4615335f23e93f-15d74da556f3f998-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-rabbitmq--00817b1f
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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