How can I create InfluxDB (with Flux) queries which simply ignore this reset, e.g. when generating differences and/or derivatives? I know about derivative and “nonNegative: true”, but that still returns a delta of 0 if it is > 0. I want to pretend this reset did not occur at all - and if possible, also without manual value hackery because I want to use this feature in many datasets.
500 Internal Server Error: type error 1:1-1:15: unknown import path: "array"
in my setup. (Influx 1.8.10)
Where is the “array” module located?
Also, AFAIunderstand, cumulativeSum() only works if I have a measurement which counts deltas. In that case I wouldn’t need it at all because I could just exclude negative values. But I have absolute values (see screenshot above) in my measurement, so cumulativeSum() doesn’t work correctly here, it returns result values far too high.
Hello @Jens,
I filtered out the 0 values first.
I added timestamps to help visualize it better. What I understood was that you wanted to take the data you shared in your screenshot and have the counter continue in upward form the original data instead of resetting to 0.
Do you know what version of flux you’re using? You need: Flux 0.103.0+
I’m sorry I did not reply to this topic earlier. Influx on my Raspberry Pi broke down FUBAR because of the 32bit > 2GB issue in Influx 1.8 and I had to reinstall and setup everything, and I haven’t imported my old data yet.
I’ll get back to this once I have my old setup running again. Thank you!
I’m actually relieved you say this. I thought this cannot have been missed, counter wrap is such a typical time series issue … I’ll get my old data online again and try this ASAP.