Skip to content
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

Closed
nathanielc opened this issue May 17, 2016 · 7 comments
Closed

Periodically check if new InfluxDB DBRPs have been created #553

nathanielc opened this issue May 17, 2016 · 7 comments
Milestone

Comments

@nathanielc
Copy link
Contributor

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.

@titilambert
Copy link
Contributor

@nathanielc Are you working on it ? If not, I can get it (I really need this one)

titilambert added a commit to titilambert/kapacitor that referenced this issue Jun 2, 2016
@nathanielc
Copy link
Contributor Author

@titilambert I am not working on this ATM. Thanks for taking a look!

@titilambert
Copy link
Contributor

titilambert commented Jun 2, 2016

@nathanielc I already got something, I just need more tests before to create PR

titilambert added a commit to titilambert/kapacitor that referenced this issue Jun 2, 2016
titilambert added a commit to titilambert/kapacitor that referenced this issue Jun 3, 2016
titilambert added a commit to titilambert/kapacitor that referenced this issue Jun 3, 2016
titilambert added a commit to titilambert/kapacitor that referenced this issue Jun 3, 2016
titilambert added a commit to titilambert/kapacitor that referenced this issue Jun 3, 2016
nathanielc pushed a commit that referenced this issue Jun 3, 2016
* Periodically check if new InfluxDB DBRPs have been created #553
@schmurfy
Copy link

schmurfy commented Nov 2, 2016

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.

@nathanielc
Copy link
Contributor Author

@schmurfy It has been added and was left undocumented.

To trigger an explicit event to update subscriptions make an empty bodied POST request to /kapacitor/v1/subscriptions

@nathanielc
Copy link
Contributor Author

@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.

@schmurfy
Copy link

schmurfy commented Nov 3, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants