Statistics collection and reporting tool
C++ JavaScript PHP C Go
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ccollector
cppcollector
frontend
gocollector
libuvcollector
nodecollector
.gitignore
.gitmodules
README.md
TODO.md
config.hostname.js
config.js
reporter.js
statsapi.js
statsapi.php

README.md

stats

Simple UDP stats.

Config

Make sure to edit config.js

Data

You can send the following data to the collector:

Data can be a comma (,) seperated list of:

key:val
a data point (assumes each point is the total increment over a second)

key:inc|c
increment a counter by inc

key:d
delete key

Once a new key is received it will automatically be added to the database and you'll be able to see it's graphs.

Collectors

These are all the available collector implementations sorted by their efficiency. They were all tested on the same machine with the same workload (around 11000 UDP packets per second).

NameRSSCPU usage
C624KB1.2
C++1816KB1.4
libuv1796KB1.6
Go2896KB3.2
Nodejs34MB5.8