Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/igormarques/mini-statsd
- Owner: IgorMarques
- License: mit
- Created: 2016-05-15T23:19:32.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-02T15:40:59.000Z (about 8 years ago)
- Last Synced: 2024-04-26T06:21:32.727Z (9 months ago)
- Language: Ruby
- Size: 8.79 KB
- Stars: 30
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)