I think that’s very good, it provides quite a few options; I admit I can’t really think of any particular case that would require even more duration options.
3 months, without really ever having needed to go back any further.
Because the only thing I might want to consult/compare from one year to the next would be my electricity consumption, but I do that from the dedicated app for my solar panels which is very comprehensive.
It’s true that more granular management will also limit the size of backups, because having only 3 months and unlimited was too restrictive — it’s good that these durations were added!
On that, I’ve been eyeing for a while a new file-based DB (like SQLite) but for time-series data; it’s called DuckDB and it’s becoming somewhat of a reference. I tested it and the space it uses compared to Gladys right now is pretty phenomenal (for time-series data, of course)
I was waiting for DuckDB to go stable to start work on it
As for InfluxDB for those who know it, why not have an integration, but for me it wouldn’t be a « recommended » way to do it but rather an integration for experts