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

https://github.com/joshnuss/blip

A fault-tolerant and concurrent StatsD server
https://github.com/joshnuss/blip

elixir statsd

Last synced: 11 months ago
JSON representation

A fault-tolerant and concurrent StatsD server

Awesome Lists containing this project

README

          

# Blip StatsD Server

A fault-tolerant and concurrent StatsD server that follows the [StatsD specification](https://github.com/etsy/statsd/blob/master/docs/metric_types.md)

![Supervision Tree](https://raw.githubusercontent.com/joshnuss/blip/master/supervision-tree.jpg)

## Installation

```
mix escript.install github joshnuss/blip
```

## Running

To run on port 2052

```
blip 2052
```

### Running on multiple ports

```
blip 2052 2053
```

## Testing

Send a single metric:

```
echo "requests:99|c" | nc -u -w0 127.0.0.1 2052
```

Send multiple metrics in one packet:

```
echo -e "withdrawal:2\ndeposit:3\n" | nc -u -w0 127.0.0.1 2052
```