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

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.

216 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 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.26.11
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/elastic
Ran at
30 Nov 2026, 06:43 UTC
Harness
ae4b9c9 · run run-2026-11-30.1
Raw JSON
run-2026-11-30.1.json → variants[id = "elastic-go"]

Libraries

grpcapmgrpc v2.7.12 (unary interceptors)
httpapmhttp v2.7.12 (Wrap + WrapClient)
kafkafranz-go v1.22.3 + manual apmhttp trace headers (no elastic messaging module)
rabbitmqamqp091-go v1.17.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 native: present_same_trace

Seeded on the inbound HTTP request headers

baggage routing-key=rk-636eb651,team=alpha
ot-baggage-routing-key rk-636eb651
traceparent 00-2989f20879d45dd9ef53592ded21ba9c-7d903e6e0d8f109d-01
tracestate cptest=v1
x-cp-canary elastic-go--http-http--d19a2774

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-2989f20879d45dd9ef53592ded21ba9c-dbe068daf9278c0e-01
traceparent 00-2989f20879d45dd9ef53592ded21ba9c-dbe068daf9278c0e-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--http-http--d19a2774
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
HTTP gRPC baggage tracestate traceparent ot-baggage delivered via grpc native: present_same_trace

Seeded on the inbound HTTP request headers

baggage routing-key=rk-778903b7,team=alpha
ot-baggage-routing-key rk-778903b7
traceparent 00-14d17d9f24d8cde78706fa4b54c573f4-a918b099af3e2c00-01
tracestate cptest=v1
x-cp-canary elastic-go--http-grpc--542da034

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-14d17d9f24d8cde78706fa4b54c573f4-08be59fd6ed3d41f-01
traceparent 00-14d17d9f24d8cde78706fa4b54c573f4-08be59fd6ed3d41f-01
tracestate cptest=v1
user-agent grpc-go/1.85.0
test id
elastic-go--http-grpc--542da034
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
HTTP Kafka baggage tracestate traceparent ot-baggage delivered via kafka native: present_same_trace

Seeded on the inbound HTTP request headers

baggage routing-key=rk-c931fd5a,team=alpha
ot-baggage-routing-key rk-c931fd5a
traceparent 00-06d043d6be1a2338ad741a2b8c2064c2-d1e5127fedc198ff-01
tracestate cptest=v1
x-cp-canary elastic-go--http-kafka--0ef1397d

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-06d043d6be1a2338ad741a2b8c2064c2-f612f3857e99f1f2-01
traceparent 00-06d043d6be1a2338ad741a2b8c2064c2-f612f3857e99f1f2-01
tracestate cptest=v1
test id
elastic-go--http-kafka--0ef1397d
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
HTTP RabbitMQ baggage tracestate traceparent ot-baggage delivered via rabbitmq native: present_same_trace

Seeded on the inbound HTTP request headers

baggage routing-key=rk-830e8f3c,team=alpha
ot-baggage-routing-key rk-830e8f3c
traceparent 00-352620b5b5ba7fd1feccd4b7e74363d7-c86246c1d7e0a6e5-01
tracestate cptest=v1
x-cp-canary elastic-go--http-rabbitmq--5526b5a8

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

elastic-apm-traceparent 00-352620b5b5ba7fd1feccd4b7e74363d7-098013d945438c0d-01
traceparent 00-352620b5b5ba7fd1feccd4b7e74363d7-098013d945438c0d-01
tracestate cptest=v1
test id
elastic-go--http-rabbitmq--5526b5a8
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
gRPC HTTP baggage tracestate traceparent ot-baggage delivered via http native: present_same_trace

Seeded on the inbound gRPC metadata

baggage routing-key=rk-9d4a80c9,team=alpha
ot-baggage-routing-key rk-9d4a80c9
traceparent 00-64c5a7070fbd48880ca970499cfb67e0-9ad6198b8388c624-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-http--3d1777f3

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-64c5a7070fbd48880ca970499cfb67e0-7c9f861e0d48e0be-01
traceparent 00-64c5a7070fbd48880ca970499cfb67e0-7c9f861e0d48e0be-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--grpc-http--3d1777f3
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
gRPC gRPC baggage tracestate traceparent ot-baggage delivered via grpc native: present_same_trace

Seeded on the inbound gRPC metadata

baggage routing-key=rk-d9b7d77c,team=alpha
ot-baggage-routing-key rk-d9b7d77c
traceparent 00-8ef3cae3de5acd6b2ec8987955cc263e-fd2b1c6520823086-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-grpc--381a080d

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-8ef3cae3de5acd6b2ec8987955cc263e-ecca1f9686d209e9-01
traceparent 00-8ef3cae3de5acd6b2ec8987955cc263e-ecca1f9686d209e9-01
tracestate cptest=v1
user-agent grpc-go/1.85.0
test id
elastic-go--grpc-grpc--381a080d
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
gRPC Kafka baggage tracestate traceparent ot-baggage delivered via kafka native: present_same_trace

Seeded on the inbound gRPC metadata

baggage routing-key=rk-5a85a7f3,team=alpha
ot-baggage-routing-key rk-5a85a7f3
traceparent 00-0e4bba43971b995e71a21709f1ae672d-be756fe2eaf75bfd-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-kafka--10dc0243

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-0e4bba43971b995e71a21709f1ae672d-cbf864774e041833-01
traceparent 00-0e4bba43971b995e71a21709f1ae672d-cbf864774e041833-01
tracestate cptest=v1
test id
elastic-go--grpc-kafka--10dc0243
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
gRPC RabbitMQ baggage tracestate traceparent ot-baggage delivered via rabbitmq native: present_same_trace

Seeded on the inbound gRPC metadata

baggage routing-key=rk-2ae6338b,team=alpha
ot-baggage-routing-key rk-2ae6338b
traceparent 00-590198d832b5166d86ca6328c56f1518-285fd94f280ae6c9-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-rabbitmq--dde00dc5

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

elastic-apm-traceparent 00-590198d832b5166d86ca6328c56f1518-9b4bb1089b2bba8b-01
traceparent 00-590198d832b5166d86ca6328c56f1518-9b4bb1089b2bba8b-01
tracestate cptest=v1
test id
elastic-go--grpc-rabbitmq--dde00dc5
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
Kafka HTTP baggage tracestate traceparent ot-baggage delivered via http native: present_same_trace

Seeded on the inbound Kafka record headers

baggage routing-key=rk-b3308f26,team=alpha
ot-baggage-routing-key rk-b3308f26
traceparent 00-0156359777bc0a93cde6785c69ad2f2a-4ede3d46308503ad-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-http--52f1b9db

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 46
content-type application/json
elastic-apm-traceparent 00-0156359777bc0a93cde6785c69ad2f2a-f46a155dcd517581-01
traceparent 00-0156359777bc0a93cde6785c69ad2f2a-f46a155dcd517581-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--kafka-http--52f1b9db
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
Kafka gRPC baggage tracestate traceparent ot-baggage delivered via grpc native: present_same_trace

Seeded on the inbound Kafka record headers

baggage routing-key=rk-4845e889,team=alpha
ot-baggage-routing-key rk-4845e889
traceparent 00-5e1d9d21770571c583f384d8b5388b12-e00a1a2f124f2b76-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-grpc--2dc154e8

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-5e1d9d21770571c583f384d8b5388b12-0714fb2373f004f5-01
traceparent 00-5e1d9d21770571c583f384d8b5388b12-0714fb2373f004f5-01
tracestate cptest=v1
user-agent grpc-go/1.85.0
test id
elastic-go--kafka-grpc--2dc154e8
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
Kafka Kafka baggage tracestate traceparent ot-baggage delivered via kafka native: present_same_trace

Seeded on the inbound Kafka record headers

baggage routing-key=rk-8e035c25,team=alpha
ot-baggage-routing-key rk-8e035c25
traceparent 00-9dcdd332c21ffd87e7fe598222064328-0bfdcf9030315d83-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-kafka--e21dbb4b

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-9dcdd332c21ffd87e7fe598222064328-d9461e8eb244de0d-01
traceparent 00-9dcdd332c21ffd87e7fe598222064328-d9461e8eb244de0d-01
tracestate cptest=v1
test id
elastic-go--kafka-kafka--e21dbb4b
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
Kafka RabbitMQ baggage tracestate traceparent ot-baggage delivered via rabbitmq native: present_same_trace

Seeded on the inbound Kafka record headers

baggage routing-key=rk-d08e942b,team=alpha
ot-baggage-routing-key rk-d08e942b
traceparent 00-79f2a98ad5234a1f540a01d5507ac0a0-74a0d7e142002605-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-rabbitmq--7b0b94ea

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

elastic-apm-traceparent 00-79f2a98ad5234a1f540a01d5507ac0a0-2ac923252a2046e9-01
traceparent 00-79f2a98ad5234a1f540a01d5507ac0a0-2ac923252a2046e9-01
tracestate cptest=v1
test id
elastic-go--kafka-rabbitmq--7b0b94ea
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
RabbitMQ HTTP baggage tracestate traceparent ot-baggage delivered via http native: present_same_trace

Seeded on the inbound AMQP 0-9-1 message headers

baggage routing-key=rk-a35b9484,team=alpha
ot-baggage-routing-key rk-a35b9484
traceparent 00-0aee6a77fc688319abe18e40f30b9dc3-218409bbe2deed9b-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-http--8323e0f3

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 49
content-type application/json
elastic-apm-traceparent 00-0aee6a77fc688319abe18e40f30b9dc3-ef2e2fd23bc741a4-01
traceparent 00-0aee6a77fc688319abe18e40f30b9dc3-ef2e2fd23bc741a4-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--rabbitmq-http--8323e0f3
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
RabbitMQ gRPC baggage tracestate traceparent ot-baggage delivered via grpc native: present_same_trace

Seeded on the inbound AMQP 0-9-1 message headers

baggage routing-key=rk-c7f17398,team=alpha
ot-baggage-routing-key rk-c7f17398
traceparent 00-10e9a909a79b808f827500a553facccd-f9887b73bd75425a-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-grpc--d5f485aa

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-10e9a909a79b808f827500a553facccd-fbde13bc7b3a28ab-01
traceparent 00-10e9a909a79b808f827500a553facccd-fbde13bc7b3a28ab-01
tracestate cptest=v1
user-agent grpc-go/1.85.0
test id
elastic-go--rabbitmq-grpc--d5f485aa
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
RabbitMQ Kafka baggage tracestate traceparent ot-baggage delivered via kafka native: present_same_trace

Seeded on the inbound AMQP 0-9-1 message headers

baggage routing-key=rk-a1e80f9e,team=alpha
ot-baggage-routing-key rk-a1e80f9e
traceparent 00-e36d7ac6ad24104256c434f4dc0f65aa-e848e52b03c66a7a-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-kafka--11d12a7c

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-e36d7ac6ad24104256c434f4dc0f65aa-777bce7c090138a0-01
traceparent 00-e36d7ac6ad24104256c434f4dc0f65aa-777bce7c090138a0-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-kafka--11d12a7c
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent
RabbitMQ RabbitMQ baggage tracestate traceparent ot-baggage delivered via rabbitmq native: present_same_trace

Seeded on the inbound AMQP 0-9-1 message headers

baggage routing-key=rk-d6ad3fac,team=alpha
ot-baggage-routing-key rk-d6ad3fac
traceparent 00-e76cdb25398a81f35b8ea0c8858b0d21-77e22dd738c25433-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-rabbitmq--16514bb9

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

elastic-apm-traceparent 00-e76cdb25398a81f35b8ea0c8858b0d21-4225bc8d3690b54d-01
traceparent 00-e76cdb25398a81f35b8ea0c8858b0d21-4225bc8d3690b54d-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-rabbitmq--16514bb9
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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