Quantcast
Channel: InfluxDB - Grafana Labs Community Forums
Viewing all articles
Browse latest Browse all 200

Influxdb vs grafana: delayed results

$
0
0

Hi everyone!

I am experiencing a delay in the query results in Grafana. The values shown in Grafana are about 90 seconds delayed compared to the values in InfluxDB.

I used the same query in both applications. The duration and refresh times are exactly the same. I didn’t apply any transformations, the query is fairly simple, and I didn’t apply any aggregation.

Can someone explain why this is happening? How can I shorten the delay?

Here is a screenshot showing the situation:

Here is the query:

influxdb

from(bucket: "Stromzaehler")
  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)
  |> filter(fn: (r) => r["_measurement"] == "Z1")
  |> filter(fn: (r) => r["_field"] == "16_7_0_Leistung")
  //|> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)
  |> keep(columns: ["_time", "_value"])
  |> tail(n: 5)
  |> yield(name: "mean")

And here are the query options (the automatic setting, I didn’t change it manually):

Thank you all!

7 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 200

Trending Articles