Skip to content
Snippets Groups Projects
Commit 3955cb95 authored by Lars Janssen's avatar Lars Janssen
Browse files

added TODO

parent f334268f
Branches
Tags
No related merge requests found
......@@ -106,7 +106,7 @@ func main() {
"CREATE DATABASE " + avgDB,
"CREATE RETENTION POLICY one_day ON " + normalDB +
" DURATION 24h REPLICATION 1 DEFAULT",
"CREATE CONTINUOUS QUERY ON " + normalDB +
"CREATE CONTINUOUS QUERY ON " + normalDB + // TODO avoid probable error if rp and qc are already excising
"BEGIN SELECT mean(*) INTO " + avgDB +
".one_day.:MEASUREMENT FROM /.*/ GROUP BY time(12h) END",
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment