Commit Graph

4985 Commits (03f9b9f07f122d483881b6caba64db9adc578efa)

Author SHA1 Message Date
Kieran R. Prasch 03f9b9f07f Reduce horizontal scale of widgets and previous stakes on monitor dashboard. 2019-11-25 16:22:50 -08:00
Kieran R. Prasch 0b21d5a984 Attempting to fix staker breakdown CSS reflow bug on update. 2019-11-25 16:22:50 -08:00
Kieran R. Prasch e9d04c1aad Reintroduces future locked tokens graphing on-demand; Moves stakers breakdown inside widgets div. 2019-11-25 16:22:50 -08:00
derekpierre d3f1cc810d Resolution conflict fixes for monitor crawl and dashboard. 2019-11-25 16:22:50 -08:00
Kieran R. Prasch c7593cf9cc Renames monitoring entities and modules; Depend on default config root for monitor db instead of tmpfs. 2019-11-25 16:22:50 -08:00
derekpierre 0d8c41b2f0 State information is now obtained by crawler and displayed in dashboard 2019-11-25 16:22:50 -08:00
derekpierre da9852d5e2 Further deprecation of Moe - "Moe" is now "Monitor" 2019-11-25 16:22:50 -08:00
derekpierre 108ee51ad7 Hookup crawler and dashboard 2019-11-25 16:22:50 -08:00
Kieran R. Prasch 257cdcc82a Soft deprecation of Moe - Adapt Learner to allow direct subclassing and LL participation. 2019-11-25 16:22:50 -08:00
derekpierre 1da11ed1d6 Initial code for SQLiteForgetfulNodeStorage to eventually be used for tracking network status 2019-11-25 16:22:50 -08:00
derekpierre 1ced550a29 Fix staker breakdown pie chart - sizing and color 2019-11-25 16:22:50 -08:00
derekpierre 2e6029dfd7 Very simple initial implementation of Moe's new `dashboard` command 2019-11-25 16:22:50 -08:00
derekpierre 83ca610c6a Initial separation of Moe crawler vs dashboard 2019-11-25 16:22:50 -08:00
derekpierre ba930356c2 Ensure wss is subscribed to state and node events
Use default host as 127.0.0.1 instead of 0.0.0.0
2019-11-25 16:22:50 -08:00
Kieran Prasch a7f9ad22fe Respond to RFCs in PR #1313 - Cleanup Moe Websocket param handling. 2019-11-25 16:22:50 -08:00
Kieran Prasch a0a113a9a4 temp. hardcode for ws host 2019-11-25 16:22:50 -08:00
Kieran Prasch 3208e52630 Accept TLS private key filepath via Moe CLI 2019-11-25 16:22:50 -08:00
Kieran Prasch 2fb9df8bc3 Allow pre-existing certs via Moe CLI 2019-11-25 16:22:50 -08:00
Kieran R. Prasch c17dbb00f8 Include origin host IP in socket templating. 2019-11-25 16:22:50 -08:00
Kieran R. Prasch 3e380e3183 WSS Support for Moe services. 2019-11-25 16:22:50 -08:00
Kieran R. Prasch f796180eb5 Self-Signed Cert for Mo via TLSHostingPower. 2019-11-25 16:22:50 -08:00
derekpierre aef1055146 Ensure that Moe graphs start at 0 for the y-axis 2019-11-25 16:22:50 -08:00
derekpierre 16b15fd7f7 Fix staker checksum and show correct previous states - the current states shown are not the latest. 2019-11-25 16:22:50 -08:00
derekpierre 5c3b866ac0 Improve coloring of graphs, ticks used for x-axis, layout of nickname in nodes table 2019-11-25 16:22:50 -08:00
Kieran Prasch 7652dd3c11 Status App Reorg and Layout Improvments for mobile. Hack and Slash. 2019-11-25 16:22:50 -08:00
Kieran Prasch 669d0a6716 Dark Theme and Layout improvements - Caching future stakes, influxdb integration. 2019-11-25 16:22:50 -08:00
derekpierre 3e2408fec6 Add historical graph for number of stakers - I'm pretty sure the Influx queries can be improved but suffices for now.
Improve graph layouts (titles, zerolines, number of ticks on x-axis)
2019-11-25 16:22:50 -08:00
derekpierre 3a39a5465c Created a graph based on historical locked tokens 2019-11-25 16:22:50 -08:00
derekpierre c2e9abb8d6 Fixed status column alignment and commented out locked tokens graph for now 2019-11-25 16:22:50 -08:00
derekpierre c0a4479bc6 Use named constants for crawler DB properties. 2019-11-25 16:22:50 -08:00
derekpierre 8b7c4b2a6b Fix incorrect start date for start date for stake 2019-11-25 16:22:50 -08:00
derekpierre afb3b85498 Add client cleanup functions to close the InfluxDBClient when no longer needed. 2019-11-25 16:22:50 -08:00
derekpierre ab615629e0 Fix bug where node table components were generated multiple times for the same node
Use label property of daq.Indicator
Fix colour value for 'Idle' status
Added axes titles to locked token graph
2019-11-25 16:22:50 -08:00
derekpierre 6d6d00490e Store `start_date` and `end_date` as floats instead of strings for comparison operations
Replicate bar graph of locked stake tokens on MoeStatusPage using the MoeBlockchainCrawler
2019-11-25 16:22:50 -08:00
derekpierre 92aaed7670 Added InfluxDB functionality - node data can read from blockchain and added to DB 2019-11-25 16:22:50 -08:00
derekpierre 413406c284 Initial simple retrieval of information by utility from blockchain. Tested using simple creation and start() within moe cli 2019-11-25 16:22:50 -08:00
derekpierre 84720edfa6 Initial skeleton for Moe status page utility to read data from blockchain. 2019-11-25 16:22:50 -08:00
derekpierre 268b811084 Some initial cleanup changes for Moe/Ursula status pages now that the blockchain agent is being used. 2019-11-25 16:22:50 -08:00
Kieran Prasch 722ebc30eb Implements Plotly/Dash graph components from on-chain data. 2019-11-25 16:22:50 -08:00
Kieran Prasch daa7e52bfb jotting down some new deps and realizing the need to break-away./scripts/local_fleet/run_local_fleet.sh 2019-11-25 16:22:50 -08:00
derekpierre 0417f3540a Fixed Ursula status pages test to pass once federated ursula status pages work
Add circleci_only marker for tests
2019-11-25 16:22:50 -08:00
derekpierre 748fd0e34d Update reasoning for skipping Ursula status page tests 2019-11-25 16:22:50 -08:00
derekpierre 95bbc502f0 Remove pytest-dash from all dependencies
Rebuild dependencies to include dash[testing]
2019-11-25 16:22:50 -08:00
derekpierre 7daedf4bf6 Initial code to transition tests to dash[testing] from pytest-dash.
Note, tests are skipped and don't yet work with dash[testing] - this is to allow for CI builds to pass
2019-11-25 16:22:50 -08:00
derekpierre c6814ec996 Add border around coloured dot since it's possible for the nickname's color to be white. 2019-11-25 16:22:50 -08:00
derekpierre cbdaabf894 Clean up previous states widget.
1. no longer uses square border
2. added coloured circle
3. nickname is at the bottom with the timestamp below in small text
2019-11-25 16:22:50 -08:00
derekpierre e7b54818b3 Open links on status page in new window/tab 2019-11-25 16:22:50 -08:00
derekpierre 9e5c3b4819 Make headers slightly larger than values for Moe widgets
Reduce previous states to last 3 instead of 5
Fix periodic updates of Ursula status page that weren't firing
2019-11-25 16:22:50 -08:00
derekpierre 473f2ced2f Allow Moe's ws-port to be templated so that it can be specified from the CLI. 2019-11-25 16:22:50 -08:00
Kieran R. Prasch 0f7b51df43 More Moe Styles and stats. 2019-11-25 16:22:50 -08:00