Collectd is a system statistics collection daemon.
Erlang-collectd is a simple client wich talk to collectd daemon (in UDP).
./rebar compile
./rebar test
Install (with brew, apt-get, rpm ...) collectd, configure it as a network server and start it.
Launch example.erl .
You can use rrdtool, kcollectd, visage or any rrd graphing frontend.
Understand difference between Gauge and Counter. Have a look on example.erl
A module and a patch to log ejabberd activity is in ejabberd folder.
A patch is provided for RabbitMQ.