No problem -CK, thanks for taking a look.
With reference to the charts, they are only 2 hours in length; its been monitoring for about 5 hours now but only 2 hours are shown.
It would be nice if this was 24hour if you can do it without too much hassle or as an extension selectable from 30minutes to 7 days maybe?
Anway, thank you and the author for your efforts.
Hey
Dynamic scaling of the x axis can be looked at. It's only showing 2 hours of data because it originally assumed 10 min updates, but they are happening faster now. Dynamic scaling should fix this, if not the hardcoded number can be updated to reflect the faster updates and show more data points
https://github.com/mrv777/ckstats/blob/main/lib/api.ts#L11The backend is setup to save up to 7 days worth of data i believe before the cleaning script removes old data points, so 7 days worth of data should already be available, just a matter of showing it on the frontend in a nice way
https://github.com/mrv777/ckstats/blob/main/scripts/cleanOldStats.js#L7Your stats are not real, pool update happens once every 30 sec. You are reading updated stats once every 10-30 mins or so
). 1m 5m etc has changed many times in this interval.