*TL;DR*: I have been working on a project called *kapacitor-unit *(Github 
project <https://github.com/gpestana/kapacitor-unit>) to help you 
automating tests for TICK scripts. It's still under development but 
currently it's being used to test TICK scripts in production. Go head and 
try it out, give feedback and contribute. I hope it helps!


So, I've been working on a tool called kapacitor-unit (Github project 
<https://github.com/gpestana/kapacitor-unit>). After using the TICK stack 
in production and relying a lot on Kapacitor alerts for proactive system 
visibility and data processing, we noticed that it becomes quite hard to 
(sanely) maintain a lot of TICK scripts. In a system where you need to 
often tune alert thresholds and processing tasks or when the data input 
changes, it becomes hard and cumbersome to manually check if the TICK 
scripts work as expected against real data over time.


So, kapacitor-unit was born! It automates the whole process of checking 
whether a set of TICK scripts behaved as supposed. Currently, it basically 
checks whether kapacitor tasks with a certain TICK script behaved as 
expected (e.g. OK and/or WARNING and/or CRITICAL alerts were triggered) 
given some particular data (in form of recording or protocol line). The 
plan is to also include checks on HTTPOutputNode data and so on.


It would be great to have your feedback on this. Would kapacitor-unit be 
useful for you? Would you like to see any more features or improvements? 
Give it a spin and let me know what you think about it!



Gonçalo

https://gpestana.com | @gpestana


-- 
Remember to include the version number!
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/influxdb/7bf8e007-b842-4655-b923-ac541c831c61%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to