XionZhao / nsq_exporter

Prometheus Metrics exporter for NSQ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Prometheus Metrics exporter for NSQ

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 86.7%Language:Makefile 11.1%Language:Shell 1.4%Language:Dockerfile 0.9%