Exploring what using JSON RPC may look like - #30
Closed
andrewboudreau wants to merge 10 commits into
Closed
Conversation
andrewboudreau
marked this pull request as ready for review
July 13, 2021 06:47
Owner
|
thanks! I'll take this and @kellybyrd's stuff in #16, and maybe some things from #23, and start a redesign. Feel free to keep making changes here, no need to rebase because I'll just grab bits and pieces. |
andrewboudreau
commented
Jul 13, 2021
andrewboudreau
left a comment
Author
There was a problem hiding this comment.
Feel free to keep making changes here, no need to rebase because I'll just grab bits and pieces.
Perfect, thanks
| SYSTEM_USAGE.labels('Memory', hotspot_name_str).set(psutil.virtual_memory()[2]) | ||
| SYSTEM_USAGE.labels('CPU-Steal', hotspot_name_str).set(psutil.cpu_times_percent().steal) | ||
| SYSTEM_USAGE.labels('Disk Used', hotspot_name_str).set(float(psutil.disk_usage('/').used) / float(psutil.disk_usage('/').total)) | ||
| SYSTEM_USAGE.labels('Disk Free', hotspot_name_str).set(float(psutil.disk_usage('/').free) / float(psutil.disk_usage('/').total)) |
Author
There was a problem hiding this comment.
Opps, looks like some of these got deleted by mistake
Author
|
This pr in the miner, helium/miner#909 will help hbbft penalties query |
This file contains hidden or 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
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.
This is very much a work in progress still but wanted to solicit feedback and explore our options for an JSONRPC based solution.