Skip to content
Snippets Groups Projects
Verified Commit 43354d64 authored by Yorick Peterse's avatar Yorick Peterse
Browse files

Fixed the deployment CQ

Apparently running a query with "RESAMPLE EVERY 30m FOR 1h" _without_
an aggregate function results in InfluxDB throwing an error. This in
turn leads to it retrying the same CQ every second, because if it
doesn't work the first time it will _probably_ work the 12039812093th
time.
parent 2c561293
No related branches found
No related tags found
No related merge requests found
CREATE CONTINUOUS QUERY deployments on $DATABASE
RESAMPLE EVERY 30m FOR 1h
BEGIN
SELECT *
SELECT distinct(version)
INTO forever.deployments
FROM "default".deployments
GROUP BY time(30m)
END
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment