-
Notifications
You must be signed in to change notification settings - Fork 20
Support Trace Context HTTP headers #68
Comments
@hacdias some prior art in ipfs/kubo#9168 + ipfs/kubo#9180, any chance to upstream that to boxo/gateway? Might be less work than we've anticipated 🤞 |
wip in #74 (review), quick demo by @hacdias
|
* feat(examples): wrap handler with OTel propagation * feat: add tracing sub-package based on Kubo * docs: update tracing according to comments * docs(tracing): clarify that kubo is an example Context: ipfs-inactive/bifrost-gateway#68 https://www.w3.org/TR/trace-context/ --------- Co-authored-by: Marcin Rataj <[email protected]>
@willscott @aschmahmann @aarshkshah1992 fyi @hacdias landed support for When a valid As a Demo, enabling Reopening as we need to add tracing to caboose and other types fo HTTP requests sent:
|
@hacdias since you've wired this up in both Kubo and bifrost-gateway, mind wiring this up in https://github.com/filecoin-saturn/caboose, ensuring we send |
@lidel it should already work. Caboose uses the HTTP Client it is given and we updated it to be wrapped via the In addition, Caboose is already creating requests with Context. Assuming the context is being correctly propagated in the Caboose side, the The Saturn nodes should, however, be wrapped with the
Only with all that data we will be able to trace a single requests lifecycle from the browser to the Saturn node(s). |
the saturn nodes are nginx + javascript fwiw, so won't directly be using otelhttp Filed an issue to track the saturn side: filecoin-saturn/L1-node#337 |
Confirmed
|
Closed, as the remaining work needs to happen in Saturn. |
Ref.
Quick thoughts:
The text was updated successfully, but these errors were encountered: