Prometheus exporter for various metrics about ElasticSearch, written in Go.
go get -u github.com/justwatchcom/elasticsearch_exporter
|es.uri||Address (host and port) of the Elasticsearch node we should connect to. This could be a local node (
|es.all||If true, query stats for all nodes in the cluster, rather than just the node we connect to.|
|es.timeout||Timeout for trying to get stats from Elasticsearch. (ex: 20s)|
|web.listen-address||Address to listen on for web interface and telemetry.|
|web.telemetry-path||Path under which to expose metrics.|
NOTE: We support pulling stats for all nodes at once, but in production this is unlikely to be the way you actually want to run the system. It is much better to run an exporter on each Elasticsearch node to remove a single point of failure and improve the connection between operation and reporting.
Parts of the node stats struct changed for Elasticsearch 2.0. For the moment we'll attempt to report important values for both.
systime, so we're now reporting
This package was originally created and mainted by Eric Richardson, who transferred this repository to us in Jan 2017.