elastic-go

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

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.6.2 reported as v2.6.2 2.6.2 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
10 Nov 2026, 07:47 UTC
Harness
9b99070 · measured in backtest-elastic-go-2.6.2
Raw JSON
2.6.2.json → variants[id = "elastic-go"]

Libraries

grpcapmgrpc v2.6.2 (unary interceptors)
httpapmhttp v2.6.2 (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-0c8018b8,team=alpha
ot-baggage-routing-key rk-0c8018b8
traceparent 00-d4a931219d769a6d596f8eba03fd07a4-de2cee7f07681d3a-01
tracestate cptest=v1
x-cp-canary elastic-go--http-http--1c955291

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-d4a931219d769a6d596f8eba03fd07a4-7adf66ca4a6ef67c-01
traceparent 00-d4a931219d769a6d596f8eba03fd07a4-7adf66ca4a6ef67c-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--http-http--1c955291
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-1b9e4f1b,team=alpha
ot-baggage-routing-key rk-1b9e4f1b
traceparent 00-2c9352d4adb999acd84d94566b402472-7c28f225376270a8-01
tracestate cptest=v1
x-cp-canary elastic-go--http-grpc--81d0a214

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-2c9352d4adb999acd84d94566b402472-2ea1480b4f77835f-01
traceparent 00-2c9352d4adb999acd84d94566b402472-2ea1480b4f77835f-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--http-grpc--81d0a214
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-f8660aa5,team=alpha
ot-baggage-routing-key rk-f8660aa5
traceparent 00-b8a44fd4794c2f636f3a6215a7a8285b-ef7566a8cb9f3f84-01
tracestate cptest=v1
x-cp-canary elastic-go--http-kafka--04db5c60

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-b8a44fd4794c2f636f3a6215a7a8285b-a7aa33ca0577169f-01
traceparent 00-b8a44fd4794c2f636f3a6215a7a8285b-a7aa33ca0577169f-01
tracestate cptest=v1
test id
elastic-go--http-kafka--04db5c60
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-7916d028,team=alpha
ot-baggage-routing-key rk-7916d028
traceparent 00-754c407d943e02d155bebb7ee7cdf7b7-c1a4040aa2a726bf-01
tracestate cptest=v1
x-cp-canary elastic-go--http-rabbitmq--ca589f3e

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

elastic-apm-traceparent 00-754c407d943e02d155bebb7ee7cdf7b7-79e3da6fcbbbe26f-01
traceparent 00-754c407d943e02d155bebb7ee7cdf7b7-79e3da6fcbbbe26f-01
tracestate cptest=v1
test id
elastic-go--http-rabbitmq--ca589f3e
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-6c2d5afa,team=alpha
ot-baggage-routing-key rk-6c2d5afa
traceparent 00-e1da94257b7ede5f1a7bebc259799a48-1ddc198f635c1b33-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-http--a15f4130

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-e1da94257b7ede5f1a7bebc259799a48-b5b6585a2183bb2f-01
traceparent 00-e1da94257b7ede5f1a7bebc259799a48-b5b6585a2183bb2f-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--grpc-http--a15f4130
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-51365e30,team=alpha
ot-baggage-routing-key rk-51365e30
traceparent 00-5d3eeabbef232745f69648e38bee0a35-3da37170fbddb4bf-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-grpc--ae096446

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-5d3eeabbef232745f69648e38bee0a35-62fcda0ecbcf0b38-01
traceparent 00-5d3eeabbef232745f69648e38bee0a35-62fcda0ecbcf0b38-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--grpc-grpc--ae096446
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-c4dbd299,team=alpha
ot-baggage-routing-key rk-c4dbd299
traceparent 00-a6640caaf10a3710b889040dce9a8c00-cd7831444a6e6aa6-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-kafka--4e543435

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-a6640caaf10a3710b889040dce9a8c00-f735ddea2ae46f25-01
traceparent 00-a6640caaf10a3710b889040dce9a8c00-f735ddea2ae46f25-01
tracestate cptest=v1
test id
elastic-go--grpc-kafka--4e543435
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-9ade356d,team=alpha
ot-baggage-routing-key rk-9ade356d
traceparent 00-3e04b4c091b5570ef63f92ae9c6b0c85-ab84c09788e54d0b-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-rabbitmq--550e573b

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

elastic-apm-traceparent 00-3e04b4c091b5570ef63f92ae9c6b0c85-b570e70ed3725d35-01
traceparent 00-3e04b4c091b5570ef63f92ae9c6b0c85-b570e70ed3725d35-01
tracestate cptest=v1
test id
elastic-go--grpc-rabbitmq--550e573b
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-0cb01bdc,team=alpha
ot-baggage-routing-key rk-0cb01bdc
traceparent 00-1e11c85ed9fe42670c33e28c9ba24e20-ed077cb6c2f1ad47-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-http--00a9c330

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 46
content-type application/json
elastic-apm-traceparent 00-1e11c85ed9fe42670c33e28c9ba24e20-6e2dd1030278f15e-01
traceparent 00-1e11c85ed9fe42670c33e28c9ba24e20-6e2dd1030278f15e-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--kafka-http--00a9c330
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-2eee7ef1,team=alpha
ot-baggage-routing-key rk-2eee7ef1
traceparent 00-487c2f902b385b29859ee5beb108a0b8-476e1e251c987c86-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-grpc--53b7d22c

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-487c2f902b385b29859ee5beb108a0b8-87c6b5a2495a05a3-01
traceparent 00-487c2f902b385b29859ee5beb108a0b8-87c6b5a2495a05a3-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--kafka-grpc--53b7d22c
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-5e73cf44,team=alpha
ot-baggage-routing-key rk-5e73cf44
traceparent 00-708d83938081c955ee5726d090d6c0eb-93853a7b859e63f3-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-kafka--3587da89

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-708d83938081c955ee5726d090d6c0eb-cb2829fbfe9779f9-01
traceparent 00-708d83938081c955ee5726d090d6c0eb-cb2829fbfe9779f9-01
tracestate cptest=v1
test id
elastic-go--kafka-kafka--3587da89
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-64b9d238,team=alpha
ot-baggage-routing-key rk-64b9d238
traceparent 00-6873b20b35cc90a56bc18056ceed2801-43009c55e5098da3-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-rabbitmq--f8b41d5e

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

elastic-apm-traceparent 00-6873b20b35cc90a56bc18056ceed2801-883c956760ac109f-01
traceparent 00-6873b20b35cc90a56bc18056ceed2801-883c956760ac109f-01
tracestate cptest=v1
test id
elastic-go--kafka-rabbitmq--f8b41d5e
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-e1383bed,team=alpha
ot-baggage-routing-key rk-e1383bed
traceparent 00-a3ae71e8b882f6ad38276e5edaa1437e-61cf74662f71597d-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-http--c49c1915

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 49
content-type application/json
elastic-apm-traceparent 00-a3ae71e8b882f6ad38276e5edaa1437e-0c5e2e4f75016683-01
traceparent 00-a3ae71e8b882f6ad38276e5edaa1437e-0c5e2e4f75016683-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--rabbitmq-http--c49c1915
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-8744876e,team=alpha
ot-baggage-routing-key rk-8744876e
traceparent 00-9dc9a92c8033c04f59eec6ea2457fe13-d814f80744f43815-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-grpc--07160bed

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-9dc9a92c8033c04f59eec6ea2457fe13-30714bfc97c80958-01
traceparent 00-9dc9a92c8033c04f59eec6ea2457fe13-30714bfc97c80958-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--rabbitmq-grpc--07160bed
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-b0968b93,team=alpha
ot-baggage-routing-key rk-b0968b93
traceparent 00-1347c38fc779d5c48fd2cb3d1fd3c447-09f1c5ce8b595efd-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-kafka--f363f9c0

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-1347c38fc779d5c48fd2cb3d1fd3c447-3a98ba2a50bc12b3-01
traceparent 00-1347c38fc779d5c48fd2cb3d1fd3c447-3a98ba2a50bc12b3-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-kafka--f363f9c0
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-122e826b,team=alpha
ot-baggage-routing-key rk-122e826b
traceparent 00-749a3482d05d938431d30a8f9a9e30cf-78aaaf685c07c5a4-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-rabbitmq--32421245

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

elastic-apm-traceparent 00-749a3482d05d938431d30a8f9a9e30cf-d0784122641e175f-01
traceparent 00-749a3482d05d938431d30a8f9a9e30cf-d0784122641e175f-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-rabbitmq--32421245
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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