chia-monitor
chia-monitor copied to clipboard
Reduce history.sqlite size
Hi @philippnormann! I've been using your monitor for a long time and love it. Thank you.
I'm wondering, is there a way to limit the growth on the history.sqlite data? That file is just past 3 gig and it seems like I probably don't need all that since I don't display anything in my dashboard longer than 7 days. Thanks.
So, to follow up (and for anyone else reading this), I realize it doesn't actually matter. Any historical data I may want is sitting in Prometheus, so I just blew it away and started over with no impact at all.
automatic clean up of db would be really nice. In config.json
could be a settings something like delete_data_after_seconds
.