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

Add Elasticsearch Cluster Health Check #1577

Conversation

stefannikolei
Copy link
Contributor

This is a second test for elasticsearch. The one implemented now just pings elastic. This one really checks the cluster health. It only respond with unhealthy when the cluster health endpoint answers with red.

Here is the documentation from elastic to this topic:

https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-health.html

@github-actions github-actions bot added the test label Dec 19, 2022
@sungam3r sungam3r added the enhancement New feature or request label Dec 21, 2022
Copy link
Collaborator

@sungam3r sungam3r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for contribution. I suggest to implement this feature in the existing healthcheck by providing new property in ElasticsearchOptions like bool UseClusterHealthAPI { get; set; } - less code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants