Here is the use case:
I have metric called count
I am downsampling it by creating a rule to the key/downsampling rule countPerMinute
Now when I try and create another rule for hourlyAggregation(have a slightly complicated case) redis time series doesn't allow me to create a rule with the countPerMinute
key as a source key for another rule.
As there are millions of keys and huge volume we have set only couple hours of retention period on raw data keys.
You cannot create a compaction rule where the source is a destination of another compaction rule.
Instead, you should create all compaction rules directly from the raw samples series:
Some test code: