Hello,
I’m looking to create a task to downsample collected system metrics into another bucket.
Below is the original CQ code
CREATE CONTINUOUS QUERY cq_system_metrics ON system_metrics_daily BEGIN SELECT mean() AS value INTO system_metrics.two_weeks.:MEASUREMENT FROM system_metrics_daily.two_hours././ GROUP BY time(1h) END
Since upgrading to v2.0 I have not been able to downsample the data. Here is the query I’m running