How to display the query results in fluxDB: the interval between the timestamp of each result and the timestamp of the previous resultDB.
I had a need to monitor the periodicity of the appearance of specified emails, so I came up with the idea of using FluxDB, a time series database. enter image description here
I am using the map function to iterate through the query results and convert the timestamp to nanoseconds in _value.But the map function can't calculate the difference between one result in the array and the previous result.
What should I do?
2.1m questions
2.1m answers
60 comments
57.0k users