Deprecated: etcd is now natively instrumented with Prometheus and thus an exporter is no longer needed.
This is a simple server that frequently scrapes statistics from etcd and exposes them to be scraped by Prometheus. The etcd exporter can be run in single-mode in which it exports all running etcd nodes through one exporter instance. The default, however, monitors a single instance which allows to also export process information.
godep get && godep go build
./etcd_exporter
There are slight differences in the exposed statistics (and version of the used etcd client) between etcd version 0.4.x and 2.0.x. For clusters using etcd 0.4 the etcd-v0.4 branch can be used.
To run the etcd_exporter in a docker container run
docker run -p 9105:9105 quay.io/fabxc/etcd_exporter -etcd.address="http://some.member:4001"
For clusters using etcd 0.4.x
docker run -p 9105:9105 quay.io/fabxc/etcd_exporter:etcd-v0.4 -etcd.address="http://some.member:4001"