I have a measurement which I want to stream process in Kapacitor. The measurment contains 6 fields that I want to alert on if any of them increment between time intervals.
I see 2 options here:
- Having a single task with a branch->process->join pattern
- Having a template task with 6 instances
The 1st option would definitely be less elegant. However there is quite a lot of ingress stream data and other tasks running so minimizing the overhead is a concern as well. Which option would you recommend? Or something completely different?