I’m pretty new to TICK and I’m struggling with a problem. I’m monitoring a software which writes data into influxdb and at the moment I tried to set a threshold at 4, send an alarm everytime one data point exceeds it and it works perfectly. By the way, I’d like to replace this static value with the stddev of the last 5 minutes of data in my time series.
Is that a possible thing? When I create the alert rule from Kapacitor’s UI, I can’t write queries (indeed I can only insert a real/integer number or an arithmetic operation) so I tried to do it in the TICKscript but I’m not very good with it. Any tips?
Hello @greasy-sandwich,
May I ask, if you’re new to InfluxDB, why are you trying to use TICK and Kapacitor?
I find it’s much easier to use Flux and and tasks.
That’s definitely possible, but I’d only be able to help you with Flux and tasks. Otherwise, I suggest creating an issue in Issues · influxdata/kapacitor · GitHub.