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
23 Nov 2026, 13:42 UTC
Harness
f018f71 · run run-2026-11-24
Raw JSON
run-2026-11-24.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-12221f64,team=alpha
ot-baggage-routing-key rk-12221f64
traceparent 00-0f6768fdd3cc56016f1204b666bb2b90-ea3822c30b05a68f-01
tracestate cptest=v1
x-cp-canary elastic-go--http-http--51e9c115

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-0f6768fdd3cc56016f1204b666bb2b90-e698f85d85ae531e-01
traceparent 00-0f6768fdd3cc56016f1204b666bb2b90-e698f85d85ae531e-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--http-http--51e9c115
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-f18c9db5,team=alpha
ot-baggage-routing-key rk-f18c9db5
traceparent 00-e284b2b1459a2a1b1f1801aaeb23149f-89e7985de7231920-01
tracestate cptest=v1
x-cp-canary elastic-go--http-grpc--46def9b4

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-e284b2b1459a2a1b1f1801aaeb23149f-d11519da016a453e-01
traceparent 00-e284b2b1459a2a1b1f1801aaeb23149f-d11519da016a453e-01
tracestate cptest=v1
user-agent grpc-go/1.85.0
test id
elastic-go--http-grpc--46def9b4
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-aeae5c5a,team=alpha
ot-baggage-routing-key rk-aeae5c5a
traceparent 00-ec783ae4258903f74a66868c78fb1786-fefa708d18bd22d5-01
tracestate cptest=v1
x-cp-canary elastic-go--http-kafka--47a2d67a

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-ec783ae4258903f74a66868c78fb1786-fe98778b8baafe55-01
traceparent 00-ec783ae4258903f74a66868c78fb1786-fe98778b8baafe55-01
tracestate cptest=v1
test id
elastic-go--http-kafka--47a2d67a
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-3310d6e8,team=alpha
ot-baggage-routing-key rk-3310d6e8
traceparent 00-5d68564c57745986a91c3ab69dd4115f-8733de811fa91ec7-01
tracestate cptest=v1
x-cp-canary elastic-go--http-rabbitmq--6cd51f6e

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

elastic-apm-traceparent 00-5d68564c57745986a91c3ab69dd4115f-2d1633aea1a7b2c7-01
traceparent 00-5d68564c57745986a91c3ab69dd4115f-2d1633aea1a7b2c7-01
tracestate cptest=v1
test id
elastic-go--http-rabbitmq--6cd51f6e
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-2d2215ad,team=alpha
ot-baggage-routing-key rk-2d2215ad
traceparent 00-0fbebc0dfa8e549828c65b47a734c8a6-9d6c85612e0d448b-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-http--f8cd55bb

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-0fbebc0dfa8e549828c65b47a734c8a6-012f65084b1fc4d6-01
traceparent 00-0fbebc0dfa8e549828c65b47a734c8a6-012f65084b1fc4d6-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--grpc-http--f8cd55bb
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-d1e148f4,team=alpha
ot-baggage-routing-key rk-d1e148f4
traceparent 00-d52f421b4c02841b59c12a0640da7d46-88d3f216b6841cd1-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-grpc--5bd81fe6

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-d52f421b4c02841b59c12a0640da7d46-6498c1fedc850ee5-01
traceparent 00-d52f421b4c02841b59c12a0640da7d46-6498c1fedc850ee5-01
tracestate cptest=v1
user-agent grpc-go/1.85.0
test id
elastic-go--grpc-grpc--5bd81fe6
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-0d518ea5,team=alpha
ot-baggage-routing-key rk-0d518ea5
traceparent 00-16bb123a0c43c80c2eb0442938348c92-e82875c636ee81bc-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-kafka--b5b11b1e

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-16bb123a0c43c80c2eb0442938348c92-da8bc58ddfdc17fe-01
traceparent 00-16bb123a0c43c80c2eb0442938348c92-da8bc58ddfdc17fe-01
tracestate cptest=v1
test id
elastic-go--grpc-kafka--b5b11b1e
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-3ddc062f,team=alpha
ot-baggage-routing-key rk-3ddc062f
traceparent 00-9ece6915d242c817c28626838f55717e-150d758ab198eed9-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-rabbitmq--8d087d91

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

elastic-apm-traceparent 00-9ece6915d242c817c28626838f55717e-67af872290d8adff-01
traceparent 00-9ece6915d242c817c28626838f55717e-67af872290d8adff-01
tracestate cptest=v1
test id
elastic-go--grpc-rabbitmq--8d087d91
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-5bf10d77,team=alpha
ot-baggage-routing-key rk-5bf10d77
traceparent 00-dd6dec406bc005dbcc1051809c8b07b2-ed652f3a9137d2b6-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-http--31c2259a

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 46
content-type application/json
elastic-apm-traceparent 00-dd6dec406bc005dbcc1051809c8b07b2-b7877f6180f069f6-01
traceparent 00-dd6dec406bc005dbcc1051809c8b07b2-b7877f6180f069f6-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--kafka-http--31c2259a
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-b272c7e7,team=alpha
ot-baggage-routing-key rk-b272c7e7
traceparent 00-902bed6c8ccb43519be729aeaf65ae46-f20e18e75969865d-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-grpc--410774ae

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-902bed6c8ccb43519be729aeaf65ae46-bb994b0fab482d69-01
traceparent 00-902bed6c8ccb43519be729aeaf65ae46-bb994b0fab482d69-01
tracestate cptest=v1
user-agent grpc-go/1.85.0
test id
elastic-go--kafka-grpc--410774ae
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-0584d429,team=alpha
ot-baggage-routing-key rk-0584d429
traceparent 00-1afed45dabe3d8dfa4cc2451555b4455-1e572690d5242ebf-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-kafka--014de761

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-1afed45dabe3d8dfa4cc2451555b4455-1cb81827b013460a-01
traceparent 00-1afed45dabe3d8dfa4cc2451555b4455-1cb81827b013460a-01
tracestate cptest=v1
test id
elastic-go--kafka-kafka--014de761
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-8e11ef7e,team=alpha
ot-baggage-routing-key rk-8e11ef7e
traceparent 00-c910ea48a24b392ea8a1f8743525da80-8a94cf62b4d4d9d8-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-rabbitmq--2a24a485

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

elastic-apm-traceparent 00-c910ea48a24b392ea8a1f8743525da80-b5c615b7574fd330-01
traceparent 00-c910ea48a24b392ea8a1f8743525da80-b5c615b7574fd330-01
tracestate cptest=v1
test id
elastic-go--kafka-rabbitmq--2a24a485
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-3dac049e,team=alpha
ot-baggage-routing-key rk-3dac049e
traceparent 00-ef1bbb69c8d6d33fa215e221d5cbce34-207a3443fa158d2b-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-http--7480d3b5

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 49
content-type application/json
elastic-apm-traceparent 00-ef1bbb69c8d6d33fa215e221d5cbce34-766572bf2c4edfbe-01
traceparent 00-ef1bbb69c8d6d33fa215e221d5cbce34-766572bf2c4edfbe-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--rabbitmq-http--7480d3b5
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-00bbf3e0,team=alpha
ot-baggage-routing-key rk-00bbf3e0
traceparent 00-d96edfd0eabf8247274c1e494bc3b518-b7a4e8981e87708f-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-grpc--d410bf0f

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-d96edfd0eabf8247274c1e494bc3b518-825aea804c109d82-01
traceparent 00-d96edfd0eabf8247274c1e494bc3b518-825aea804c109d82-01
tracestate cptest=v1
user-agent grpc-go/1.85.0
test id
elastic-go--rabbitmq-grpc--d410bf0f
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-a3acc1c4,team=alpha
ot-baggage-routing-key rk-a3acc1c4
traceparent 00-8123dd5c97da9d20bdd80151a379d720-73b15ebc085aa072-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-kafka--37b6fc93

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-8123dd5c97da9d20bdd80151a379d720-3b28d9dcd54ba07a-01
traceparent 00-8123dd5c97da9d20bdd80151a379d720-3b28d9dcd54ba07a-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-kafka--37b6fc93
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-6881902d,team=alpha
ot-baggage-routing-key rk-6881902d
traceparent 00-1aa03bc935a380e9535913a495ce630b-d64948866aefeae4-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-rabbitmq--790ff99e

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

elastic-apm-traceparent 00-1aa03bc935a380e9535913a495ce630b-f3fd74207654b498-01
traceparent 00-1aa03bc935a380e9535913a495ce630b-f3fd74207654b498-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-rabbitmq--790ff99e
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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