-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
On service registration, health check should be "critical" not "unknown" #341
Comments
I'm seeing similar behavior except the alarm is not showing up at (not even in state 'unknown'). The service appears with just the default alarm, then a short time later shows up with the alarm in warning state. |
This issue is not fixed. I just retested with the recently release 0.4.1 and saw the following: Goal is to get a set of healthy services.
Should this issue be reopened or should a new issue be created for this? |
@plorenz we can track this issue here - I'll give your use case a shot and see if I get the same thing. Thanks! |
Thanks, @ryanuber. I'm using the /v1/health/service REST API since the /v1/catalog/service doesn't expose information about health checks. |
Yeah I think this was 2 different issues. The first was the use of the "unknown" state which has been fixed, the second is a race condition between the registration of the service and the health check. |
Currently there is a race where the service is in the pool while it may be unavailable. Fix this by defaulting state to critical instead of the useless unknown state.
The text was updated successfully, but these errors were encountered: