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

Retry check interval #1268

Closed
ghost opened this issue Oct 1, 2015 · 3 comments
Closed

Retry check interval #1268

ghost opened this issue Oct 1, 2015 · 3 comments
Labels
thinking More time is needed to research by the Consul Contributors

Comments

@ghost
Copy link

ghost commented Oct 1, 2015

It'll be nice to have a retry_check_interval along with a retry_check_count option so a service can be marked as being down if, for instance, the check fails x times.

"retry_check_interval" : 3s,
"retry_check_count": 3

[check] ...wait 3s ... [check] ... wait 3s ... [check] === {warning or critical}

@ryanuber
Copy link
Member

ryanuber commented Oct 2, 2015

One way you can have this functionality now using a script/interval check type is to take a longer interval, and do the retries within the script. It's possible we could add some quiescence for checks, marking as a thinking ticket for now. Thanks.

@ryanuber ryanuber added the thinking More time is needed to research by the Consul Contributors label Oct 2, 2015
@thedebugger
Copy link

We have been using script checks but we want to use native checks if this feature is supported. We don't want to manage script checks as they are hard to get right on first few attempts. So it would be nice to have this support in the native checks.

@slackpad
Copy link
Contributor

slackpad commented May 3, 2017

Closing as a duplicate of #2890.

@slackpad slackpad closed this as completed May 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
thinking More time is needed to research by the Consul Contributors
Projects
None yet
Development

No branches or pull requests

3 participants