Allow rotate chunk with max size (additional parameter to interval).
In minute range we have different metric rate (for first 10 sec heavy rate, and lower rate in other time). So first chunk is huge and smaller after (it's negative for insert perfomance, many parts in clickhouse generated).
With this parameter I can switch chunk with optimal chunk size (with failback interval, if small metric count was received).
Like this
Allow rotate chunk with max size (additional parameter to interval). In minute range we have different metric rate (for first 10 sec heavy rate, and lower rate in other time). So first chunk is huge and smaller after (it's negative for insert perfomance, many parts in clickhouse generated). With this parameter I can switch chunk with optimal chunk size (with failback interval, if small metric count was received). Like this
Before
After