Mambocollector – MySQL -> statsd data collector

We love graphs.

Really love them. I think everyone likes graphs to collect data about the current state of their system, and needless to say, why.

Of course, sometimes it is painful to create graphs, but graphite could make this process easier, so we use them.

The graphite ecosystem makes data collection simple, when you send some data to statsd via simple UDP packets it will put them to a carbon database, and graphite will draw the lines. The only thing that can make this hard, is the question of ‘How can I collect my data to send?’

Well, I’ve checked many ways to solve this problem, but I didn’t find anything simple enough.

So, I wrote a daemon called ‘Mambocollector’ to deal with this problem. It is far from perfect, it has bugs, and I am not sure if it isn’t used too many resources when we collect a too many data, but it is working fine for my current needs. The project can be found on GitHub, feel free to use it, or participate in that.
UPDATE: This version was bugging badly, I rewrote it in Go.