-
Notifications
You must be signed in to change notification settings - Fork 4
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
[Bug] Build error: cannot convert *prevalevt (type config.AlertEvent) to type config.AlertEventHist #106
Comments
Hi @wiku-PSNC , you can download it , you should install 2 packages for resistor and other for the resinjector. ( we will review this build error ASAP) About ResistorResistor has the ability to configure multiple influxdb , import a "measurement, field , tag" catalog for all our influxdb , after that you will be able to create "Product" definitions as a group of measurements with common tags and non common tags ( one of the common will be the "product" tag , as a unique id for each "instance" for this product). With this product definition you will be able to create alert definitions for each product. Resistor will install all the tick script templates on all our defined kapacitors and also deploy all our "alerts" with a set of predefined templates, Resistor will be able also define a set of exceptions for each product with a list of rules, these rules will be read periodically by our resinjector UDF to modify the behaviour of our alerts online without any tickscript changes. You should configure resinjector UDF into your Kapacitor as follows. [udf]
# Configuration for UDFs (User Defined Functions)
[udf.functions]
[udf.functions.resInjector]
socket = "/tmp/resInjector.sock"
timeout = "10s" Kapacitor subscriptions over all our influxdb should be previously configured ( resistor can not do this configuration yet). But this tool needs a set of predefined templates and these are not yet released into the package , without them you will not be able to deploy any "alert definition". I will try to add these templates to the package ASAP to the package and tomorrow I will attach here in the issue a couple of these templates , so you could test this software. Please let me know about your test. Thank you very much. |
Hi @wiku-PSNC I've updated the rpm/docker/deb packages to the latest version 0.6.7 ( not yet with tick templates). Can you test new version ? |
Hi, I will notify you as only as I deploy the software. Thank you very much. :) |
Resistor version: 0.6.7
OS: Debian 9.1
Description of resistor software isn't enough clear for me, so I decided to give it try.
Unfortunately during build (npm run build:prod - BTW there is typo in README.md - should be :pro->:prod) I get:
pkg/webui/apirt-kapfilter.go:175: cannot convert *prevalevt (type config.AlertEvent) to type config.AlertEventHist
No idea how to fix it. :( Is it possible to share resistor as deb package?
Best regards,
Wiktor
The text was updated successfully, but these errors were encountered: