Lilypad-Tech / lilypad

Run AI workloads easily in a decentralized GPU network. https://www.youtube.com/watch?v=yQnB2Yxia4Y
https://lilypad.tech
Apache License 2.0
52 stars 16 forks source link

Add custom headers to HTTP traces #409

Open bgins opened 4 weeks ago

bgins commented 4 weeks ago

We recently added otelmux to auto-instrument our Solver server with HTTP traces (#388). The auto-instrumentation collects common HTTP headers, but it would be nice to also see the x- headers we add for address, signature, and version.

Let's update our implementation to extract these headers. On a quick look, we will want to write a custom propagator that extracts the headers and adds them on the trace.