Allow some percentage of data to be generated for an older timerange
ryanbooz opened this issue · comments
In preparation for inserting into compressed hypertables, we would like to allow the generated data to accept a second range of time that randomly inserts records for that time range at a fixes percentage relative to the total rows.
This would typically be done after and initial load of data has been completed and tables have been compressed. We would then generate a second set of data, set create_metric_tables=false
, and then insert the additional data.
Looking at the current parameters, maybe something like:
historical-timestamp-start
: the start range for random, historical datahistorical-timestamp-end
: the end range for random, historical datahistorical-percentage
: the percentage of overall data (current + historical) that should come from the historical range.
This is just a place to start the discussion.