Export Elasticsearch service health to Prometheus.
To run it:
make
./elasticsearch_exporter [flags]./elasticsearch_exporter --helpes.server: Address (host and port) of the Elasticsearch node we should connect to. This could be a local node (localhost:8500, for instance), or the address of a remote Elasticsearch server.es.cluster_nodes: If true, query stats for all nodes in the cluster, rather than just the node we connect to.web.listen-address: Address to listen on for web interface and telemetry.web.telemetry-path: Path under which to expose metrics.