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

Simple HTTP status code healthcheck endpoint #148511

Closed
archoversight opened this issue Jan 8, 2023 · 2 comments
Closed

Simple HTTP status code healthcheck endpoint #148511

archoversight opened this issue Jan 8, 2023 · 2 comments
Labels
Project:HealthApis Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc

Comments

@archoversight
Copy link

Describe the feature:

While I am familiar with /api/status it returns a 200 check even while service is degraded and metric beat or other connections will fail.

Would it be possible to get an HTTP endpoint that will not return a 200 OK until Kibana is actually ready to serve traffic. Having load balancers parse the output from /api/status is not a feature available to most of them to make sure that Kibana is not degraded.

Describe a specific use case for the feature:

  • Healtcheck in a docker-compose setup so that metric beat won't get started until Kibana is ready for it (metric beat currently exits with status code 1 if it fails to connect to Kibana)
  • Healthcheck for ALB/load balancers so that Kibana instances don't get traffic until they are actually ready to serve said traffic (so users don't get 503 service unavailable or search errors)
@botelastic botelastic bot added the needs-team Issues missing a team label label Jan 8, 2023
@dej611 dej611 added the Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc label Jan 10, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 10, 2023
@lukeelmers
Copy link
Member

Closing as a duplicate of #46984. Thanks for writing up these use cases -- I'll copy them over to that issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Project:HealthApis Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Projects
None yet
Development

No branches or pull requests

5 participants