This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
generated from ipfs/ipfs-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 20
feat: trace context traceparent header support #74
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hacdias
commented
Apr 4, 2023
a53e879
to
0c859c1
Compare
lidel
reviewed
Apr 6, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @hacdias, left a comment above.
I think the next steps here is to make this universal feature:
- support what Kubo supports (docs)
- confirm that
traceparent
is applied to all requests sent by bifrost-gateway to other systems-
KUBO_RPC_URL
→ routing.go - when
PROXY_GATEWAY_URL
is set → blockstore_proxy.go - when
STRN_ORCHESTRATOR_URL
is set → open PR in caboose that ensures header is forwarded to Saturn L1 with every request?
- This should work as per feat: trace context traceparent header support #74 (comment)
-
- add "How to use tracing?" to FAQ in README.md
- example how to pass
traceparent
- example how to trace with Jaeger UI (link to
/docs/environment-variables.md#tracing
based on Kubo?)
- example how to pass
I'm using Kubo @ ipfs/kubo#9801 for testing. Connected traces of Bifrost Gateway proxying requests to Kubo ( Connected traces of Bifrost Gateway proxying IPNS records to Kubo (
|
5b1290f
to
3e682ed
Compare
lidel
approved these changes
Apr 11, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
guanzo
pushed a commit
to guanzo/bifrost-gateway
that referenced
this pull request
May 12, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #68.