Menu

#6 Extend record time

2.0
open
nobody
None
2025-04-17
2025-04-17
MobileHero
No

I did not find any information on how to extend the duration of all records. Since using Webminstats all graphs and data shown is 365 days/1 year. How can I extend that period to ideally endless (or a high amount of years) to have a long-term collection of data?

Discussion

  • eric gerbier

    eric gerbier - 2025-04-17

    Webminstats uses the rrd (round robin database) tool (https://oss.oetiker.ch/rrdtool/) : the database size is fixed at init, so the number of records is also fixed.
    It is possible to add a new RRA to store long term data : https://stackoverflow.com/questions/30322964/how-can-i-add-rras-to-an-existing-rrd but webminstats will not be able to display this data without some big code changes.

     
    • MobileHero

      MobileHero - 2025-04-17

      I was told something similar by an AI, mentioning it is basically possible but needs tweaking and re-creating the rrd files which is kind of tricky.

      So to sum up: if one wants to have Webminstats data for more than 1 year - it is currently not possible and likely never will be due to the tech stack. Feels a bit outdated to be honest. Webminstats could maybe think about a new, "a bit" more flexible data storage. rrd is so so limited... what a bummer :-(

       

Log in to post a comment.

MongoDB Logo MongoDB