Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 574 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 574 Bytes

statsd-rabbitmq

Scrape some base info out of rabbitmq and shove it into statsd

Usage

Usage: ./rabbitmq.watcher.rb [options]
    -P, --prefix [STATSD_PREFIX]     metric prefix (default: Socket.gethostname)
    -i, --interval [SEC]             reporting interval (default: 10)
    -h, --host [HOST]                statsd host (default: 127.0.0.1)
    -p, --port [PORT]                statsd port (default: 8125)

I like to put my ec2 instance id in the prefix, for example:

rabbitmq.watcher.rb -P $(ec2metadata --instance-id)