-
Notifications
You must be signed in to change notification settings - Fork 228
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
Python CLI to self diagnose Nym nodes #4606
Merged
Merged
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
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Ignored Deployments
|
jstuczyn
reviewed
May 21, 2024
I found out that it returns error when running over a blacklisted GW, This is a crucial problem, I will get back to it this week again. |
benedettadavico
approved these changes
Jun 26, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Python CLI for devrel and operators, simplifying diagnose of a any node, especially if ran side by side with
nym-gateway-probe
.query_stats
command runs over all possible API checks based on nodes identity key. An example like:./node_api_check.py query_stats <IDENTITY_KEY>
will return all stats about any bonded node.Optional flags:
--output <PATH>
- export output to a txt file--markdown
- will output stats in markdown format--no_routing_history
- excludes sometimes lengthy routing history from outputversion_count
command returns a table of node summary in the given version. For example./node_api_check.py version_count <VERSION_1> <VERSION_2> <VERSION_3> --markdown
will return a neat markdown table counting all nodes in version 1, 2, and 3. Use Nym binary versioning (ie1.1.3
) separated by space.Tasks
mixnode
or agateway
or the identity keys doesn't existFuture steps:
api_endpoints.json
and use endpoints from dynamicopenapi.json