sudomesh / monitor

a way to monitor health of (people's open) network
GNU General Public License v3.0
5 stars 7 forks source link

Timeseries plot of nodes/gateways #32

Closed bennlich closed 6 years ago

bennlich commented 6 years ago

First pass at adding a time series plot to the monitor.

Every time the monitor receives new info, the info is dumped into a mongodb capped collection.

still TODO before merge:

Ideas for the future: Currently it's only rendering summaries (i.e. counts of nodes) over the last 24 hours. But enough info is stored in the db that someone could make this more useful/interactive. E.g. could click on a point on the plot to see the actual routes present at that point in time. Could also search for statuses older than the last 24 hours, or search for the history of a specific node ip.

gobengo commented 6 years ago

Looks like this branch can't come up in heroku. Will you investigate to make sure we can continue to have auto-builds working? https://peoplesopen-monitor-stag-pr-32.herokuapp.com/

Excited for this feature though. Nice d3-fu!

bennlich commented 6 years ago

Really appreciate the review!! Thank you!

bennlich commented 6 years ago

woooooooooot fixed auto builds and travis.

:sweat: srsly annoying to have all these different envs (heroku, travis, dev) though i appreciate them when they work...

bennlich commented 6 years ago

Oops. Definitely forgot to handle the multiple exit nodes case...