elastic-go

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

attach apmhttp / apmgrpc wrappers + hand-written carriers

32/64 cells pass
  • Pass
  • Partial
  • New trace
  • Fail
  • Undelivered
  • Not run

Explanations

OpenTelemetry, Elastic APM and New Relic never implemented the OpenTracing-era ot-baggage-* headers

by-design ot-baggage-* is a legacy OpenTracing convention; OpenTelemetry, Elastic APM and New Relic each define their propagation header set without it.

The seeded ot-baggage-routing-key header is ignored — neither extracted nor re-emitted — by every OpenTelemetry, Elastic and New Relic variant on every delivered boundary. None of these tools ever emitted the OpenTracing header format: OpenTelemetry standardised on W3C baggage; 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.

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.

356 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.

This contradicts Elastic's own agent spec ("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 in this run

Tracer
go.elastic.co/apm/v2 2.7.12 reported as v2.7.12 this version 2.7.12 on goproxy github
Runtime
go1.25.14
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
7 Sept 2026, 10:56 UTC
Harness
commit not recorded · run run-2026-09-07
Raw JSON
run-2026-09-07.json → variants[id = "elastic-go"]

Libraries

grpcapmgrpc v2.7.12 (unary interceptors)
httpapmhttp v2.7.12 (Wrap + WrapClient)
kafkafranz-go v1.21.6 + 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-68304566,team=alpha
ot-baggage-routing-key rk-68304566
traceparent 00-65dd2868212978d7c20521d199a64010-92d06c9769368369-01
tracestate cptest=v1
x-cp-canary elastic-go--http-http--eca54c06

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-65dd2868212978d7c20521d199a64010-8652abe648ae11f4-01
traceparent 00-65dd2868212978d7c20521d199a64010-8652abe648ae11f4-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--http-http--eca54c06
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-62c73ba3,team=alpha
ot-baggage-routing-key rk-62c73ba3
traceparent 00-b440a1d9a46b94e753f92c13e9b1b1de-10758d9ba4a8be51-01
tracestate cptest=v1
x-cp-canary elastic-go--http-grpc--37b3ee82

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-b440a1d9a46b94e753f92c13e9b1b1de-962c2a68e6a48e61-01
traceparent 00-b440a1d9a46b94e753f92c13e9b1b1de-962c2a68e6a48e61-01
tracestate cptest=v1
user-agent grpc-go/1.83.2
test id
elastic-go--http-grpc--37b3ee82
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-d22ebd37,team=alpha
ot-baggage-routing-key rk-d22ebd37
traceparent 00-1cf3cd51e03edf3c675eaeddf10587eb-cdad038aa2a5b936-01
tracestate cptest=v1
x-cp-canary elastic-go--http-kafka--b8f1be4d

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-1cf3cd51e03edf3c675eaeddf10587eb-ccada78ed78943f1-01
traceparent 00-1cf3cd51e03edf3c675eaeddf10587eb-ccada78ed78943f1-01
tracestate cptest=v1
test id
elastic-go--http-kafka--b8f1be4d
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-180d9fd6,team=alpha
ot-baggage-routing-key rk-180d9fd6
traceparent 00-e1c55a3909735d2029e0997593886daa-f6a8f433e95c2985-01
tracestate cptest=v1
x-cp-canary elastic-go--http-rabbitmq--b62d175c

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

elastic-apm-traceparent 00-e1c55a3909735d2029e0997593886daa-139b72925958f98b-01
traceparent 00-e1c55a3909735d2029e0997593886daa-139b72925958f98b-01
tracestate cptest=v1
test id
elastic-go--http-rabbitmq--b62d175c
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-3bb52c09,team=alpha
ot-baggage-routing-key rk-3bb52c09
traceparent 00-b73d7304d9c8ef885dc95e8575ea6c24-4016779dd47294f6-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-http--084c8411

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-b73d7304d9c8ef885dc95e8575ea6c24-aef596d36b4db4da-01
traceparent 00-b73d7304d9c8ef885dc95e8575ea6c24-aef596d36b4db4da-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--grpc-http--084c8411
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-ba247ac6,team=alpha
ot-baggage-routing-key rk-ba247ac6
traceparent 00-698e68df4a9eb371ba3d5dae513832db-1135ea25a27a3fe9-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-grpc--f52e506b

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-698e68df4a9eb371ba3d5dae513832db-a51725dad8942806-01
traceparent 00-698e68df4a9eb371ba3d5dae513832db-a51725dad8942806-01
tracestate cptest=v1
user-agent grpc-go/1.83.2
test id
elastic-go--grpc-grpc--f52e506b
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-cd84c57c,team=alpha
ot-baggage-routing-key rk-cd84c57c
traceparent 00-9c7fed28e5c12146e11c1cd9865e5686-15a7c7ba7cd025cf-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-kafka--3ddc21af

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-9c7fed28e5c12146e11c1cd9865e5686-c63b083f9f519d1c-01
traceparent 00-9c7fed28e5c12146e11c1cd9865e5686-c63b083f9f519d1c-01
tracestate cptest=v1
test id
elastic-go--grpc-kafka--3ddc21af
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-92856848,team=alpha
ot-baggage-routing-key rk-92856848
traceparent 00-7b35dd2beaeeda1259f15ba7a54ff8c4-7b18856402b3b64f-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-rabbitmq--76d0f1b6

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

elastic-apm-traceparent 00-7b35dd2beaeeda1259f15ba7a54ff8c4-8f4f8c091a9b53cc-01
traceparent 00-7b35dd2beaeeda1259f15ba7a54ff8c4-8f4f8c091a9b53cc-01
tracestate cptest=v1
test id
elastic-go--grpc-rabbitmq--76d0f1b6
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-3604aabb,team=alpha
ot-baggage-routing-key rk-3604aabb
traceparent 00-bef2d4c973b44021caca8c09e6114362-32db5a64653b830c-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-http--b0c7bb13

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 46
content-type application/json
elastic-apm-traceparent 00-bef2d4c973b44021caca8c09e6114362-48d4b12ccc110702-01
traceparent 00-bef2d4c973b44021caca8c09e6114362-48d4b12ccc110702-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--kafka-http--b0c7bb13
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-a10eadd0,team=alpha
ot-baggage-routing-key rk-a10eadd0
traceparent 00-191a6ebc06ce3af9c80bdecb5c2b670b-17a2c151997b1e23-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-grpc--c659acb3

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-191a6ebc06ce3af9c80bdecb5c2b670b-1491e632784423f3-01
traceparent 00-191a6ebc06ce3af9c80bdecb5c2b670b-1491e632784423f3-01
tracestate cptest=v1
user-agent grpc-go/1.83.2
test id
elastic-go--kafka-grpc--c659acb3
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-14184e7f,team=alpha
ot-baggage-routing-key rk-14184e7f
traceparent 00-e7987cf857e8db1058973062d2f53679-970c758c0df4a31d-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-kafka--a646db73

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-e7987cf857e8db1058973062d2f53679-59354fb41894de37-01
traceparent 00-e7987cf857e8db1058973062d2f53679-59354fb41894de37-01
tracestate cptest=v1
test id
elastic-go--kafka-kafka--a646db73
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-a53cf4f7,team=alpha
ot-baggage-routing-key rk-a53cf4f7
traceparent 00-523ce0ba547758c6bcef65bf0bcd65dd-c9d0648bd5120fa8-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-rabbitmq--67b13787

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

elastic-apm-traceparent 00-523ce0ba547758c6bcef65bf0bcd65dd-f5f3bbcb61d3d42c-01
traceparent 00-523ce0ba547758c6bcef65bf0bcd65dd-f5f3bbcb61d3d42c-01
tracestate cptest=v1
test id
elastic-go--kafka-rabbitmq--67b13787
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-96528f54,team=alpha
ot-baggage-routing-key rk-96528f54
traceparent 00-42463af1ab661dac48f2eabaec524e2b-d3c06e6c762fdd51-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-http--ea1332c6

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 49
content-type application/json
elastic-apm-traceparent 00-42463af1ab661dac48f2eabaec524e2b-c66f394820bec9ca-01
traceparent 00-42463af1ab661dac48f2eabaec524e2b-c66f394820bec9ca-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--rabbitmq-http--ea1332c6
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-383e8285,team=alpha
ot-baggage-routing-key rk-383e8285
traceparent 00-5cf6f72118d29acf1b66f92c9b7426bf-ea48ad4e14b18d16-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-grpc--0339d783

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-5cf6f72118d29acf1b66f92c9b7426bf-2ad4dd1e7066e0c8-01
traceparent 00-5cf6f72118d29acf1b66f92c9b7426bf-2ad4dd1e7066e0c8-01
tracestate cptest=v1
user-agent grpc-go/1.83.2
test id
elastic-go--rabbitmq-grpc--0339d783
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-42a3fc62,team=alpha
ot-baggage-routing-key rk-42a3fc62
traceparent 00-293464307d39224e1a8cefd9e028de55-d996337750222610-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-kafka--efca8c75

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-293464307d39224e1a8cefd9e028de55-db6d8c089cbe64e7-01
traceparent 00-293464307d39224e1a8cefd9e028de55-db6d8c089cbe64e7-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-kafka--efca8c75
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-c3c42fd5,team=alpha
ot-baggage-routing-key rk-c3c42fd5
traceparent 00-86a8beee830f808a2123c1d90fe9a425-ecd7bb2cbdae6210-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-rabbitmq--74d2440d

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

elastic-apm-traceparent 00-86a8beee830f808a2123c1d90fe9a425-98a80b016dfb4475-01
traceparent 00-86a8beee830f808a2123c1d90fe9a425-98a80b016dfb4475-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-rabbitmq--74d2440d
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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