Skip to content
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

Create custom header for requests to access-node #841

Open
1 task
Tracked by #1317
bthaile opened this issue Feb 9, 2023 · 2 comments
Open
1 task
Tracked by #1317

Create custom header for requests to access-node #841

bthaile opened this issue Feb 9, 2023 · 2 comments
Assignees
Labels
Feature A new user feature or a new package API Feedback

Comments

@bthaile
Copy link
Contributor

bthaile commented Feb 9, 2023

Issue to be solved
Need to track versions of flow-cli being used and failure rates

Suggest A Solution
Add custom header on requests to access node. header name FLOW-CLIENT and FLOW-CLIENT-VERSION

  • library name
  • library version

example for flow-cli
FLOW-CLIENT=FLOW-CLI
FLOW-CLIENT-VERSION=0.41.0

  • Support GRPC as well.
@bthaile bthaile added Feature A new user feature or a new package API Feedback labels Feb 9, 2023
@devbugging
Copy link
Contributor

Are these metrics supported on the AN?

@devbugging
Copy link
Contributor

Also, flow CLI uses Go SDK to access AN. We could add an option to add the header but then also that would only work on HTTP. I need to see the AN implementation first to do any action here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature A new user feature or a new package API Feedback
Projects
None yet
Development

No branches or pull requests

3 participants