elastic-go

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

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.11 reported as v2.7.11 2.7.11 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:39 UTC
Harness
e793604 · measured in backtest-elastic-go-2.7.11
Raw JSON
2.7.11.json → variants[id = "elastic-go"]

Libraries

grpcapmgrpc v2.7.11 (unary interceptors)
httpapmhttp v2.7.11 (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-75a85107,team=alpha
ot-baggage-routing-key rk-75a85107
traceparent 00-af96d9c6709876744679dd89bc5640e0-586643d890272ea7-01
tracestate cptest=v1
x-cp-canary elastic-go--http-http--98c6c095

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-af96d9c6709876744679dd89bc5640e0-5f7c56764c70d20b-01
traceparent 00-af96d9c6709876744679dd89bc5640e0-5f7c56764c70d20b-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--http-http--98c6c095
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-ec8d6276,team=alpha
ot-baggage-routing-key rk-ec8d6276
traceparent 00-ce85c4be7aebb3c6fa1cd5ebf8084dc3-1077c8d6d978b4c6-01
tracestate cptest=v1
x-cp-canary elastic-go--http-grpc--d3b4e31d

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-ce85c4be7aebb3c6fa1cd5ebf8084dc3-653b16ce503e7284-01
traceparent 00-ce85c4be7aebb3c6fa1cd5ebf8084dc3-653b16ce503e7284-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--http-grpc--d3b4e31d
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-1ac301a2,team=alpha
ot-baggage-routing-key rk-1ac301a2
traceparent 00-305581217f93dce5f89ab3b45e3097bb-a426d5b809a57412-01
tracestate cptest=v1
x-cp-canary elastic-go--http-kafka--c3ad5fbd

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-305581217f93dce5f89ab3b45e3097bb-aa63d235b8c3babf-01
traceparent 00-305581217f93dce5f89ab3b45e3097bb-aa63d235b8c3babf-01
tracestate cptest=v1
test id
elastic-go--http-kafka--c3ad5fbd
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-a3b2dc48,team=alpha
ot-baggage-routing-key rk-a3b2dc48
traceparent 00-8da2936d238199b69fb49e1eb6949569-3652439b3c25a0c2-01
tracestate cptest=v1
x-cp-canary elastic-go--http-rabbitmq--2c7b361f

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

elastic-apm-traceparent 00-8da2936d238199b69fb49e1eb6949569-a3e1af7121beeeac-01
traceparent 00-8da2936d238199b69fb49e1eb6949569-a3e1af7121beeeac-01
tracestate cptest=v1
test id
elastic-go--http-rabbitmq--2c7b361f
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-cbe36cd5,team=alpha
ot-baggage-routing-key rk-cbe36cd5
traceparent 00-531ff589a871690dce085263e4233b4a-b6d68c95200ace65-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-http--84685033

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-531ff589a871690dce085263e4233b4a-fcff0f0b24ec752a-01
traceparent 00-531ff589a871690dce085263e4233b4a-fcff0f0b24ec752a-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--grpc-http--84685033
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-3f6d37ea,team=alpha
ot-baggage-routing-key rk-3f6d37ea
traceparent 00-995033b1cdf010485f0b1875a547643d-f662cb1f7ec2d96a-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-grpc--0d66de4e

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-995033b1cdf010485f0b1875a547643d-d0b53f640481875a-01
traceparent 00-995033b1cdf010485f0b1875a547643d-d0b53f640481875a-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--grpc-grpc--0d66de4e
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-66596a15,team=alpha
ot-baggage-routing-key rk-66596a15
traceparent 00-087abd9e1b297e1892bcc7e3255bb835-56c4c1ae5d4ff89d-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-kafka--9bce5dd0

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-087abd9e1b297e1892bcc7e3255bb835-fa8bf2b694fd2586-01
traceparent 00-087abd9e1b297e1892bcc7e3255bb835-fa8bf2b694fd2586-01
tracestate cptest=v1
test id
elastic-go--grpc-kafka--9bce5dd0
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-663317aa,team=alpha
ot-baggage-routing-key rk-663317aa
traceparent 00-138c79ef03e83098c9a4b68655709b71-8760c1c506e2a964-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-rabbitmq--f1ac8415

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

elastic-apm-traceparent 00-138c79ef03e83098c9a4b68655709b71-cffea0822eded9bc-01
traceparent 00-138c79ef03e83098c9a4b68655709b71-cffea0822eded9bc-01
tracestate cptest=v1
test id
elastic-go--grpc-rabbitmq--f1ac8415
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-f73200b4,team=alpha
ot-baggage-routing-key rk-f73200b4
traceparent 00-3f5cc13af5b023799ce87bd6cf1965eb-ae3c8c1d1f5cc6d9-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-http--a4f24500

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 46
content-type application/json
elastic-apm-traceparent 00-3f5cc13af5b023799ce87bd6cf1965eb-bb18050fe110afcb-01
traceparent 00-3f5cc13af5b023799ce87bd6cf1965eb-bb18050fe110afcb-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--kafka-http--a4f24500
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-937f72f6,team=alpha
ot-baggage-routing-key rk-937f72f6
traceparent 00-53ce194ce85559bccddac78a161144d2-1c85d3e000241664-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-grpc--fdc1d09c

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-53ce194ce85559bccddac78a161144d2-458478d224ded418-01
traceparent 00-53ce194ce85559bccddac78a161144d2-458478d224ded418-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--kafka-grpc--fdc1d09c
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-ea1abaff,team=alpha
ot-baggage-routing-key rk-ea1abaff
traceparent 00-389570cfd1499b341ed3c784c3cde610-01de7d4d8eb8d22c-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-kafka--4be892d7

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-389570cfd1499b341ed3c784c3cde610-5d28b4c0693ca5c8-01
traceparent 00-389570cfd1499b341ed3c784c3cde610-5d28b4c0693ca5c8-01
tracestate cptest=v1
test id
elastic-go--kafka-kafka--4be892d7
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-340abe85,team=alpha
ot-baggage-routing-key rk-340abe85
traceparent 00-91421e62e4ef4a7937698919ae3d0f3f-b582c93356bdb987-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-rabbitmq--f077326e

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

elastic-apm-traceparent 00-91421e62e4ef4a7937698919ae3d0f3f-5d20e7399b574dfc-01
traceparent 00-91421e62e4ef4a7937698919ae3d0f3f-5d20e7399b574dfc-01
tracestate cptest=v1
test id
elastic-go--kafka-rabbitmq--f077326e
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-a677bbf3,team=alpha
ot-baggage-routing-key rk-a677bbf3
traceparent 00-1f1b78febf8f5e957b412531d25f2303-68734fd16aa0996a-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-http--01b3953d

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 49
content-type application/json
elastic-apm-traceparent 00-1f1b78febf8f5e957b412531d25f2303-a3ea7d14469828df-01
traceparent 00-1f1b78febf8f5e957b412531d25f2303-a3ea7d14469828df-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--rabbitmq-http--01b3953d
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-bd44c93b,team=alpha
ot-baggage-routing-key rk-bd44c93b
traceparent 00-fcceb4897e0229f01912f03d9850202e-a3cc7dceceda7e72-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-grpc--10fec9f2

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-fcceb4897e0229f01912f03d9850202e-021f13bd90f5def7-01
traceparent 00-fcceb4897e0229f01912f03d9850202e-021f13bd90f5def7-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--rabbitmq-grpc--10fec9f2
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-f11300a9,team=alpha
ot-baggage-routing-key rk-f11300a9
traceparent 00-20cca756c376dd2949ce727b822427c2-c6ba396a69035607-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-kafka--d2422dae

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-20cca756c376dd2949ce727b822427c2-b743c514c3b1a1e4-01
traceparent 00-20cca756c376dd2949ce727b822427c2-b743c514c3b1a1e4-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-kafka--d2422dae
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-65fcaf82,team=alpha
ot-baggage-routing-key rk-65fcaf82
traceparent 00-69c7ff53644a9ac5baa5daf601f4ff48-95d75c4d742d4f7b-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-rabbitmq--99288762

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

elastic-apm-traceparent 00-69c7ff53644a9ac5baa5daf601f4ff48-82e2156637dfc3e3-01
traceparent 00-69c7ff53644a9ac5baa5daf601f4ff48-82e2156637dfc3e3-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-rabbitmq--99288762
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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