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

option to fill up window #913

Closed
rubycut opened this issue Sep 16, 2016 · 4 comments
Closed

option to fill up window #913

rubycut opened this issue Sep 16, 2016 · 4 comments
Milestone

Comments

@rubycut
Copy link

rubycut commented Sep 16, 2016

As it currently works in kapacitor 1.0.0

|window().period(300s).every(60s)

This will emit as soon as 60 seconds passes. In other words, period is not honored.

While every(60) it seems logical to send every 60 seconds, this creates many fake alerts immediately after task is loaded (period didn't fill up yet).

So, there should be option fill() which should not emit anything until first period passes. For example:

|window().period(300s).every(60s).fill()

@nathanielc nathanielc added this to the Unplanned milestone Sep 16, 2016
@nathanielc
Copy link
Contributor

@rubycut Thanks for the suggestion.

@titilambert
Copy link
Contributor

@nathanielc Any workaround for this ?

@nathanielc
Copy link
Contributor

@titilambert Sadly no. But I am doing 1.2 planning right now and this is similar to some other work I plan to get done so I'll add it to the 1.2 milestone for now.

@nathanielc nathanielc modified the milestones: v1.2.0, Unplanned Nov 2, 2016
@titilambert
Copy link
Contributor

@nathanielc even with batch mode ?

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

No branches or pull requests

3 participants