/nsq_exporter

Prometheus Metrics exporter for NSQ

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

NSQ Exporter

GoDoc Build Status

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 -nsqd.addr=http://nsqd:4151 -collect=stats.topics,stats.channels,stats.clients

Building

make

OR

go get -u github.com/lovoo/nsq_exporter
go install github.com/lovoo/nsq_exporter

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request