You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker run --rm -p 9108:9108 justwatch/elasticsearch_exporter:1.0.0-rc1
17
+
```
18
+
19
+
Example `docker-compose.yml`:
20
+
21
+
```yaml
22
+
elasticsearch_exporter:
23
+
image: justwatch/elasticsearch_exporter:1.0.0-rc1
24
+
environment:
25
+
- '-es.uri=http://elasticsearch:9200'
26
+
restart: always
27
+
ports:
28
+
- "127.0.0.1:9108:9108"
17
29
```
18
30
19
31
### Configuration
@@ -24,7 +36,7 @@ elasticsearch_exporter --help
24
36
25
37
| Argument | Description |
26
38
| -------- | ----------- |
27
-
| es.uri | 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.
39
+
| es.uri | Address (host and port) of the Elasticsearch node we should connect to. This could be a local node (`localhost:9200`, for instance), or the address of a remote Elasticsearch server.
28
40
| es.all | If true, query stats for all nodes in the cluster, rather than just the node we connect to.
29
41
| es.timeout | Timeout for trying to get stats from Elasticsearch. (ex: 20s) |
30
42
| es.ca | Path to PEM file that contains trusted CAs for the Elasticsearch connection.
@@ -33,11 +45,6 @@ elasticsearch_exporter --help
33
45
| web.listen-address | Address to listen on for web interface and telemetry. |
34
46
| web.telemetry-path | Path under which to expose metrics. |
35
47
36
-
__NOTE:__ We support pulling stats for all nodes at once, but in production
37
-
this is unlikely to be the way you actually want to run the system. It is much
38
-
better to run an exporter on each Elasticsearch node to remove a single point
39
-
of failure and improve the connection between operation and reporting.
40
-
41
48
### Metrics
42
49
43
50
|Name |Type |Cardinality |Help
@@ -119,36 +126,30 @@ of failure and improve the connection between operation and reporting.
119
126
| elasticsearch_transport_rx_size_bytes_total | counter | 1 | Total number of bytes received
120
127
| elasticsearch_transport_tx_packets_total | counter | 1 | Count of packets sent
121
128
| elasticsearch_transport_tx_size_bytes_total | counter | 1 | Total number of bytes sent
122
-
### Alerts & Recording Rules
123
129
124
-
As example alerts and recording rules I have copied my `.rules` file to this repository.
125
-
Please check [elasticsearch.rules](examples/prometheus/elasticsearch.rules) in the examples folder.
130
+
### Alerts & Recording Rules
126
131
127
-
### Development
132
+
We provide examples for [Prometheus](http://prometheus.io)[alerts and recording rules](examples/prometheus/elasticsearch.rules) as well as an [Grafana](http://www.grafana.org)[Dashboard](examples/grafana/dashboard.json) and a [Kubernetes](http://kubernetes.io)[Deployment](examples/kubernetes/deployment.yml).
128
133
129
-
You obviously should get the code
134
+
## Credit & License
130
135
131
-
```bash
132
-
go get -u github.com/justwatchcom/elasticsearch_exporter
133
-
```
136
+
`elasticsearch_exporter` is maintained by the nice folks from [JustWatch](https://www.justwatch.com/)
137
+
and licensed under the terms of the Apache license.
134
138
135
-
Now during development I always run:
139
+
This package was originally created and mainted by [Eric Richardson](https://github.com/ewr),
140
+
who transferred this repository to us in January 2017.
0 commit comments