class OkComputer::ElasticsearchCheck

This class performs a health check on an elasticsearch cluster using the cluster health API.

It reports the cluster’s name, number of nodes, and status (green, yellow, or red). A cluster status of red is reported as a failure, since this means one or more primary shards are unavailable. Note that the app may still be able to perform some queries on the available indices/shards.