Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/igormarques/mini-statsd

A simple StatsD listener
https://github.com/igormarques/mini-statsd

Last synced: about 14 hours ago
JSON representation

A simple StatsD listener

Awesome Lists containing this project

README

        

# Mini-StatsD
A simple StatsD listener

[![Code Climate](https://codeclimate.com/github/IgorMarques/Mini-StatsD/badges/gpa.svg)](https://codeclimate.com/github/IgorMarques/Mini-StatsD)

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

## Running

```shell
$ gem install mini_statsd
$ bundle install
$ mini_statsd
```

Simple as that :)

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

```shell
$ mini_statsd
```

Like:

```shell
$ 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](https://gist.github.com/IgorMarques/079b08c3bbb13e8d896151a192262e8b)