-
Notifications
You must be signed in to change notification settings - Fork 488
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
Periodically check if new InfluxDB DBRPs have been created #553
Comments
@nathanielc Are you working on it ? If not, I can get it (I really need this one) |
@titilambert I am not working on this ATM. Thanks for taking a look! |
@nathanielc I already got something, I just need more tests before to create PR |
What about the api endpoint, was it added too ? I can't find it in the documentation but it may just not be documented so I prefer to ask directly. If There isn't it would be nice to have a way to tell kapacitor to updates its subscriptions. |
@schmurfy It has been added and was left undocumented. To trigger an explicit event to update subscriptions make an empty bodied POST request to |
@schmurfy I should have also mentioned that as of v1.1.0 which is has an rc2 release out now there is a new API for configuring Kapacitor. Since the API allows adding/removing and modifying InfluxDB clusters in the Kapacitor config it naturally needed to support dynamically linking subscriptions. Depending on why you needed to update them this may be a better option. See the CHANGELOG for more details. |
thakns I will have a look at it, for now this is for testing purposes, I create the influxdb database on the fly and was looking for a way for kapacitor to immediately notice them. |
Currently Kapacitor only creates subscriptions on startup. We should add both and API endpoint to tell Kapacitor to add update subscriptions as well as optionally do so on a periodic basis.
The text was updated successfully, but these errors were encountered: