flow-cli
flow-cli copied to clipboard
Create custom header for requests to access-node
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.
Are these metrics supported on the AN?
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.