-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Kapacitor templated tasks #22
Comments
Hey @Anderen2! kapacitor-unit does not support templated tasks as we speak, but it would definitely be a great thing to add. I will create an issue and try to push this forward. If you'd wish to take this forward, please go ahead and start a PR 😏 |
Or even better, I will re-use this issue for visibility and keeping up with the feature request. |
Hi! I'm afraid that I'm not able to dig myself enough into the codebase to be able to implement this myself at this time. We ended up creating our own automated method for testing TICKscripts and tasks using a Docker build process. Simply spinning up a container with InfluxDB and Kapacitor, loading in the templates and tasks, injecting test data, checking what the resulting alarms were and tossing the container afterwards. |
@Anderen2 did you ever end up releasing this project? I'd be very interested in using it. |
@brettdh I've uploaded the Dockerfile and scripts we use here: https://github.com/Anderen2/kapacitor-docker-test The README.md is likely lacking, so feel free to create issues if there is anything unclear! |
Hi!
Does this tool support testing Kapacitor tasks in JSON/YAML format with TICKscript templates?
I've tried to point it towards to a folder containing JSON files, however it did not seem to be very happy with parsing the JSON files, but I may be doing something wrong.
If not, is there any plan on gaining support for templated tasks?
The text was updated successfully, but these errors were encountered: