newrelic-python

Python zero-code newrelic (pypi)13.5.0

attach newrelic-admin run-program python app.py

32/64 cells pass
  • Pass
  • Partial
  • New trace
  • Fail
  • Undelivered
  • Not run

Explanations

OpenTelemetry, Elastic APM and New Relic never implemented the OpenTracing-era ot-baggage-* headers

by-design ot-baggage-* is a legacy OpenTracing convention; OpenTelemetry, Elastic APM and New Relic each define their propagation header set without it.

The seeded ot-baggage-routing-key header is ignored — neither extracted nor re-emitted — by every OpenTelemetry, Elastic and New Relic variant on every delivered boundary. None of these tools ever emitted the OpenTracing header format: OpenTelemetry standardised on W3C baggage; 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.

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.

356 cells affected

ot-baggage-not-implemented

New Relic agents carry no W3C baggage on any boundary

by-design Baggage is not part of New Relic's distributed-tracing model (traceparent, tracestate, newrelic); no agent forwards the header and no feature request exists.

New Relic's "How distributed tracing works" defines the complete header model as exactly three headers — traceparent, tracestate and the vendor newrelic header. The seeded W3C baggage member is neither extracted nor re-emitted by any of the seven agents on any of the 16 boundaries, even where trace context continues perfectly (Python is 16/16 for trace context).

An org-wide search for "baggage" across all New Relic agent repositories returns three unrelated hits; no feature request for W3C baggage exists in any of the seven agent repos. If you route on baggage, New Relic contributes nothing on any protocol — carry it as an application header yourself.

108 cells affected

newrelic-no-baggage

Versions in this run

Tracer
newrelic 13.5.0 this version 13.5.0 on pypi github
Runtime
python 3.12.14
Setup tier
zero-code Runtime attach only: an agent flag, a preload require, the CLR profiler environment, a php.ini extension. No application source involved.
Attach
newrelic-admin run-program python app.py
Relay source
relays/python
Ran at
7 Sept 2026, 10:59 UTC
Harness
commit not recorded · run run-2026-09-07
Requires
NEW_RELIC_LICENSE_KEY
Raw JSON
run-2026-09-07.json → variants[id = "newrelic-python"]

Libraries

confluent-kafka2.15.0
flask3.1.3
grpcio1.83.1
rabbitmqpika 1.4.4
requests2.34.2

Configuration

NEW_RELIC_DISTRIBUTED_TRACING_ENABLEDtrue

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-83da418a,team=alpha
ot-baggage-routing-key rk-83da418a
traceparent 00-b42fbc653d9c622ac94c8047ea5413da-5325f275a0235593-01
tracestate cptest=v1
x-cp-canary newrelic-python--http-http--22bb2308

Observed at the sink on the outbound HTTP request headers

accept */*
accept-encoding gzip, deflate
connection keep-alive
content-length 51
content-type application/json
traceparent 00-b42fbc653d9c622ac94c8047ea5413da-cf01d127338e7ce3-01
tracestate 8478732@nr=0-0-8478732-572441051--6a3e89536d96083a-1-2.494213-1788778748722,cptest=v1
user-agent python-requests/2.34.2
test id
newrelic-python--http-http--22bb2308
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-48f96b2d,team=alpha
ot-baggage-routing-key rk-48f96b2d
traceparent 00-23c2dda149a349e9f63a7a0cea252f59-32dc90f24fdcacd6-01
tracestate cptest=v1
x-cp-canary newrelic-python--http-grpc--55d4109b

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity, deflate, gzip
traceparent 00-23c2dda149a349e9f63a7a0cea252f59-dbcbad3a91f3d6d0-00
tracestate 8478732@nr=0-0-8478732-572441051--b72df20d2a2d1f46-0-0.652829-1788778748726,cptest=v1
user-agent grpc-python/1.83.1 grpc-c/56.0.0 (linux; chttp2)
test id
newrelic-python--http-grpc--55d4109b
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-3ac7daec,team=alpha
ot-baggage-routing-key rk-3ac7daec
traceparent 00-7590aa96e8f1fae8c9d0f527c98024c8-038ba948436da524-01
tracestate cptest=v1
x-cp-canary newrelic-python--http-kafka--f3b10dd5

Observed at the sink on the outbound Kafka record headers

traceparent 00-7590aa96e8f1fae8c9d0f527c98024c8-718c6700e9eb129b-00
tracestate 8478732@nr=0-0-8478732-572441051--8c13851dd839c21a-0-0.218594-1788778748728,cptest=v1
test id
newrelic-python--http-kafka--f3b10dd5
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-943c8f1a,team=alpha
ot-baggage-routing-key rk-943c8f1a
traceparent 00-b3d60832819beb8b3627bb153ac7d883-1e6f88cea9ee6536-01
tracestate cptest=v1
x-cp-canary newrelic-python--http-rabbitmq--1c49f0f8

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

traceparent 00-b3d60832819beb8b3627bb153ac7d883-4d6a355864d48128-00
tracestate 8478732@nr=0-0-8478732-572441051--d7110d790225f37b-0-0.09643-1788778748734,cptest=v1
test id
newrelic-python--http-rabbitmq--1c49f0f8
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-4922cdea,team=alpha
ot-baggage-routing-key rk-4922cdea
traceparent 00-57525ef4071b76375d9ac1e5f898ff0e-19c634e4749bb28a-01
tracestate cptest=v1
x-cp-canary newrelic-python--grpc-http--d1717a6a

Observed at the sink on the outbound HTTP request headers

accept */*
accept-encoding gzip, deflate
connection keep-alive
content-length 51
content-type application/json
traceparent 00-57525ef4071b76375d9ac1e5f898ff0e-79521e16c66caf1e-00
tracestate 8478732@nr=0-0-8478732-572441051--758a750e34fea471-0-0.282327-1788778748740,cptest=v1
user-agent python-requests/2.34.2
test id
newrelic-python--grpc-http--d1717a6a
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-5620ff2d,team=alpha
ot-baggage-routing-key rk-5620ff2d
traceparent 00-3efdef1bcd7e1ab356e1daeab6f9793e-3d7486b85b23f7f1-01
tracestate cptest=v1
x-cp-canary newrelic-python--grpc-grpc--9b9af5e3

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity, deflate, gzip
traceparent 00-3efdef1bcd7e1ab356e1daeab6f9793e-078f75bc9ca085c0-00
tracestate 8478732@nr=0-0-8478732-572441051--4333e742f809e6d0-0-0.509023-1788778748746,cptest=v1
user-agent grpc-python/1.83.1 grpc-c/56.0.0 (linux; chttp2)
test id
newrelic-python--grpc-grpc--9b9af5e3
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-a831c947,team=alpha
ot-baggage-routing-key rk-a831c947
traceparent 00-3be2905e65b483cc9bfbf565fc0752fa-87384a4bf1b38414-01
tracestate cptest=v1
x-cp-canary newrelic-python--grpc-kafka--315d907f

Observed at the sink on the outbound Kafka record headers

traceparent 00-3be2905e65b483cc9bfbf565fc0752fa-b71c0a302dc80338-00
tracestate 8478732@nr=0-0-8478732-572441051--7b75197dfc8510de-0-0.953268-1788778748749,cptest=v1
test id
newrelic-python--grpc-kafka--315d907f
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-cea5cb25,team=alpha
ot-baggage-routing-key rk-cea5cb25
traceparent 00-23ed18ec15c97cfa936c1d4f1e5c4d1a-80efd4c0defc9bda-01
tracestate cptest=v1
x-cp-canary newrelic-python--grpc-rabbitmq--10d311d9

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

traceparent 00-23ed18ec15c97cfa936c1d4f1e5c4d1a-cc7cd45b1cd5f86c-00
tracestate 8478732@nr=0-0-8478732-572441051--3b6e35970527a540-0-0.085005-1788778749282,cptest=v1
test id
newrelic-python--grpc-rabbitmq--10d311d9
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-35198977,team=alpha
ot-baggage-routing-key rk-35198977
traceparent 00-9e00daea2dda9aec39e348bdc284d37a-e4286c75d2a36ca4-01
tracestate cptest=v1
x-cp-canary newrelic-python--kafka-http--b25de394

Observed at the sink on the outbound HTTP request headers

accept */*
accept-encoding gzip, deflate
connection keep-alive
content-length 52
content-type application/json
traceparent 00-9e00daea2dda9aec39e348bdc284d37a-611b3ab5a3abc201-00
tracestate 8478732@nr=0-0-8478732-572441051--f4be3aee3d6dc833-0-0.156238-1788778749823,cptest=v1
user-agent python-requests/2.34.2
test id
newrelic-python--kafka-http--b25de394
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-cbebe562,team=alpha
ot-baggage-routing-key rk-cbebe562
traceparent 00-6e0df7c5278846a0c8c14e80c1702c92-d8e96ae55ebdc13c-01
tracestate cptest=v1
x-cp-canary newrelic-python--kafka-grpc--94bffe0b

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity, deflate, gzip
traceparent 00-6e0df7c5278846a0c8c14e80c1702c92-94d7d17e1986b4b4-00
tracestate 8478732@nr=0-0-8478732-572441051--ec810408f0823b18-0-0.967093-1788778750324,cptest=v1
user-agent grpc-python/1.83.1 grpc-c/56.0.0 (linux; chttp2)
test id
newrelic-python--kafka-grpc--94bffe0b
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-04404b51,team=alpha
ot-baggage-routing-key rk-04404b51
traceparent 00-98e61eb6706c6330b9fe2a5dc713a65e-91999a8146f650b8-01
tracestate cptest=v1
x-cp-canary newrelic-python--kafka-kafka--c3d51453

Observed at the sink on the outbound Kafka record headers

traceparent 00-98e61eb6706c6330b9fe2a5dc713a65e-5073f65301862bdd-00
tracestate 8478732@nr=0-0-8478732-572441051--89ff046c0903b2b7-0-0.80223-1788778750827,cptest=v1
test id
newrelic-python--kafka-kafka--c3d51453
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-e1641b94,team=alpha
ot-baggage-routing-key rk-e1641b94
traceparent 00-642d1d1ca17b8bcbe68ce20f08748d86-8ba6cdc523180e0a-01
tracestate cptest=v1
x-cp-canary newrelic-python--kafka-rabbitmq--86e366a6

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

traceparent 00-642d1d1ca17b8bcbe68ce20f08748d86-5172deee84224b2f-00
tracestate 8478732@nr=0-0-8478732-572441051--17360488a7905be1-0-0.47403-1788778751366,cptest=v1
test id
newrelic-python--kafka-rabbitmq--86e366a6
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-2899d78c,team=alpha
ot-baggage-routing-key rk-2899d78c
traceparent 00-cd92359482715008552357826e96e8de-b1175f4eac17cc27-01
tracestate cptest=v1
x-cp-canary newrelic-python--rabbitmq-http--65563582

Observed at the sink on the outbound HTTP request headers

accept */*
accept-encoding gzip, deflate
connection keep-alive
content-length 55
content-type application/json
traceparent 00-cd92359482715008552357826e96e8de-17c1d790993036c0-00
tracestate 8478732@nr=0-0-8478732-572441051--e035bd2489ea2096-0-0.699127-1788778751859,cptest=v1
user-agent python-requests/2.34.2
test id
newrelic-python--rabbitmq-http--65563582
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-05ba0c45,team=alpha
ot-baggage-routing-key rk-05ba0c45
traceparent 00-a79f40193c96b6f0c57ec89c8c496cb6-5408879cef8abeec-01
tracestate cptest=v1
x-cp-canary newrelic-python--rabbitmq-grpc--cd833303

Observed at the sink on the outbound gRPC metadata

:authority sink:9081
content-type application/grpc
grpc-accept-encoding identity, deflate, gzip
traceparent 00-a79f40193c96b6f0c57ec89c8c496cb6-080f2f73a2322986-00
tracestate 8478732@nr=0-0-8478732-572441051--8dcf31b5c1c90f37-0-0.179253-1788778752367,cptest=v1
user-agent grpc-python/1.83.1 grpc-c/56.0.0 (linux; chttp2)
test id
newrelic-python--rabbitmq-grpc--cd833303
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-31fdbad4,team=alpha
ot-baggage-routing-key rk-31fdbad4
traceparent 00-0deed84653b28cc9f8cd82ad3b486e7a-aee5e1fe796e0510-01
tracestate cptest=v1
x-cp-canary newrelic-python--rabbitmq-kafka--0af27de4

Observed at the sink on the outbound Kafka record headers

traceparent 00-0deed84653b28cc9f8cd82ad3b486e7a-1eee4f180ae7d99b-00
tracestate 8478732@nr=0-0-8478732-572441051--19366629430d5683-0-0.809097-1788778752865,cptest=v1
test id
newrelic-python--rabbitmq-kafka--0af27de4
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-54cb4d64,team=alpha
ot-baggage-routing-key rk-54cb4d64
traceparent 00-502807cdb04e3c3bc123d5c5ce8e185c-b722b47e3752bed6-01
tracestate cptest=v1
x-cp-canary newrelic-python--rabbitmq-rabbitmq--805862fc

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

traceparent 00-502807cdb04e3c3bc123d5c5ce8e185c-a988e375af70f965-00
tracestate 8478732@nr=0-0-8478732-572441051--e5a66940e85ca85b-0-0.875793-1788778753385,cptest=v1
test id
newrelic-python--rabbitmq-rabbitmq--805862fc
raw statuses
baggage=absenttracestate=preservedtraceparent=same_traceot_baggage=absent

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