/nsq_exporter

Prometheus Metrics exporter for NSQ

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

NSQ Exporter Build Status

CircleCI Docker Repository on Quay Docker Pulls Go Report Card

NSQ exporter for prometheus.io, written in go.

Building and running

Build

make

Running

./nsq_exporter <flags>

Flags

Name Description
--nsqd.addr Address of the nsqd node. (default "http://localhost:4151/stats")
--timeout Timeout for trying to get stats from nsqd. (default 5s)
--collect Comma-separated list of collectors to use (available choices: stats.topics, stats.channels and stats.clients). (default "stats.topics,stats.channels")
--namespace Namespace for the NSQ metrics. (default "nsq")
--log.level Logging verbosity. (default: info)
--web.listen-address Address to listen on for web interface and telemetry. (default: ":9118")
--web.telemetry-path Path under which to expose metrics.
--version Print the version information.

Using Docker

You can deploy this exporter using the Docker image from following registry:

For example:

docker pull timonwong/nsq-exporter

docker run -d -p 9117:9117 timonwong/nsq-exporter