elastic-go

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

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

Libraries

grpcapmgrpc v2.7.3 (unary interceptors)
httpapmhttp v2.7.3 (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-afc3361f,team=alpha
ot-baggage-routing-key rk-afc3361f
traceparent 00-5c2c7e8a68b3dcfb25f04edbf7bbe339-1fa7484d034a9e11-01
tracestate cptest=v1
x-cp-canary elastic-go--http-http--58801152

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-5c2c7e8a68b3dcfb25f04edbf7bbe339-bccc718eee67ea61-01
traceparent 00-5c2c7e8a68b3dcfb25f04edbf7bbe339-bccc718eee67ea61-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--http-http--58801152
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-fed5626d,team=alpha
ot-baggage-routing-key rk-fed5626d
traceparent 00-d49e5315527ec8b01637250f6e334083-00aa7e3d0019d4ad-01
tracestate cptest=v1
x-cp-canary elastic-go--http-grpc--cccff1bb

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-d49e5315527ec8b01637250f6e334083-cbbc5ed77b895e40-01
traceparent 00-d49e5315527ec8b01637250f6e334083-cbbc5ed77b895e40-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--http-grpc--cccff1bb
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-a7472915,team=alpha
ot-baggage-routing-key rk-a7472915
traceparent 00-1e24ea58dd31aed13bf3c0b9473b83d9-691c89278dada18a-01
tracestate cptest=v1
x-cp-canary elastic-go--http-kafka--f29e3ce1

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-1e24ea58dd31aed13bf3c0b9473b83d9-63d2d01aa36a1f1b-01
traceparent 00-1e24ea58dd31aed13bf3c0b9473b83d9-63d2d01aa36a1f1b-01
tracestate cptest=v1
test id
elastic-go--http-kafka--f29e3ce1
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-b84dc30d,team=alpha
ot-baggage-routing-key rk-b84dc30d
traceparent 00-792e9159a426d90bed002c2193d11115-fdc97fe255055dad-01
tracestate cptest=v1
x-cp-canary elastic-go--http-rabbitmq--5aecba99

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

elastic-apm-traceparent 00-792e9159a426d90bed002c2193d11115-b26ea38a9a60da6f-01
traceparent 00-792e9159a426d90bed002c2193d11115-b26ea38a9a60da6f-01
tracestate cptest=v1
test id
elastic-go--http-rabbitmq--5aecba99
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-bb1e31eb,team=alpha
ot-baggage-routing-key rk-bb1e31eb
traceparent 00-bd5d716981f500e98d15b609c3e1ed7e-107f024ababc4dfd-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-http--d6e06b00

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 45
content-type application/json
elastic-apm-traceparent 00-bd5d716981f500e98d15b609c3e1ed7e-4243aa6aad2aaba1-01
traceparent 00-bd5d716981f500e98d15b609c3e1ed7e-4243aa6aad2aaba1-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--grpc-http--d6e06b00
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-ab1955c7,team=alpha
ot-baggage-routing-key rk-ab1955c7
traceparent 00-36920133357037a898132d21f3a8da40-be219d891112e173-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-grpc--2bd5b123

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-36920133357037a898132d21f3a8da40-2d557d6dfe09d710-01
traceparent 00-36920133357037a898132d21f3a8da40-2d557d6dfe09d710-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--grpc-grpc--2bd5b123
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-7aa107aa,team=alpha
ot-baggage-routing-key rk-7aa107aa
traceparent 00-a00b7d8192441b1d15363180ae41c4fe-fc752305c85e1dc9-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-kafka--246e1f0d

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-a00b7d8192441b1d15363180ae41c4fe-7f511645d6e5da61-01
traceparent 00-a00b7d8192441b1d15363180ae41c4fe-7f511645d6e5da61-01
tracestate cptest=v1
test id
elastic-go--grpc-kafka--246e1f0d
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-413b8ac7,team=alpha
ot-baggage-routing-key rk-413b8ac7
traceparent 00-e63020d15bace82766a31d3667186a0c-8e13991802b75159-01
tracestate cptest=v1
x-cp-canary elastic-go--grpc-rabbitmq--1c7ec2af

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

elastic-apm-traceparent 00-e63020d15bace82766a31d3667186a0c-d3f2037595bb8822-01
traceparent 00-e63020d15bace82766a31d3667186a0c-d3f2037595bb8822-01
tracestate cptest=v1
test id
elastic-go--grpc-rabbitmq--1c7ec2af
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-709432ed,team=alpha
ot-baggage-routing-key rk-709432ed
traceparent 00-b2236797cb4a2b0b21a329f4a4e30dbe-8c188963b3920f0b-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-http--aaceda5a

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 46
content-type application/json
elastic-apm-traceparent 00-b2236797cb4a2b0b21a329f4a4e30dbe-2a0a6daffe9ff02f-01
traceparent 00-b2236797cb4a2b0b21a329f4a4e30dbe-2a0a6daffe9ff02f-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--kafka-http--aaceda5a
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-5b0cdc70,team=alpha
ot-baggage-routing-key rk-5b0cdc70
traceparent 00-1df2c9b084746d088ca910edb851adfe-604a875442ee2abb-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-grpc--b9d4f42a

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-1df2c9b084746d088ca910edb851adfe-b4b2f1682e88bdb4-01
traceparent 00-1df2c9b084746d088ca910edb851adfe-b4b2f1682e88bdb4-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--kafka-grpc--b9d4f42a
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-1c7f5c97,team=alpha
ot-baggage-routing-key rk-1c7f5c97
traceparent 00-dd1723a057152f92bb0f835053f37578-576019a970dc3b3a-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-kafka--01467bf9

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-dd1723a057152f92bb0f835053f37578-b43b6e433d30fedd-01
traceparent 00-dd1723a057152f92bb0f835053f37578-b43b6e433d30fedd-01
tracestate cptest=v1
test id
elastic-go--kafka-kafka--01467bf9
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-0c5ffca6,team=alpha
ot-baggage-routing-key rk-0c5ffca6
traceparent 00-d82fbb1cfb0c8ebf0f091e82f782a366-a2bd3af658d856b0-01
tracestate cptest=v1
x-cp-canary elastic-go--kafka-rabbitmq--c311b89d

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

elastic-apm-traceparent 00-d82fbb1cfb0c8ebf0f091e82f782a366-0db0b7cd712bee04-01
traceparent 00-d82fbb1cfb0c8ebf0f091e82f782a366-0db0b7cd712bee04-01
tracestate cptest=v1
test id
elastic-go--kafka-rabbitmq--c311b89d
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-980ae6dc,team=alpha
ot-baggage-routing-key rk-980ae6dc
traceparent 00-5386bc8e5bfb79ee4fc72b09155798db-3a9deeecbdd1769e-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-http--910adecd

Observed at the sink on the outbound HTTP request headers

accept-encoding gzip
content-length 49
content-type application/json
elastic-apm-traceparent 00-5386bc8e5bfb79ee4fc72b09155798db-9776c3333232eb22-01
traceparent 00-5386bc8e5bfb79ee4fc72b09155798db-9776c3333232eb22-01
tracestate cptest=v1
user-agent Go-http-client/1.1
test id
elastic-go--rabbitmq-http--910adecd
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-21ced8e8,team=alpha
ot-baggage-routing-key rk-21ced8e8
traceparent 00-8549afb25b37d5ab2c08547af9c8c625-3b105e764d2d1acf-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-grpc--351dacf1

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
elastic-apm-traceparent 00-8549afb25b37d5ab2c08547af9c8c625-112337c366788450-01
traceparent 00-8549afb25b37d5ab2c08547af9c8c625-112337c366788450-01
tracestate cptest=v1
user-agent grpc-go/1.84.0
test id
elastic-go--rabbitmq-grpc--351dacf1
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-bb04413a,team=alpha
ot-baggage-routing-key rk-bb04413a
traceparent 00-dac7fe1b1a6e0a9af4583002ec9bcbd6-c343fc9e37b7aa00-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-kafka--3685487e

Observed at the sink on the outbound Kafka record headers

elastic-apm-traceparent 00-dac7fe1b1a6e0a9af4583002ec9bcbd6-7864644eceb48401-01
traceparent 00-dac7fe1b1a6e0a9af4583002ec9bcbd6-7864644eceb48401-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-kafka--3685487e
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-0378fa0c,team=alpha
ot-baggage-routing-key rk-0378fa0c
traceparent 00-8655b39614cf615142ea52ac5580877c-bcbf2a9f00253708-01
tracestate cptest=v1
x-cp-canary elastic-go--rabbitmq-rabbitmq--366a451e

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

elastic-apm-traceparent 00-8655b39614cf615142ea52ac5580877c-f259a67c7da3dbfe-01
traceparent 00-8655b39614cf615142ea52ac5580877c-f259a67c7da3dbfe-01
tracestate cptest=v1
test id
elastic-go--rabbitmq-rabbitmq--366a451e
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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