Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
j.hoerdt
sensor2graph
Commits
1532c34a
Commit
1532c34a
authored
Nov 22, 2021
by
neop
Browse files
check output
parent
f20a2346
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/sensor2graph/Main.java
View file @
1532c34a
...
...
@@ -96,9 +96,9 @@ public class Main {
}
private
static
void
run
()
throws
Exception
{
System
.
out
.
println
(
"starting influx query"
);
var
tables
=
influxDBClient
.
getQueryApi
().
query
(
"from(bucket:\"openforecast\") |> range(start: -600d1m, stop: -600d) |> mean() |> yield(name: \"_results\")"
);
System
.
out
.
println
(
"starting influx query"
);
for
(
var
fluxTable
:
tables
)
{
var
records
=
fluxTable
.
getRecords
();
for
(
var
fluxRecord
:
records
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment