Skip to content

Add request-id header to requests #79

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 17, 2024
Merged

Add request-id header to requests #79

merged 2 commits into from
May 17, 2024

Conversation

liamgriffiths
Copy link
Contributor

Adds a x-substrate-request-id header to SDK requests to support request tracing.

Since we already have this randomString function here and in the Python SDK I thought I'd go with that for now.

Screenshot 2024-05-17 at 11 00 03 AM Screenshot 2024-05-17 at 10 58 41 AM

@liamgriffiths
Copy link
Contributor Author

cc @vprtwn

@liamgriffiths liamgriffiths merged commit b6cad05 into main May 17, 2024
2 checks passed
@liamgriffiths liamgriffiths deleted the liam/request-id branch May 17, 2024 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants