Skip to content

Scrapes nsqd stats and serves them up as Prometheus metrics.

License

Notifications You must be signed in to change notification settings

adamweiner/nsqd-prometheus-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ab7c4fa · Oct 26, 2017

History

31 Commits
Oct 26, 2017
Mar 30, 2017
Apr 4, 2017
Oct 26, 2017
Oct 26, 2017
Mar 30, 2017
Apr 27, 2017
Oct 25, 2017
Oct 25, 2017
Oct 25, 2017
Oct 26, 2017
Mar 30, 2017

Repository files navigation

nsqd-prometheus-exporter Build Status

Scrapes nsqd stats and serves them up as Prometheus metrics.

If a previously detected topic or channel no longer exists in a new scrape, the exporter will rebuild all metrics to remove any label values associated with the old topic or channel.

TODO: better tests

Usage

NAME:
   nsqd-prometheus-exporter - Scrapes nsqd stats and serves them up as Prometheus metrics

USAGE:
   nsqd-prometheus-exporter [global options] command [command options] [arguments...]

VERSION:
   0.4.0

COMMANDS:
     help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --nsqdURL value, -n value         URL of nsqd to export stats from (default: "http://localhost:4151") [$NSQD_URL]
   --listenPort value, --lp value    Port on which prometheus will expose metrics (default: "30000") [$LISTEN_PORT]
   --scrapeInterval value, -s value  How often (in seconds) nsqd stats should be scraped (default: "30") [$SCRAPE_INTERVAL]
   --help, -h                        show help
   --version, -v                     print the version

About

Scrapes nsqd stats and serves them up as Prometheus metrics.

Resources

License

Stars

Watchers

Forks

Packages

No packages published