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

[gateway] [health-check] Endpoint state #91

Closed
brasseld opened this Issue Jun 22, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@brasseld
Member

brasseld commented Jun 22, 2016

When the health-check service is checking endpoints, we have to provide a state to the endpoint and not only a flag indicating that the last check was successful or not.

Endpoint states are:

  • UP: endpoint is operational
  • TRANSITIONALLY_DOWN: endpoint is currently considered as operational, but last check failed. So endpoint is in transition to the DOWN state
  • DOWN: endpoint is inoperational
  • TRANSITIONALLY_UP: endpoint is currently considered as inoperational, but last check succeed. So endpoint is in transition to the UP state

State must be reported through the reporting system.

Also, these states must be useful to disable endpoint when an endpoint is calculated by the load-balancing strategy.

@brasseld brasseld changed the title from [gateway] Health-check: Endpoint state to [gateway] Health-check: endpoint state Jun 22, 2016

brasseld added a commit to gravitee-io/gravitee-definition that referenced this issue Jun 22, 2016

brasseld added a commit to gravitee-io/gravitee-reporter-api that referenced this issue Jun 22, 2016

brasseld added a commit to gravitee-io-community/gravitee-reporter-elasticsearch that referenced this issue Jun 22, 2016

brasseld added a commit to gravitee-io/gravitee-gateway that referenced this issue Jun 22, 2016

@brasseld brasseld added this to the 0.16.0 milestone Jun 22, 2016

brasseld added a commit to gravitee-io/gravitee-definition that referenced this issue Jun 22, 2016

aelamrani added a commit to gravitee-io/gravitee-definition that referenced this issue Jun 22, 2016

aelamrani added a commit to gravitee-io/gravitee-reporter-api that referenced this issue Jun 22, 2016

aelamrani added a commit to gravitee-io-community/gravitee-reporter-elasticsearch that referenced this issue Jun 22, 2016

aelamrani added a commit to gravitee-io/gravitee-gateway that referenced this issue Jun 22, 2016

@aelamrani aelamrani closed this Jun 22, 2016

@brasseld brasseld changed the title from [gateway] Health-check: endpoint state to [gateway] [health-check] Endpoint state Jun 22, 2016

@brasseld brasseld self-assigned this Jul 4, 2016

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