Hello everyone,
I recently upgraded InfluxDB from v1 to v2. In InfluxDB v1, there are Continuous Queries, whereas in v2, they are replaced with Tasks. I tried converting a Continuous Query to a Task, but I did not get the expected result.
Here is my Continuous Query:
CREATE CONTINUOUS QUERY hits_usage ON hitts
BEGIN
SELECT SUM(count) INTO task_usage.hits_usage
FROM system_info.hits_usage
WHERE servertype = ‘rserver’ AND schema = ‘rdp’
GROUP BY time(1m)
END
Please suggest the equivalent Task for this Continuous Query.