-
Notifications
You must be signed in to change notification settings - Fork 87
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
Multiple flapping triggers for a single process #152
Comments
try: trigger :flapping1, times: 3, within: 2.minutes, retry_in: 5.minutes
trigger :flapping2, times: 6, within: 10.minutes, retry_in: 60.minutes after retry_times, you can start only by hands. |
Thanks. I didn't know that I can just provide another name ;) |
It will not work. Eye will pick only the "shorter" one. |
what you expect? |
trigger :flapping1, times: 3, within: 2.minutes, retry_in: 5.minutes
trigger :flapping2, times: 6, within: 10.minutes, retry_in: 60.minutes
I have a case when process depends on a database. It will crash when user will restore a wrong database backup. Eye will keep sending an alert each 5 minutes till the database is fixed or someone from our supports takes an action. |
i think about this: |
For me it is a "good enough" solution, but not sure about these names. What if someone in the future will ask about one more step? |
Hi there,
is it possible to achieve something like:
?
I know that there is
retry_times
, but I guess that it will require manual start after that. Am I right?The text was updated successfully, but these errors were encountered: