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

Monitoring: Add monitoring watch to display disabled allocation in Kibana #33308

Open
spinscale opened this issue Aug 31, 2018 · 1 comment
Open

Comments

@spinscale
Copy link
Contributor

A common pitfall when doing a rolling upgrade is to disable shard allocation as outlined in our docs, but then forget to reenable it again when the upgrade is done.

We could add another watch to monitoring, that actually is checking for this.

This would require changes in the ClusterStatsMonitoringDoc, which already contains the cluster state, so one can extract state.metaData().transientSettings() and state.metaData().persistentSettings() and check for the allocation one, and then send this field over as well.

The next step would be add a watch that could make use of that field, so that an error message gets displayed in Kibana.

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@rjernst rjernst added the Team:Data Management Meta label for data/management team label May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants