NSQ exporter for prometheus.io, written in go.
make
./nsq_exporter <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. |
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