I am a newbie and therefor I’m even not sure, for which keywords I could search to find a solution. So, here is my challenge.
The data source is sending measurements to InfluxDB 1.8.5 via Telegraf 1.18.1 over UDP to the inputs.socket_listener only, if measurement-values are changing. E.g. changes may happen for certain measurements only once per hour, but for others every second as well.
I am using Grafana for the visualization. The issue is, if I zoom into a smaller time-range e.g.15 minutes, there may be no data for the slowly changing measurement. Then the measurement series disappears completely from the panel/diagram. But I really would need to see even the slowly changing measurement with it’s past value, which exists before the time-range, and may be interpolated to the value, which exists after the time range.
Is there any way to accomplish this?
P.S. At the moment I have worked around this issue. With a small “proxy” app I am repeating the actual value every 10 seconds and sending it to InfluxDB. But for me this is a quite annoying approach.
Just out of curiosity, if you’re a new user, why are you using 1.8 instead of 2.x?
Hmm I’m not sure why the visualization completely disappears with Grafana, it doesn’t with the InfluxDB UI.
So are you asking for how to perform linear interpolation?
Otherwise, what does your query look like?
You could group by time and then use fill