Erlang stats aggregation app that periodically flushes data to graphite