I am wondering why Graph panel doesn’t continue. I have this event driven database (influxDB), so basically the system writes to InfluDB when there is a data change, when there is no change of data, there is no writing on data. So since the there is no writing of data, I assumed that graph panel will automatically graph the last value of that data until it changes again, however that is not the characteristic of the graph.
In here you can see, that when the data doesn’t change (it means there is no writing of data to influxdb), the graphs also stop showing the trend graph, what I like is it should be continues on the trend graph. How can I do this?
Red circles (no graph), but when I hover my mouse the data is still the last updated values.
I have this event driven database (influxDB), so basically the system writes
to InfluDB when there is a data change, when there is no change of data,
there is no writing on data.
If you do not write data into the database, Grafana does not know what the
value for that time point “should” be.
I assumed that graph panel will automatically graph the last value of that
data until it changes again, however that is not the characteristic of the
graph.
Why would you assume that? If there is no data, it would misleading for
Grafana to show any.
Data might arrive into your database late, in which case Grafana cannot
display anything until it turns up, but when it does, you want Grafana to show
the correct data, and it would be misleading for it to show anything else
until then.
Basically, if you want Grafana to display some data points, those data points
need to be in your data store (InfluxDB). Grafana itself will not assume data
values where there are none.
If I understand you correctly, you want the previous value to continue on for the graph.
Check out the fill options on the Influx query, where you can treat no value as none, null, 0, previous,
I suspect you currently have it set to none.
Thank you.
This is actually the answer,
I just figured it out last week that there is a fill(previous) options on influxdb, I can also use fill(linear).