[influxdb] Re: time difference between first and last entry in windowed stream

2016-09-10 Thread e . poeze
Thanks! This is exactly what I was looking for. We monitor mobile devices and they are switching between online and offline, so the 'window' fills when they are switched on and empties when they go offline. Using first/last and usePointTimes() should do the job exactly. I love this stack, real

[influxdb] Re: time difference between first and last entry in windowed stream

2016-09-09 Thread nathaniel
I have pasted an example below but it might not do what you expect. The elapsed time will almost always be 10m since that is the period of your window, except for the first 10m where it will still be filling up. Kapacitor measures time based on the data it sees. This means the window will not be