470c5a0ae229eda774ae8969b4e26f9a1ed6784f
In order to avoid timeouts in case of many clients, it should be possible to configure which stats should be collected. Implements the following sub-collectors: * topics * channels * clients
NSQ Exporter
NSQ exporter for prometheus.io, written in go.
Usage
docker run -d --name nsq_exporter -l nsqd:nsqd -p 9117:9117 lovoo/nsq_exporter:latest -nsq.addr=http://nsqd:4151 -collectors=nsqstats
Building
go get -u github.com/lovoo/nsq_exporter
go install github.com/lovoo/nsq_exporter
TODO
- collect all nsqd instances over nsqlookupd
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
Description
Languages
Go
94.1%
Makefile
4.8%
Dockerfile
1.1%