tmpim / KristWeb-old

The old web wallet for Krist. Superseded by tmpim/KristWeb2
https://github.com/tmpim/KristWeb2
7 stars 5 forks source link

Add 24+ hours to the realtime graph #29

Open hugeblank opened 6 years ago

hugeblank commented 6 years ago

It would be a lot more useful to be able to see more than 24 hours in the realtime graph, to see where the least amount of work is being done. Maybe add an option to increase the amount of time the graph shows between 3 hours and 1 week?

I don't know if this is something others would want, but it would allow for people to be a lot more strategic with their mining.

Lemmmy commented 6 years ago

Currently, the Krist server only keeps track of 24 hours of data. I was thinking of making a Prometheus exporter natively in Krist which allows us to better keep track of statistics like this. Then, it's as simple as making another service to collect+aggregate the data, which would then allow us to make better graphs. Additionally, I can scrape the database to build graphs of past work all the way back to day 1.