Commit 17f5bb7e authored by neop's avatar neop
Browse files

try to get some results

parent 93a8c67a
......@@ -96,7 +96,7 @@ public class Main {
}
private static void run() throws Exception {
var tables = influxDBClient.getQueryApi().query("from(bucket:\"openforecast\") |> range(start: -1d) |> mean() |> yield(name: \"_results\")");
var tables = influxDBClient.getQueryApi().query("from(bucket:\"openforecast\") |> range(start: -600d) |> mean() |> yield(name: \"_results\")");
for (var fluxTable : tables) {
var records = fluxTable.getRecords();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment