Monitoring: Add monitoring watch to display disabled allocation in Kibana #33308
Labels
:Data Management/Monitoring
>enhancement
help wanted
adoptme
Team:Data Management
Meta label for data/management team
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 extractstate.metaData().transientSettings()
andstate.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.
The text was updated successfully, but these errors were encountered: