@Wolf Yeah, I did something similar to make sure I would not run out of space on my NAS (running a Docker instance as host for my stack) but the performance when pulling back historic data is horrible, I poll/collect data for all my data points every 5secs.. Roughly 2-3 days or less performance is decent, especially same day but larger timeframes is really not usable. I've decided that in reality 99% of the time I only look at sameday stats for the battery (batrium) and day over day or week over week for my house demand (IOTWATT). So I'll probably limit the batrium to 7 days of 5sec detail, rolling 30 of 5min blocks, 30-60 days 1hr blocks and then 60+ days purge. For house demand 14 days less 5sec then rolling 60 days 5 min blocks, 60-90 days 1hr blocks and 90-180 24hr block and then 180+ purge. I have some seasonal house demands that require (or at least my interest) to have the longer windows.
Actually now as I write up this recap now I wonder if influxdb supports indexes... that might help with my performance issues. hmmm. gotta check that out now.