Skip to content

Exploring what using JSON RPC may look like - #30

Closed
andrewboudreau wants to merge 10 commits into
tedder:mainfrom
andrewboudreau:main
Closed

Exploring what using JSON RPC may look like#30
andrewboudreau wants to merge 10 commits into
tedder:mainfrom
andrewboudreau:main

Conversation

@andrewboudreau

Copy link
Copy Markdown

This is very much a work in progress still but wanted to solicit feedback and explore our options for an JSONRPC based solution.

@andrewboudreau
andrewboudreau marked this pull request as ready for review July 13, 2021 06:47
@tedder

tedder commented Jul 13, 2021

Copy link
Copy Markdown
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 andrewboudreau left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feel free to keep making changes here, no need to rebase because I'll just grab bits and pieces.

Perfect, thanks

Comment thread miner_exporter.py
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))

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opps, looks like some of these got deleted by mistake

@andrewboudreau

Copy link
Copy Markdown
Author

This pr in the miner, helium/miner#909 will help hbbft penalties query

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