{"schema_version":2,"run":{"run_id":"backtest-newrelic-go-3.37.0","kind":"backtest","harness_repo":"signadot/context-propagation-matrix","harness_commit":"9b990706a0c87aa0cd66d8cb67581e1bcea1ab05","started_at":"2026-11-10T08:28:27.860089627Z","finished_at":"2026-11-10T08:28:27.860089627Z","broker_versions":{"kafka":"apache/kafka:3.9.1","rabbitmq":"rabbitmq:3.13-alpine"},"generator":"cpm aggregate (schema v2)","notes":"pinned newrelic-go-agent to 3.37.0 via cpm pins set","matrix_version":1},"dimensions":{"tools":[{"id":"otel","display_name":"OpenTelemetry","short_name":"OTel","vendor":"CNCF","url":"https://opentelemetry.io/","native_headers":[],"default_propagators":["tracecontext","baggage"]},{"id":"datadog","display_name":"Datadog","short_name":"Datadog","vendor":"Datadog","url":"https://docs.datadoghq.com/tracing/","native_headers":["x-datadog-trace-id","x-datadog-parent-id","x-datadog-sampling-priority","x-datadog-tags"],"default_propagators":["datadog","tracecontext","baggage"]},{"id":"elastic","display_name":"Elastic APM","short_name":"Elastic","vendor":"Elastic","url":"https://www.elastic.co/observability/application-performance-monitoring","native_headers":["elastic-apm-traceparent"],"default_propagators":["tracecontext"]},{"id":"newrelic","display_name":"New Relic","short_name":"New Relic","vendor":"New Relic","url":"https://docs.newrelic.com/docs/distributed-tracing/","native_headers":["newrelic"],"default_propagators":["newrelic","tracecontext"],"requires_secret":"NEW_RELIC_LICENSE_KEY"},{"id":"none","display_name":"No instrumentation (baseline)","short_name":"Baseline","vendor":null,"url":null,"native_headers":[],"default_propagators":[],"is_baseline":true}],"languages":[{"id":"java","display_name":"Java","order":0},{"id":"node","display_name":"Node.js","order":1},{"id":"python","display_name":"Python","order":2},{"id":"go","display_name":"Go","order":3},{"id":"dotnet","display_name":".NET","order":4},{"id":"ruby","display_name":"Ruby","order":5},{"id":"php","display_name":"PHP","order":6},{"id":"rust","display_name":"Rust","order":7}],"protocols":[{"id":"http","display_name":"HTTP","carrier":"HTTP request headers"},{"id":"grpc","display_name":"gRPC","carrier":"gRPC metadata"},{"id":"kafka","display_name":"Kafka","carrier":"Kafka record headers","async":true},{"id":"rabbitmq","display_name":"RabbitMQ","short_name":"rmq","carrier":"AMQP 0-9-1 message headers","async":true}],"boundaries":["http->http","http->grpc","http->kafka","http->rabbitmq","grpc->http","grpc->grpc","grpc->kafka","grpc->rabbitmq","kafka->http","kafka->grpc","kafka->kafka","kafka->rabbitmq","rabbitmq->http","rabbitmq->grpc","rabbitmq->kafka","rabbitmq->rabbitmq"],"headers":[{"id":"baggage","display_name":"W3C baggage","wire_name":"baggage","raw_field":"baggage","question":"Did the seeded `routing-key` baggage member arrive intact?","success":["propagated"],"partial":["partial"],"spec":"https://www.w3.org/TR/baggage/"},{"id":"tracestate","display_name":"W3C tracestate","wire_name":"tracestate","raw_field":"tracestate","question":"Did the seeded foreign vendor entry (`cptest=v1`) survive?","success":["preserved"],"partial":["present_entry_lost"],"spec":"https://www.w3.org/TR/trace-context/#tracestate-header"},{"id":"traceparent","display_name":"W3C traceparent (trace continuity)","wire_name":"traceparent","raw_field":"traceparent","question":"Was the seeded trace-id continued? (A new span-id is expected but not scored.)","success":["same_trace"],"partial":[],"new_trace":["new_trace"],"spec":"https://www.w3.org/TR/trace-context/#traceparent-header"},{"id":"ot-baggage","display_name":"ot-baggage-* (OpenTracing legacy)","wire_name":"ot-baggage-routing-key","raw_field":"ot_baggage","question":"Did `ot-baggage-routing-key` arrive with the seeded value?","success":["propagated"],"partial":["partial"],"spec":"https://github.com/opentracing/specification/blob/master/rfc/trace_identifiers.md"}],"setup_tiers":[{"id":"zero-code","display_name":"zero-code","description":"Runtime attach only: an agent flag, a preload require, the CLR profiler environment, a php.ini extension. No application source involved."},{"id":"init-only","display_name":"init-only","description":"A boot-file initializer loads and configures the tool before application code runs (Ruby's require+configure pattern, Elastic Python's middleware). Request-path code is untouched."},{"id":"build-time","display_name":"build-time","description":"Source is untouched but the build command is wrapped by a compile-time weaver (`orchestrion go build`, `go tool otelc go build`) that injects instrumentation during compilation."},{"id":"in-code","display_name":"in-code","description":"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)."}],"wirings":[{"id":"library","display_name":"library","description":"Propagation is left to an instrumentation library that the application wraps its client or server with (the vendor's contrib package, or a plugin shipped with the client). The application's own code does not touch the tracing headers."},{"id":"app","display_name":"application code","description":"The application's own code moves the context. It calls the tracer's API (a propagator's inject or extract, or the vendor's equivalent) to read the tracing headers from the incoming message or to write them to the outgoing one, with a carrier from a library or one it wrote."}]},"variants":[{"id":"newrelic-go","tool":"newrelic","language":"go","flavour":"default","display_name":"Go","setup_tier":"in-code","attach":"go-agent WrapHandle + nrgrpc + nrsarama + nramqp","tracer":{"name":"go-agent","registry":"goproxy","package":"github.com/newrelic/go-agent/v3","github":"newrelic/go-agent","version":"v3.37.0","pinned":"3.37.0"},"runtime":"go1.26.10","libs":{"grpc":"nrgrpc v1.4.5","http":"newrelic.WrapHandleFunc + newrelic.NewRoundTripper (go-agent v3.37.0)","kafka":"nrsarama v1.0.0 + manual AcceptDistributedTraceHeaders (Shopify/sarama v1.38.1)","rabbitmq":"nramqp v1.0.1 (amqp091-go v1.14.0)"},"config":{"NEW_RELIC_DISTRIBUTED_TRACING_ENABLED":"true"},"requires_secret":"NEW_RELIC_LICENSE_KEY","source":"relays/go","ran_at":"2026-11-10T08:28:27.860089627Z","measured_in":"backtest-newrelic-go-3.37.0","measured_commit":"9b990706a0c87aa0cd66d8cb67581e1bcea1ab05","matrix_version":1,"hops":[{"boundary":"http->http","inbound":"http","outbound":"http","test_id":"newrelic-go--http-http--d5900633","delivered":true,"canary_leak":false,"seeded_headers":{"baggage":"routing-key=rk-68d53d42,team=alpha","ot-baggage-routing-key":"rk-68d53d42","traceparent":"00-b410347e69a29ec1d187daa7e6639da3-2e8eff9319d247bc-01","tracestate":"cptest=v1","x-cp-canary":"newrelic-go--http-http--d5900633"},"observed_headers":{"accept-encoding":["gzip"],"content-length":["46"],"content-type":["application/json"],"newrelic":["eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFwIjoiNTcyNDM3NzYxIiwiYWMiOiI4NDc4NzMyIiwidHgiOiJiMGRkMTlkZWEyYmRhNzZkIiwiaWQiOiIxZGM5OTg1Y2ExMTNlZGI2IiwidHIiOiJiNDEwMzQ3ZTY5YTI5ZWMxZDE4N2RhYTdlNjYzOWRhMyIsInByIjowLjEwNjM5NzY5Niwic2EiOmZhbHNlLCJ0aSI6MTc5NDI5OTMwNzg2MH19"],"traceparent":["00-b410347e69a29ec1d187daa7e6639da3-1dc9985ca113edb6-00"],"tracestate":["8478732@nr=0-0-8478732-572437761-1dc9985ca113edb6-b0dd19dea2bda76d-0-0.106398-1794299307860,cptest=v1"],"user-agent":["Go-http-client/1.1"]},"observed_transport":"http","vendor_native":"absent"},{"boundary":"http->grpc","inbound":"http","outbound":"grpc","test_id":"newrelic-go--http-grpc--72c9dc20","delivered":true,"canary_leak":false,"seeded_headers":{"baggage":"routing-key=rk-494ffb6c,team=alpha","ot-baggage-routing-key":"rk-494ffb6c","traceparent":"00-4e37f7da77233785184d0aeb3fd1dee3-6dddfe06c8603def-01","tracestate":"cptest=v1","x-cp-canary":"newrelic-go--http-grpc--72c9dc20"},"observed_headers":{":authority":["sink:9081"],"content-type":["application/grpc"],"newrelic":["eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFwIjoiNTcyNDM3NzYxIiwiYWMiOiI4NDc4NzMyIiwidHgiOiIxY2UxZjFjNTRlNDdjNTgxIiwiaWQiOiI5YjRmZjI1OTgxNzZlOTFmIiwidHIiOiI0ZTM3ZjdkYTc3MjMzNzg1MTg0ZDBhZWIzZmQxZGVlMyIsInByIjoxLjU2NzA1NDksInNhIjp0cnVlLCJ0aSI6MTc5NDI5OTMwNzg2M319"],"traceparent":["00-4e37f7da77233785184d0aeb3fd1dee3-9b4ff2598176e91f-01"],"tracestate":["8478732@nr=0-0-8478732-572437761-9b4ff2598176e91f-1ce1f1c54e47c581-1-1.567055-1794299307863,cptest=v1"],"user-agent":["grpc-go/1.84.0"]},"observed_transport":"grpc","vendor_native":"absent"},{"boundary":"http->kafka","inbound":"http","outbound":"kafka","test_id":"newrelic-go--http-kafka--4d4b53a2","delivered":true,"canary_leak":false,"seeded_headers":{"baggage":"routing-key=rk-52cb4e46,team=alpha","ot-baggage-routing-key":"rk-52cb4e46","traceparent":"00-89f2b675a1206adc7c685bf20676b80d-f645579afeae5370-01","tracestate":"cptest=v1","x-cp-canary":"newrelic-go--http-kafka--4d4b53a2"},"observed_transport":"kafka","vendor_native":"absent"},{"boundary":"http->rabbitmq","inbound":"http","outbound":"rabbitmq","test_id":"newrelic-go--http-rabbitmq--624c68db","delivered":true,"canary_leak":false,"seeded_headers":{"baggage":"routing-key=rk-d8b02c6b,team=alpha","ot-baggage-routing-key":"rk-d8b02c6b","traceparent":"00-a3d6f4c04f7461db0a918d7050e3f751-a644df40dabbada3-01","tracestate":"cptest=v1","x-cp-canary":"newrelic-go--http-rabbitmq--624c68db"},"observed_headers":{"newrelic":["eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFwIjoiNTcyNDM3NzYxIiwiYWMiOiI4NDc4NzMyIiwidHgiOiJiYWQ0OGJhMzIzYzg4Y2U5IiwiaWQiOiIyY2M5ZGQ0MzI2NzQwYjczIiwidHIiOiJhM2Q2ZjRjMDRmNzQ2MWRiMGE5MThkNzA1MGUzZjc1MSIsInByIjowLjYxMjQ0Mywic2EiOmZhbHNlLCJ0aSI6MTc5NDI5OTMwODM2OX19"],"traceparent":["00-a3d6f4c04f7461db0a918d7050e3f751-2cc9dd4326740b73-00"],"tracestate":["8478732@nr=0-0-8478732-572437761-2cc9dd4326740b73-bad48ba323c88ce9-0-0.612443-1794299308369,cptest=v1"]},"observed_transport":"rabbitmq","vendor_native":"absent"},{"boundary":"grpc->http","inbound":"grpc","outbound":"http","test_id":"newrelic-go--grpc-http--20565be1","delivered":true,"canary_leak":false,"seeded_headers":{"baggage":"routing-key=rk-bab4acb5,team=alpha","ot-baggage-routing-key":"rk-bab4acb5","traceparent":"00-0b803127f886efbe3bb378e638b73bca-e13123b5dbbca6f2-01","tracestate":"cptest=v1","x-cp-canary":"newrelic-go--grpc-http--20565be1"},"observed_headers":{"accept-encoding":["gzip"],"content-length":["46"],"content-type":["application/json"],"newrelic":["eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFwIjoiNTcyNDM3NzYxIiwiYWMiOiI4NDc4NzMyIiwidHgiOiIwNDBlM2E0YzM1NmY0YzI5IiwiaWQiOiI5ZWQ0YWQ4MDAxMWY1MWQyIiwidHIiOiIwYjgwMzEyN2Y4ODZlZmJlM2JiMzc4ZTYzOGI3M2JjYSIsInByIjowLjQzNzUwOTc1LCJzYSI6ZmFsc2UsInRpIjoxNzk0Mjk5MzA4ODkyfX0="],"traceparent":["00-0b803127f886efbe3bb378e638b73bca-9ed4ad80011f51d2-00"],"tracestate":["8478732@nr=0-0-8478732-572437761-9ed4ad80011f51d2-040e3a4c356f4c29-0-0.43751-1794299308892,cptest=v1"],"user-agent":["Go-http-client/1.1"]},"observed_transport":"http","vendor_native":"absent"},{"boundary":"grpc->grpc","inbound":"grpc","outbound":"grpc","test_id":"newrelic-go--grpc-grpc--caf69994","delivered":true,"canary_leak":false,"seeded_headers":{"baggage":"routing-key=rk-ecb50cfe,team=alpha","ot-baggage-routing-key":"rk-ecb50cfe","traceparent":"00-89ec05e8cfa9f10a14f3f24ba1da9668-1bd9ecc146251af8-01","tracestate":"cptest=v1","x-cp-canary":"newrelic-go--grpc-grpc--caf69994"},"observed_headers":{":authority":["sink:9081"],"content-type":["application/grpc"],"newrelic":["eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFwIjoiNTcyNDM3NzYxIiwiYWMiOiI4NDc4NzMyIiwidHgiOiIyYTBiMzFhY2NmODVkYWE5IiwiaWQiOiIxYTJhMDllY2NmMzMxY2E3IiwidHIiOiI4OWVjMDVlOGNmYTlmMTBhMTRmM2YyNGJhMWRhOTY2OCIsInByIjowLjIzMDc3NzQ5LCJzYSI6ZmFsc2UsInRpIjoxNzk0Mjk5MzA4OTU1fX0="],"traceparent":["00-89ec05e8cfa9f10a14f3f24ba1da9668-1a2a09eccf331ca7-00"],"tracestate":["8478732@nr=0-0-8478732-572437761-1a2a09eccf331ca7-2a0b31accf85daa9-0-0.230777-1794299308955,cptest=v1"],"user-agent":["grpc-go/1.84.0"]},"observed_transport":"grpc","vendor_native":"absent"},{"boundary":"grpc->kafka","inbound":"grpc","outbound":"kafka","test_id":"newrelic-go--grpc-kafka--03141114","delivered":true,"canary_leak":false,"seeded_headers":{"baggage":"routing-key=rk-2d730326,team=alpha","ot-baggage-routing-key":"rk-2d730326","traceparent":"00-9975755cb9ef97d97a4c2779aad7b47b-c797a5798df4443b-01","tracestate":"cptest=v1","x-cp-canary":"newrelic-go--grpc-kafka--03141114"},"observed_transport":"kafka","vendor_native":"absent"},{"boundary":"grpc->rabbitmq","inbound":"grpc","outbound":"rabbitmq","test_id":"newrelic-go--grpc-rabbitmq--099cadc0","delivered":true,"canary_leak":false,"seeded_headers":{"baggage":"routing-key=rk-5a8be443,team=alpha","ot-baggage-routing-key":"rk-5a8be443","traceparent":"00-e160f7a086e3463de6f1b808595716ff-09482e90df4854b3-01","tracestate":"cptest=v1","x-cp-canary":"newrelic-go--grpc-rabbitmq--099cadc0"},"observed_headers":{"newrelic":["eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFwIjoiNTcyNDM3NzYxIiwiYWMiOiI4NDc4NzMyIiwidHgiOiIwODc3MWM5OTc3MTFiMDU5IiwiaWQiOiI0NTcxMmRhYWZmYzFhNWVjIiwidHIiOiJlMTYwZjdhMDg2ZTM0NjNkZTZmMWI4MDg1OTU3MTZmZiIsInByIjowLjA5MzM3OTAyLCJzYSI6ZmFsc2UsInRpIjoxNzk0Mjk5MzA5NTYyfX0="],"traceparent":["00-e160f7a086e3463de6f1b808595716ff-45712daaffc1a5ec-00"],"tracestate":["8478732@nr=0-0-8478732-572437761-45712daaffc1a5ec-08771c997711b059-0-0.093379-1794299309562,cptest=v1"]},"observed_transport":"rabbitmq","vendor_native":"absent"},{"boundary":"kafka->http","inbound":"kafka","outbound":"http","test_id":"newrelic-go--kafka-http--ca2c0de4","delivered":true,"canary_leak":false,"seeded_headers":{"baggage":"routing-key=rk-cb611147,team=alpha","ot-baggage-routing-key":"rk-cb611147","traceparent":"00-06883d9afddd2f80f9d51c68c5b06f79-b36dcc29f38c84ca-01","tracestate":"cptest=v1","x-cp-canary":"newrelic-go--kafka-http--ca2c0de4"},"observed_headers":{"accept-encoding":["gzip"],"content-length":["47"],"content-type":["application/json"],"newrelic":["eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFwIjoiNTcyNDM3NzYxIiwiYWMiOiI4NDc4NzMyIiwidHgiOiJkNGM4NDA1OWE0YjIwMzkxIiwiaWQiOiI2YTIwYTJlODFjOTczN2IzIiwidHIiOiIwNjg4M2Q5YWZkZGQyZjgwZjlkNTFjNjhjNWIwNmY3OSIsInByIjowLjk5NTI0NTE2LCJzYSI6ZmFsc2UsInRpIjoxNzk0Mjk5MzEwMDg5fX0="],"traceparent":["00-06883d9afddd2f80f9d51c68c5b06f79-6a20a2e81c9737b3-00"],"tracestate":["8478732@nr=0-0-8478732-572437761-6a20a2e81c9737b3-d4c84059a4b20391-0-0.995245-1794299310089,cptest=v1"],"user-agent":["Go-http-client/1.1"]},"observed_transport":"http","vendor_native":"absent"},{"boundary":"kafka->grpc","inbound":"kafka","outbound":"grpc","test_id":"newrelic-go--kafka-grpc--83497a91","delivered":true,"canary_leak":false,"seeded_headers":{"baggage":"routing-key=rk-260372bd,team=alpha","ot-baggage-routing-key":"rk-260372bd","traceparent":"00-c803f779025dbf1331ce00588c1a8cde-953402d9e9b8492a-01","tracestate":"cptest=v1","x-cp-canary":"newrelic-go--kafka-grpc--83497a91"},"observed_headers":{":authority":["sink:9081"],"content-type":["application/grpc"],"newrelic":["eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFwIjoiNTcyNDM3NzYxIiwiYWMiOiI4NDc4NzMyIiwidHgiOiI4ZTZlNGY4ZTUzMzFjNmU5IiwiaWQiOiI5MDJlZjkyYzI0ZGQ0MzA4IiwidHIiOiJjODAzZjc3OTAyNWRiZjEzMzFjZTAwNTg4YzFhOGNkZSIsInByIjowLjg1NDEzNTc1LCJzYSI6ZmFsc2UsInRpIjoxNzk0Mjk5MzEwNTk0fX0="],"traceparent":["00-c803f779025dbf1331ce00588c1a8cde-902ef92c24dd4308-00"],"tracestate":["8478732@nr=0-0-8478732-572437761-902ef92c24dd4308-8e6e4f8e5331c6e9-0-0.854136-1794299310594,cptest=v1"],"user-agent":["grpc-go/1.84.0"]},"observed_transport":"grpc","vendor_native":"absent"},{"boundary":"kafka->kafka","inbound":"kafka","outbound":"kafka","test_id":"newrelic-go--kafka-kafka--d6fd62a8","delivered":true,"canary_leak":false,"seeded_headers":{"baggage":"routing-key=rk-c4900c00,team=alpha","ot-baggage-routing-key":"rk-c4900c00","traceparent":"00-8cb0829f374eb9b71d71f412619dfeae-dfceb5ead27b5c85-01","tracestate":"cptest=v1","x-cp-canary":"newrelic-go--kafka-kafka--d6fd62a8"},"observed_transport":"kafka","vendor_native":"absent"},{"boundary":"kafka->rabbitmq","inbound":"kafka","outbound":"rabbitmq","test_id":"newrelic-go--kafka-rabbitmq--8daf2b0c","delivered":true,"canary_leak":false,"seeded_headers":{"baggage":"routing-key=rk-897c0c3c,team=alpha","ot-baggage-routing-key":"rk-897c0c3c","traceparent":"00-02b35f37ab9805929debf1aef053e719-b1a19da13a338e63-01","tracestate":"cptest=v1","x-cp-canary":"newrelic-go--kafka-rabbitmq--8daf2b0c"},"observed_headers":{"newrelic":["eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFwIjoiNTcyNDM3NzYxIiwiYWMiOiI4NDc4NzMyIiwidHgiOiJiMGUwMzViZGI1MzY5MjExIiwiaWQiOiI1YWVjMmQyMGE3ZWIxZTg4IiwidHIiOiIwMmIzNWYzN2FiOTgwNTkyOWRlYmYxYWVmMDUzZTcxOSIsInByIjowLjI2Njg1OTUzLCJzYSI6ZmFsc2UsInRpIjoxNzk0Mjk5MzExNjAxfX0="],"traceparent":["00-02b35f37ab9805929debf1aef053e719-5aec2d20a7eb1e88-00"],"tracestate":["8478732@nr=0-0-8478732-572437761-5aec2d20a7eb1e88-b0e035bdb5369211-0-0.26686-1794299311601,cptest=v1"]},"observed_transport":"rabbitmq","vendor_native":"absent"},{"boundary":"rabbitmq->http","inbound":"rabbitmq","outbound":"http","test_id":"newrelic-go--rabbitmq-http--e5b6b84d","delivered":true,"canary_leak":false,"seeded_headers":{"baggage":"routing-key=rk-58deef2d,team=alpha","ot-baggage-routing-key":"rk-58deef2d","traceparent":"00-5db949c667a78dcf25b7f7f8b7016400-267e5845c17c05ab-01","tracestate":"cptest=v1","x-cp-canary":"newrelic-go--rabbitmq-http--e5b6b84d"},"observed_headers":{"accept-encoding":["gzip"],"content-length":["50"],"content-type":["application/json"],"newrelic":["eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFwIjoiNTcyNDM3NzYxIiwiYWMiOiI4NDc4NzMyIiwidHgiOiI2YTU5MTZjNDI0MGI0NTg3IiwiaWQiOiI4ODA2MmE3YjUwMDJhYjQyIiwidHIiOiI1ZGI5NDljNjY3YTc4ZGNmMjViN2Y3ZjhiNzAxNjQwMCIsInByIjowLjAzMTQ5NDUxLCJzYSI6ZmFsc2UsInRpIjoxNzk0Mjk5MzEyMTAzfX0="],"traceparent":["00-5db949c667a78dcf25b7f7f8b7016400-88062a7b5002ab42-00"],"tracestate":["8478732@nr=0-0-8478732-572437761-88062a7b5002ab42-6a5916c4240b4587-0-0.031495-1794299312103,cptest=v1"],"user-agent":["Go-http-client/1.1"]},"observed_transport":"http","vendor_native":"absent"},{"boundary":"rabbitmq->grpc","inbound":"rabbitmq","outbound":"grpc","test_id":"newrelic-go--rabbitmq-grpc--e435f41c","delivered":true,"canary_leak":false,"seeded_headers":{"baggage":"routing-key=rk-5c784f0d,team=alpha","ot-baggage-routing-key":"rk-5c784f0d","traceparent":"00-b33fa69424bcba77086627c9f6e1566b-0a3aa8cb4419fbb4-01","tracestate":"cptest=v1","x-cp-canary":"newrelic-go--rabbitmq-grpc--e435f41c"},"observed_headers":{":authority":["sink:9081"],"content-type":["application/grpc"],"newrelic":["eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFwIjoiNTcyNDM3NzYxIiwiYWMiOiI4NDc4NzMyIiwidHgiOiJhODcwNWQ2OGRkOWUwYjQ2IiwiaWQiOiI1MjdiODM1NmUwMTFlY2RjIiwidHIiOiJiMzNmYTY5NDI0YmNiYTc3MDg2NjI3YzlmNmUxNTY2YiIsInByIjowLjM0NDM2MzM2LCJzYSI6ZmFsc2UsInRpIjoxNzk0Mjk5MzEyNjA0fX0="],"traceparent":["00-b33fa69424bcba77086627c9f6e1566b-527b8356e011ecdc-00"],"tracestate":["8478732@nr=0-0-8478732-572437761-527b8356e011ecdc-a8705d68dd9e0b46-0-0.344363-1794299312604,cptest=v1"],"user-agent":["grpc-go/1.84.0"]},"observed_transport":"grpc","vendor_native":"absent"},{"boundary":"rabbitmq->kafka","inbound":"rabbitmq","outbound":"kafka","test_id":"newrelic-go--rabbitmq-kafka--d9a8c769","delivered":true,"canary_leak":false,"seeded_headers":{"baggage":"routing-key=rk-f288e998,team=alpha","ot-baggage-routing-key":"rk-f288e998","traceparent":"00-e2011fd530036a5984a1a03557f8ccdc-125e091ab62cbc4c-01","tracestate":"cptest=v1","x-cp-canary":"newrelic-go--rabbitmq-kafka--d9a8c769"},"observed_transport":"kafka","vendor_native":"absent"},{"boundary":"rabbitmq->rabbitmq","inbound":"rabbitmq","outbound":"rabbitmq","test_id":"newrelic-go--rabbitmq-rabbitmq--98087232","delivered":true,"canary_leak":false,"seeded_headers":{"baggage":"routing-key=rk-ce6de6ef,team=alpha","ot-baggage-routing-key":"rk-ce6de6ef","traceparent":"00-a309e62f193f897122e9d6b541dc89c0-6b056527f05e4b4c-01","tracestate":"cptest=v1","x-cp-canary":"newrelic-go--rabbitmq-rabbitmq--98087232"},"observed_headers":{"newrelic":["eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFwIjoiNTcyNDM3NzYxIiwiYWMiOiI4NDc4NzMyIiwidHgiOiI3YTcxNDUxZTNkZjk3ZTczIiwiaWQiOiJhYTM0MzVjNDM5MWZhN2JjIiwidHIiOiJhMzA5ZTYyZjE5M2Y4OTcxMjJlOWQ2YjU0MWRjODljMCIsInByIjowLjM2MjAxMjg2LCJzYSI6ZmFsc2UsInRpIjoxNzk0Mjk5MzEzNjA3fX0="],"traceparent":["00-a309e62f193f897122e9d6b541dc89c0-aa3435c4391fa7bc-00"],"tracestate":["8478732@nr=0-0-8478732-572437761-aa3435c4391fa7bc-7a71451e3df97e73-0-0.362013-1794299313607,cptest=v1"]},"observed_transport":"rabbitmq","vendor_native":"absent"}],"cells":[{"cell_id":"newrelic-go/baggage/http-http","header":"baggage","boundary":"http->http","inbound":"http","outbound":"http","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/tracestate/http-http","header":"tracestate","boundary":"http->http","inbound":"http","outbound":"http","outcome":"pass","raw_status":"preserved"},{"cell_id":"newrelic-go/traceparent/http-http","header":"traceparent","boundary":"http->http","inbound":"http","outbound":"http","outcome":"pass","raw_status":"same_trace"},{"cell_id":"newrelic-go/ot-baggage/http-http","header":"ot-baggage","boundary":"http->http","inbound":"http","outbound":"http","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/baggage/http-grpc","header":"baggage","boundary":"http->grpc","inbound":"http","outbound":"grpc","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/tracestate/http-grpc","header":"tracestate","boundary":"http->grpc","inbound":"http","outbound":"grpc","outcome":"pass","raw_status":"preserved"},{"cell_id":"newrelic-go/traceparent/http-grpc","header":"traceparent","boundary":"http->grpc","inbound":"http","outbound":"grpc","outcome":"pass","raw_status":"same_trace"},{"cell_id":"newrelic-go/ot-baggage/http-grpc","header":"ot-baggage","boundary":"http->grpc","inbound":"http","outbound":"grpc","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/baggage/http-kafka","header":"baggage","boundary":"http->kafka","inbound":"http","outbound":"kafka","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/tracestate/http-kafka","header":"tracestate","boundary":"http->kafka","inbound":"http","outbound":"kafka","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/traceparent/http-kafka","header":"traceparent","boundary":"http->kafka","inbound":"http","outbound":"kafka","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/ot-baggage/http-kafka","header":"ot-baggage","boundary":"http->kafka","inbound":"http","outbound":"kafka","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/baggage/http-rabbitmq","header":"baggage","boundary":"http->rabbitmq","inbound":"http","outbound":"rabbitmq","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/tracestate/http-rabbitmq","header":"tracestate","boundary":"http->rabbitmq","inbound":"http","outbound":"rabbitmq","outcome":"pass","raw_status":"preserved"},{"cell_id":"newrelic-go/traceparent/http-rabbitmq","header":"traceparent","boundary":"http->rabbitmq","inbound":"http","outbound":"rabbitmq","outcome":"pass","raw_status":"same_trace"},{"cell_id":"newrelic-go/ot-baggage/http-rabbitmq","header":"ot-baggage","boundary":"http->rabbitmq","inbound":"http","outbound":"rabbitmq","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/baggage/grpc-http","header":"baggage","boundary":"grpc->http","inbound":"grpc","outbound":"http","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/tracestate/grpc-http","header":"tracestate","boundary":"grpc->http","inbound":"grpc","outbound":"http","outcome":"pass","raw_status":"preserved"},{"cell_id":"newrelic-go/traceparent/grpc-http","header":"traceparent","boundary":"grpc->http","inbound":"grpc","outbound":"http","outcome":"pass","raw_status":"same_trace"},{"cell_id":"newrelic-go/ot-baggage/grpc-http","header":"ot-baggage","boundary":"grpc->http","inbound":"grpc","outbound":"http","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/baggage/grpc-grpc","header":"baggage","boundary":"grpc->grpc","inbound":"grpc","outbound":"grpc","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/tracestate/grpc-grpc","header":"tracestate","boundary":"grpc->grpc","inbound":"grpc","outbound":"grpc","outcome":"pass","raw_status":"preserved"},{"cell_id":"newrelic-go/traceparent/grpc-grpc","header":"traceparent","boundary":"grpc->grpc","inbound":"grpc","outbound":"grpc","outcome":"pass","raw_status":"same_trace"},{"cell_id":"newrelic-go/ot-baggage/grpc-grpc","header":"ot-baggage","boundary":"grpc->grpc","inbound":"grpc","outbound":"grpc","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/baggage/grpc-kafka","header":"baggage","boundary":"grpc->kafka","inbound":"grpc","outbound":"kafka","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/tracestate/grpc-kafka","header":"tracestate","boundary":"grpc->kafka","inbound":"grpc","outbound":"kafka","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/traceparent/grpc-kafka","header":"traceparent","boundary":"grpc->kafka","inbound":"grpc","outbound":"kafka","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/ot-baggage/grpc-kafka","header":"ot-baggage","boundary":"grpc->kafka","inbound":"grpc","outbound":"kafka","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/baggage/grpc-rabbitmq","header":"baggage","boundary":"grpc->rabbitmq","inbound":"grpc","outbound":"rabbitmq","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/tracestate/grpc-rabbitmq","header":"tracestate","boundary":"grpc->rabbitmq","inbound":"grpc","outbound":"rabbitmq","outcome":"pass","raw_status":"preserved"},{"cell_id":"newrelic-go/traceparent/grpc-rabbitmq","header":"traceparent","boundary":"grpc->rabbitmq","inbound":"grpc","outbound":"rabbitmq","outcome":"pass","raw_status":"same_trace"},{"cell_id":"newrelic-go/ot-baggage/grpc-rabbitmq","header":"ot-baggage","boundary":"grpc->rabbitmq","inbound":"grpc","outbound":"rabbitmq","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/baggage/kafka-http","header":"baggage","boundary":"kafka->http","inbound":"kafka","outbound":"http","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/tracestate/kafka-http","header":"tracestate","boundary":"kafka->http","inbound":"kafka","outbound":"http","outcome":"pass","raw_status":"preserved"},{"cell_id":"newrelic-go/traceparent/kafka-http","header":"traceparent","boundary":"kafka->http","inbound":"kafka","outbound":"http","outcome":"pass","raw_status":"same_trace"},{"cell_id":"newrelic-go/ot-baggage/kafka-http","header":"ot-baggage","boundary":"kafka->http","inbound":"kafka","outbound":"http","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/baggage/kafka-grpc","header":"baggage","boundary":"kafka->grpc","inbound":"kafka","outbound":"grpc","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/tracestate/kafka-grpc","header":"tracestate","boundary":"kafka->grpc","inbound":"kafka","outbound":"grpc","outcome":"pass","raw_status":"preserved"},{"cell_id":"newrelic-go/traceparent/kafka-grpc","header":"traceparent","boundary":"kafka->grpc","inbound":"kafka","outbound":"grpc","outcome":"pass","raw_status":"same_trace"},{"cell_id":"newrelic-go/ot-baggage/kafka-grpc","header":"ot-baggage","boundary":"kafka->grpc","inbound":"kafka","outbound":"grpc","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/baggage/kafka-kafka","header":"baggage","boundary":"kafka->kafka","inbound":"kafka","outbound":"kafka","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/tracestate/kafka-kafka","header":"tracestate","boundary":"kafka->kafka","inbound":"kafka","outbound":"kafka","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/traceparent/kafka-kafka","header":"traceparent","boundary":"kafka->kafka","inbound":"kafka","outbound":"kafka","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/ot-baggage/kafka-kafka","header":"ot-baggage","boundary":"kafka->kafka","inbound":"kafka","outbound":"kafka","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/baggage/kafka-rabbitmq","header":"baggage","boundary":"kafka->rabbitmq","inbound":"kafka","outbound":"rabbitmq","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/tracestate/kafka-rabbitmq","header":"tracestate","boundary":"kafka->rabbitmq","inbound":"kafka","outbound":"rabbitmq","outcome":"pass","raw_status":"preserved"},{"cell_id":"newrelic-go/traceparent/kafka-rabbitmq","header":"traceparent","boundary":"kafka->rabbitmq","inbound":"kafka","outbound":"rabbitmq","outcome":"pass","raw_status":"same_trace"},{"cell_id":"newrelic-go/ot-baggage/kafka-rabbitmq","header":"ot-baggage","boundary":"kafka->rabbitmq","inbound":"kafka","outbound":"rabbitmq","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/baggage/rabbitmq-http","header":"baggage","boundary":"rabbitmq->http","inbound":"rabbitmq","outbound":"http","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/tracestate/rabbitmq-http","header":"tracestate","boundary":"rabbitmq->http","inbound":"rabbitmq","outbound":"http","outcome":"pass","raw_status":"preserved"},{"cell_id":"newrelic-go/traceparent/rabbitmq-http","header":"traceparent","boundary":"rabbitmq->http","inbound":"rabbitmq","outbound":"http","outcome":"pass","raw_status":"same_trace"},{"cell_id":"newrelic-go/ot-baggage/rabbitmq-http","header":"ot-baggage","boundary":"rabbitmq->http","inbound":"rabbitmq","outbound":"http","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/baggage/rabbitmq-grpc","header":"baggage","boundary":"rabbitmq->grpc","inbound":"rabbitmq","outbound":"grpc","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/tracestate/rabbitmq-grpc","header":"tracestate","boundary":"rabbitmq->grpc","inbound":"rabbitmq","outbound":"grpc","outcome":"pass","raw_status":"preserved"},{"cell_id":"newrelic-go/traceparent/rabbitmq-grpc","header":"traceparent","boundary":"rabbitmq->grpc","inbound":"rabbitmq","outbound":"grpc","outcome":"pass","raw_status":"same_trace"},{"cell_id":"newrelic-go/ot-baggage/rabbitmq-grpc","header":"ot-baggage","boundary":"rabbitmq->grpc","inbound":"rabbitmq","outbound":"grpc","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/baggage/rabbitmq-kafka","header":"baggage","boundary":"rabbitmq->kafka","inbound":"rabbitmq","outbound":"kafka","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/tracestate/rabbitmq-kafka","header":"tracestate","boundary":"rabbitmq->kafka","inbound":"rabbitmq","outbound":"kafka","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/traceparent/rabbitmq-kafka","header":"traceparent","boundary":"rabbitmq->kafka","inbound":"rabbitmq","outbound":"kafka","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/ot-baggage/rabbitmq-kafka","header":"ot-baggage","boundary":"rabbitmq->kafka","inbound":"rabbitmq","outbound":"kafka","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/baggage/rabbitmq-rabbitmq","header":"baggage","boundary":"rabbitmq->rabbitmq","inbound":"rabbitmq","outbound":"rabbitmq","outcome":"fail","raw_status":"absent"},{"cell_id":"newrelic-go/tracestate/rabbitmq-rabbitmq","header":"tracestate","boundary":"rabbitmq->rabbitmq","inbound":"rabbitmq","outbound":"rabbitmq","outcome":"pass","raw_status":"preserved"},{"cell_id":"newrelic-go/traceparent/rabbitmq-rabbitmq","header":"traceparent","boundary":"rabbitmq->rabbitmq","inbound":"rabbitmq","outbound":"rabbitmq","outcome":"pass","raw_status":"same_trace"},{"cell_id":"newrelic-go/ot-baggage/rabbitmq-rabbitmq","header":"ot-baggage","boundary":"rabbitmq->rabbitmq","inbound":"rabbitmq","outbound":"rabbitmq","outcome":"fail","raw_status":"absent"}],"counts":{"baggage":{"pass":0,"partial":0,"new_trace":0,"fail":16,"undelivered":0,"not_run":0,"total":16},"ot-baggage":{"pass":0,"partial":0,"new_trace":0,"fail":16,"undelivered":0,"not_run":0,"total":16},"traceparent":{"pass":12,"partial":0,"new_trace":0,"fail":4,"undelivered":0,"not_run":0,"total":16},"tracestate":{"pass":12,"partial":0,"new_trace":0,"fail":4,"undelivered":0,"not_run":0,"total":16}},"measured_at":"2026-11-10T08:28:27.860089627Z"}],"annotations":[{"id":"ot-baggage-not-implemented","title":"Elastic APM and New Relic have no OpenTracing-era ot-baggage-* propagation","cause":"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.","explanation":"The seeded `ot-baggage-routing-key` header is neither extracted nor\nre-emitted by any Elastic or New Relic variant on any delivered boundary.\nNeither tool writes the OpenTracing header format: Elastic's agent spec\ndefines `traceparent`, `tracestate`, `baggage` and the binary\n`elasticapmtraceparent`; New Relic's distributed-tracing model is\n`traceparent`, `tracestate` and the vendor `newrelic` header. Neither\ndocuments a setting that adds `ot-baggage-*`.\n\nThe header outlives its deprecation only in Datadog's Java, Node and Go\ntracers, where it crosses all 16 boundaries as legacy behaviour of the\n`datadog` style (see `datadog-ot-baggage-not-implemented` for the Datadog\ntracers that do not carry it). Where a tool propagates W3C `baggage`, the\nsame values travel there instead.","status":"by-design","links":[{"title":"OpenTracing trace identifiers RFC (ot-baggage-*)","url":"https://github.com/opentracing/specification/blob/master/rfc/trace_identifiers.md"},{"title":"Elastic agent spec: distributed tracing","url":"https://github.com/elastic/apm/blob/main/specs/agents/tracing-distributed-tracing.md"},{"title":"How New Relic distributed tracing works","url":"https://docs.newrelic.com/docs/distributed-tracing/concepts/how-new-relic-distributed-tracing-works/"}],"cells":["newrelic-go/ot-baggage/grpc-grpc","newrelic-go/ot-baggage/grpc-http","newrelic-go/ot-baggage/grpc-kafka","newrelic-go/ot-baggage/grpc-rabbitmq","newrelic-go/ot-baggage/http-grpc","newrelic-go/ot-baggage/http-http","newrelic-go/ot-baggage/http-kafka","newrelic-go/ot-baggage/http-rabbitmq","newrelic-go/ot-baggage/kafka-grpc","newrelic-go/ot-baggage/kafka-http","newrelic-go/ot-baggage/kafka-kafka","newrelic-go/ot-baggage/kafka-rabbitmq","newrelic-go/ot-baggage/rabbitmq-grpc","newrelic-go/ot-baggage/rabbitmq-http","newrelic-go/ot-baggage/rabbitmq-kafka","newrelic-go/ot-baggage/rabbitmq-rabbitmq"],"variants":["newrelic-go"]},{"id":"newrelic-no-baggage","title":"New Relic agents carry no W3C baggage on any boundary","cause":"Baggage is not part of New Relic's distributed-tracing model (traceparent, tracestate, newrelic); no agent forwards the header and no feature request exists.","explanation":"New Relic's \"How distributed tracing works\" defines the complete header\nmodel as exactly three headers: `traceparent`, `tracestate` and the vendor\n`newrelic` header. The seeded W3C `baggage` member is neither extracted nor\nre-emitted by any of the seven agents on any of the 16 boundaries, even\nwhere trace context continues perfectly (Python is 16/16 for trace\ncontext).\n\nAn org-wide search for \"baggage\" across all New Relic agent repositories\nreturns three unrelated hits; no feature request for W3C baggage exists in\nany of the seven agent repos. New Relic carries no baggage on any protocol;\nan application that routes on it has to carry the header itself.","status":"by-design","links":[{"title":"How New Relic distributed tracing works","url":"https://docs.newrelic.com/docs/distributed-tracing/concepts/how-new-relic-distributed-tracing-works/"}],"cells":["newrelic-go/baggage/grpc-grpc","newrelic-go/baggage/grpc-http","newrelic-go/baggage/grpc-kafka","newrelic-go/baggage/grpc-rabbitmq","newrelic-go/baggage/http-grpc","newrelic-go/baggage/http-http","newrelic-go/baggage/http-kafka","newrelic-go/baggage/http-rabbitmq","newrelic-go/baggage/kafka-grpc","newrelic-go/baggage/kafka-http","newrelic-go/baggage/kafka-kafka","newrelic-go/baggage/kafka-rabbitmq","newrelic-go/baggage/rabbitmq-grpc","newrelic-go/baggage/rabbitmq-http","newrelic-go/baggage/rabbitmq-kafka","newrelic-go/baggage/rabbitmq-rabbitmq"],"variants":["newrelic-go"]},{"id":"newrelic-traceparent-flags-own-sampling","title":"New Relic agents continue the trace but set the traceparent sampled flag from their own sampling decision","cause":"A New Relic agent takes the trace id from traceparent but decides sampling itself unless an upstream New Relic agent's tracestate entry says otherwise; the flags byte it writes mirrors that decision, not the seeded 01.","explanation":"Every New Relic pass on `traceparent` continues the seeded trace id, but\nthe flags byte on the outbound header is the agent's own. The harness seeds\n`01` (sampled); what comes out is `00` on hops where the agent did not\nsample the transaction and `01` where it did. The W3C specification allows\nthis: the sampled flag is a hint, and each participant may decide for\nitself.\n\nNew Relic's model carries the decision in its `@nr` `tracestate` entry\n(the `sampled` and `priority` fields). When an inbound request has an `@nr`\nentry from a trusted account, the agent adopts that decision; the harness\nseeds no `@nr` entry, so each agent decides with its own adaptive sampler\nand writes the result into both the `@nr` entry and the `traceparent`\nflags. Which hops come out `00` therefore varies by agent and by run.\n\nThe harness scores `traceparent` on the trace id only; the flags byte is\nrecorded with each hop but not graded, so these cells pass. A W3C-only\nservice downstream of a New Relic agent sees `00` on every request the\nagent did not sample, and may treat the trace as unsampled.","status":"by-design","links":[{"title":"How New Relic distributed tracing works (header fields: Priority, Sampled)","url":"https://docs.newrelic.com/docs/distributed-tracing/concepts/how-new-relic-distributed-tracing-works/"},{"title":"W3C Trace Context: sampled flag","url":"https://www.w3.org/TR/trace-context/#sampled-flag"},{"title":"node-newrelic v14.12.0 tracecontext.js (flags written from the transaction's own sampled state)","url":"https://github.com/newrelic/node-newrelic/blob/v14.12.0/lib/transaction/tracecontext.js"}],"cells":["newrelic-go/traceparent/grpc-grpc","newrelic-go/traceparent/grpc-http","newrelic-go/traceparent/grpc-rabbitmq","newrelic-go/traceparent/http-grpc","newrelic-go/traceparent/http-http","newrelic-go/traceparent/http-rabbitmq","newrelic-go/traceparent/kafka-grpc","newrelic-go/traceparent/kafka-http","newrelic-go/traceparent/kafka-rabbitmq","newrelic-go/traceparent/rabbitmq-grpc","newrelic-go/traceparent/rabbitmq-http","newrelic-go/traceparent/rabbitmq-rabbitmq"],"variants":["newrelic-go"]},{"id":"newrelic-go-nrsarama-producer-discards-headers","title":"New Relic Go: nrsarama's producer injects DT headers into a throwaway map","cause":"nrsarama calls InsertDistributedTraceHeaders on the carrier's embedded http.Header, bypassing the Set method that would copy headers into msg.Headers.","explanation":"go-agent v3.44.2 is 12/16 with manual wiring per vendor docs (nrgrpc,\nnrsarama, nramqp). All Kafka-outbound legs fail, and the root cause is a\nvisible bug in `nrsarama/producer.go`: it builds a carrier whose `Set` would\ncopy headers into `msg.Headers`, but then calls\n`txn.InsertDistributedTraceHeaders(carrier.Header)` on the plain embedded\n`http.Header`, bypassing `Set`, so the DT headers land in a discarded map\nand never reach the Kafka message.\n\nThe consumer side (`nrsarama/consumer.go`) never calls\n`AcceptDistributedTraceHeaders` either (it even calls *Insert* on the\nconsumed headers), and neither does the official example; the relay's manual\naccept on consume, which went beyond the documented flow, is why\n`kafka->http/grpc/rabbitmq` pass here.\n\nWorkaround: call `txn.InsertDistributedTraceHeaders` yourself into a carrier\nthat writes `msg.Headers`, and accept manually on consume. We found no\nupstream report of either bug, only the original 2019/2020 feature requests\n#98/#160.","status":"open","links":[{"title":"go-agent nrsarama/producer.go","url":"https://github.com/newrelic/go-agent/blob/master/v3/integrations/nrsarama/producer.go"},{"title":"go-agent nrsarama/consumer.go","url":"https://github.com/newrelic/go-agent/blob/master/v3/integrations/nrsarama/consumer.go"},{"title":"go-agent nrsarama consumer example (no accept call)","url":"https://github.com/newrelic/go-agent/blob/master/v3/integrations/nrsarama/example/consumer/consumerexample.go"},{"title":"go-agent #98","url":"https://github.com/newrelic/go-agent/issues/98"},{"title":"go-agent #160","url":"https://github.com/newrelic/go-agent/issues/160"}],"cells":["newrelic-go/traceparent/grpc-kafka","newrelic-go/traceparent/http-kafka","newrelic-go/traceparent/kafka-kafka","newrelic-go/traceparent/rabbitmq-kafka","newrelic-go/tracestate/grpc-kafka","newrelic-go/tracestate/http-kafka","newrelic-go/tracestate/kafka-kafka","newrelic-go/tracestate/rabbitmq-kafka"],"variants":["newrelic-go"]}],"summary":{"variant_count":1,"instrumented_variant_count":1,"cell_count":64,"hop_count":16,"canary_leaks":[],"scorecard":[{"tool":"newrelic","language":"go","variant":"newrelic-go","setup_tier":"in-code","tracer_version":"v3.37.0","counts":{"baggage":{"pass":0,"partial":0,"new_trace":0,"fail":16,"undelivered":0,"not_run":0,"total":16},"ot-baggage":{"pass":0,"partial":0,"new_trace":0,"fail":16,"undelivered":0,"not_run":0,"total":16},"traceparent":{"pass":12,"partial":0,"new_trace":0,"fail":4,"undelivered":0,"not_run":0,"total":16},"tracestate":{"pass":12,"partial":0,"new_trace":0,"fail":4,"undelivered":0,"not_run":0,"total":16}}}],"totals_by_header":{"baggage":{"pass":0,"partial":0,"new_trace":0,"fail":16,"undelivered":0,"not_run":0,"total":16},"tracestate":{"pass":12,"partial":0,"new_trace":0,"fail":4,"undelivered":0,"not_run":0,"total":16},"traceparent":{"pass":12,"partial":0,"new_trace":0,"fail":4,"undelivered":0,"not_run":0,"total":16},"ot-baggage":{"pass":0,"partial":0,"new_trace":0,"fail":16,"undelivered":0,"not_run":0,"total":16}}}}