nordicdyno f5cc502874 Refactoring for better Prometheus' logic support
1) Breaking changes! Updated collection code for proper Prometheus support
- Now metrics names of all subcollectors have prefixes:
  nsq_topic_, nsq_channel_, nsq_client_
  As a result metrics registration code now passing Prometheus' client validation,
  also it fixes scrape warnings
- "type" label in exported metrics removed as obsolete
2) Add reset of gauges before scrape (like in haproxy-exporter)
3) Refactor: subcollectors logic is simplified, multiple collectors support removed
   We always use 'stats' collector so it removes unnecessary flexibility and complexity.
2017-02-13 15:56:33 +03:00
2017-02-13 15:55:57 +03:00
2016-10-05 10:24:05 +02:00
2016-10-05 10:24:05 +02:00
2016-04-05 22:07:39 +02:00
2016-10-05 10:24:05 +02:00
2016-10-05 10:24:05 +02:00
2016-10-13 17:50:47 +02:00

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 -nsq.addr=http://nsqd:4151 -collectors=nsqstats

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
Description
No description provided
Readme 299 KiB
Languages
Go 94.1%
Makefile 4.8%
Dockerfile 1.1%