[influxdb] Re: Kapacitor: trouble creating alert when field in certain state for too long

2016-11-11 Thread nathaniel
FYI, I dug in and found several optimizations that can be made to the union node. PR will be incoming. On Friday, November 11, 2016 at 1:59:20 PM UTC-7, nath...@influxdb.com wrote: > > Below is a script that gets closer but still suffers from the 2nd and 3rd > issues you mentioned. It does fix

[influxdb] Re: Kapacitor: trouble creating alert when field in certain state for too long

2016-11-11 Thread nathaniel
Below is a script that gets closer but still suffers from the 2nd and 3rd issues you mentioned. It does fix the first issue. I'll file a github issue to see if we can change elapsed to return a 0 if it only receives a single point. The third issue about buffering is going to stay. The buffering