Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 849 Bytes

File metadata and controls

32 lines (21 loc) · 849 Bytes

Mini-StatsD

A simple StatsD listener

Code Climate

Mini-StatsD is just a simple UDP server that listens to (and prints) StatsD-like messages sent to some port on your system.

Running

$ gem install mini_statsd
$ bundle install
$ mini_statsd

Simple as that :)

If you want to set a specific port and binding host, just run:

$ mini_statsd <port> <host>

Like:

$ mini_statsd 9125 0.0.0.0

A simple example of a code that sends the statsd message from the gif can be found here