Skip to content

Scrape some base info out of rabbitmq and shove it into statsd (running on localhost)

Notifications You must be signed in to change notification settings

igoraj/statsd-rabbitmq

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

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)
    -u, --rmquser [RABBITMQ_USER]    rabbitmq user (default: guest)
    -s, --rmqpass [RABBITMQ_PASS]    rabbitmq pass (default: guest)
    -r, --rmqhost [RABBITMQ_HOST]    rabbitmq server (default: 127.0.0.1)
    -b, --rmqport [RABBITMQ_PORT]    rabbitmq server port (default: 15672)
    -q, --[no-]queues                report queue metrics (default: no)

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

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

About

Scrape some base info out of rabbitmq and shove it into statsd (running on localhost)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%