Measured results for context propagation: whether trace context and baggage cross HTTP, gRPC, Kafka and RabbitMQ boundaries with OpenTelemetry, Datadog, Elastic APM and New Relic, in eight languages.

1 points•horse666•about 1 hour ago•0 comments•
Hi Hacker News. I'd like to share this project I've been working on, with help from colleagues. There's an open source test harness (https://github.com/signadot/context-propagation-matrix), which measures context propagation behaviour (see below for details) and publishes the results to the website. Heavy use of Anthropic models in building the harness and website.

Context propagation is how information about a request travels through a distributed system, alongside the request itself. It's used by observability tools to implement distributed tracing. The product I work on in my day job at Signadot also relies on context propagation working correctly.

The harness currently tests across:

* Four different observability providers: OpenTelemetry, Datadog, Elastic APM & New Relic

* Eight languages: Java, Node.js, Python, Go, .NET, Ruby, PHP & Rust

* Four protocols: HTTP, gRPC, Kafka & RabbitMQ/AMQP (all sixteen combinations of in->out)

* Four headers: W3C Baggage, W3C Trace Context (tracestate/traceparent) & "legacy" OpenTracing

The harness runs in CI and the results are updated automatically and published to https://contextpropagation.io/results/. Every cell is the result of a real measurement, not reading vendor docs. You can run the harness locally using Docker Compose and Go (instructions in the repo).

I hope that by highlighting the gaps (for example in support for baggage), this project can help to improve the reliability of context propagation across languages, protocols, etc.

0 comments

No comments yet.

Related stories