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
25 Nov 2026, 00:16 UTC
Harness
b9a3348 · run run-2026-11-25.1
Raw JSON
run-2026-11-25.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-3a6d7e16,team=alpha
ot-baggage-routing-key rk-3a6d7e16
traceparent 00-cc2f35a3f9aab9fa35fcd0c3f4833589-05ad5f0876e28cef-01
tracestate cptest=v1
x-cp-canary elastic-go--http-http--a7b9c70b

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-cc2f35a3f9aab9fa35fcd0c3f4833589-0fac614aecfe692e-01
traceparent 00-cc2f35a3f9aab9fa35fcd0c3f4833589-0fac614aecfe692e-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--http-http--a7b9c70b
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-3cbec075,team=alpha
ot-baggage-routing-key rk-3cbec075
traceparent 00-db8ffdc9aca2f752a0424684580dd9e4-6413ffc6f7d44b52-01
tracestate cptest=v1
x-cp-canary elastic-go--http-grpc--907f9896

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-db8ffdc9aca2f752a0424684580dd9e4-e8e293ff779a47df-01
traceparent 00-db8ffdc9aca2f752a0424684580dd9e4-e8e293ff779a47df-01
tracestate cptest=v1
user-agent grpc-go/1.85.0
test id
elastic-go--http-grpc--907f9896
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-3cc69581,team=alpha
ot-baggage-routing-key rk-3cc69581
traceparent 00-6bdcae59ef0ceb2447588a91e2e13a9d-5365cc82ffacce23-01
tracestate cptest=v1
x-cp-canary elastic-go--http-kafka--dd7e49e3

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-6bdcae59ef0ceb2447588a91e2e13a9d-d31db1ab9676c859-01
traceparent 00-6bdcae59ef0ceb2447588a91e2e13a9d-d31db1ab9676c859-01
tracestate cptest=v1
test id
elastic-go--http-kafka--dd7e49e3
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-4f71bffb,team=alpha
ot-baggage-routing-key rk-4f71bffb
traceparent 00-c85bef7e015adbd92dc2b47023a23922-bb16213f434154e1-01
tracestate cptest=v1
x-cp-canary elastic-go--http-rabbitmq--28f9f397

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

elastic-apm-traceparent 00-c85bef7e015adbd92dc2b47023a23922-37cafda6e71e4eb0-01
traceparent 00-c85bef7e015adbd92dc2b47023a23922-37cafda6e71e4eb0-01
tracestate cptest=v1
test id
elastic-go--http-rabbitmq--28f9f397
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-2951300d,team=alpha
ot-baggage-routing-key rk-2951300d
traceparent 00-59a253747c80fc89d3c836be88aedfb1-eedfe07534cbe33f-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-http--95d34d52

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-59a253747c80fc89d3c836be88aedfb1-e76a3988cba0c49a-01
traceparent 00-59a253747c80fc89d3c836be88aedfb1-e76a3988cba0c49a-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--grpc-http--95d34d52
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-81168ae4,team=alpha
ot-baggage-routing-key rk-81168ae4
traceparent 00-991e1652c34245e46057ed2b36790636-cca5d8de901a575c-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-grpc--c835e8dc

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-991e1652c34245e46057ed2b36790636-49fc6be58d075f46-01
traceparent 00-991e1652c34245e46057ed2b36790636-49fc6be58d075f46-01
tracestate cptest=v1
user-agent grpc-go/1.85.0
test id
elastic-go--grpc-grpc--c835e8dc
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-6f9ff5d2,team=alpha
ot-baggage-routing-key rk-6f9ff5d2
traceparent 00-798dc3d585c557346df4f102e0e6e86d-7393f5b5aecc1f5b-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-kafka--bc7c8916

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-798dc3d585c557346df4f102e0e6e86d-2e0b957a1d737731-01
traceparent 00-798dc3d585c557346df4f102e0e6e86d-2e0b957a1d737731-01
tracestate cptest=v1
test id
elastic-go--grpc-kafka--bc7c8916
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-f5a043ba,team=alpha
ot-baggage-routing-key rk-f5a043ba
traceparent 00-aa4866c132bfdb52ac8fdba69a559d54-b887f9aff328b7d9-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-rabbitmq--b7ec7076

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

elastic-apm-traceparent 00-aa4866c132bfdb52ac8fdba69a559d54-8ba3896663c3e7c8-01
traceparent 00-aa4866c132bfdb52ac8fdba69a559d54-8ba3896663c3e7c8-01
tracestate cptest=v1
test id
elastic-go--grpc-rabbitmq--b7ec7076
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-b6cd5aa7,team=alpha
ot-baggage-routing-key rk-b6cd5aa7
traceparent 00-8bb1ba6a99c8195034323e08202c03fb-3fc03a5b396baa1c-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-http--389bf62d

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 46
content-type application/json
elastic-apm-traceparent 00-8bb1ba6a99c8195034323e08202c03fb-0bdf3db9ebb3b301-01
traceparent 00-8bb1ba6a99c8195034323e08202c03fb-0bdf3db9ebb3b301-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--kafka-http--389bf62d
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-79cad6aa,team=alpha
ot-baggage-routing-key rk-79cad6aa
traceparent 00-f7b7511186d64a69aa02a7635e632426-757279beeb2cba03-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-grpc--3ac88fc6

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-f7b7511186d64a69aa02a7635e632426-570db0f5e05ee9eb-01
traceparent 00-f7b7511186d64a69aa02a7635e632426-570db0f5e05ee9eb-01
tracestate cptest=v1
user-agent grpc-go/1.85.0
test id
elastic-go--kafka-grpc--3ac88fc6
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-cc7e5d60,team=alpha
ot-baggage-routing-key rk-cc7e5d60
traceparent 00-4f24a18361334f866290b09c65e1d881-d7c25b3f0de64db3-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-kafka--76e07a27

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-4f24a18361334f866290b09c65e1d881-0af469c562bf125b-01
traceparent 00-4f24a18361334f866290b09c65e1d881-0af469c562bf125b-01
tracestate cptest=v1
test id
elastic-go--kafka-kafka--76e07a27
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-cbba9968,team=alpha
ot-baggage-routing-key rk-cbba9968
traceparent 00-f14c72ffd4f2acf4735a442e86e98a95-9a46cd6cd4e78266-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-rabbitmq--90ded08c

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

elastic-apm-traceparent 00-f14c72ffd4f2acf4735a442e86e98a95-b7dbbf52152788f5-01
traceparent 00-f14c72ffd4f2acf4735a442e86e98a95-b7dbbf52152788f5-01
tracestate cptest=v1
test id
elastic-go--kafka-rabbitmq--90ded08c
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-4b844f33,team=alpha
ot-baggage-routing-key rk-4b844f33
traceparent 00-ac8a743dbd6b22f2f3f49e4367d53716-817d190f3357534f-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-http--8abd30eb

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 49
content-type application/json
elastic-apm-traceparent 00-ac8a743dbd6b22f2f3f49e4367d53716-a2f5c90f1b77516a-01
traceparent 00-ac8a743dbd6b22f2f3f49e4367d53716-a2f5c90f1b77516a-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--rabbitmq-http--8abd30eb
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-56179b4e,team=alpha
ot-baggage-routing-key rk-56179b4e
traceparent 00-ff4ea84102868391636af53103b7b118-db458526c76f2555-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-grpc--e8f7d5b1

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-ff4ea84102868391636af53103b7b118-0172f0c6023b8495-01
traceparent 00-ff4ea84102868391636af53103b7b118-0172f0c6023b8495-01
tracestate cptest=v1
user-agent grpc-go/1.85.0
test id
elastic-go--rabbitmq-grpc--e8f7d5b1
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-14f7a32e,team=alpha
ot-baggage-routing-key rk-14f7a32e
traceparent 00-0894516336a46d42fb1c6a087715afcc-3d04c85e5b783207-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-kafka--d7b335e2

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-0894516336a46d42fb1c6a087715afcc-cb2b7f4f2590fef9-01
traceparent 00-0894516336a46d42fb1c6a087715afcc-cb2b7f4f2590fef9-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-kafka--d7b335e2
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-14ee6b3b,team=alpha
ot-baggage-routing-key rk-14ee6b3b
traceparent 00-0364ebecf42940b7aa597761e1b6679e-f4645ec211bc16b7-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-rabbitmq--46a23458

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

elastic-apm-traceparent 00-0364ebecf42940b7aa597761e1b6679e-4fc8c2fda06c28c8-01
traceparent 00-0364ebecf42940b7aa597761e1b6679e-4fc8c2fda06c28c8-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-rabbitmq--46a23458
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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