{"id":39,"date":"2014-03-17T20:37:31","date_gmt":"2014-03-17T19:37:31","guid":{"rendered":"http:\/\/188.166.119.205\/?p=39"},"modified":"2026-11-10T05:52:04","modified_gmt":"2026-11-10T05:52:04","slug":"mambocollector-mysql-statsd-data-collector","status":"publish","type":"post","link":"https:\/\/banyek.net\/?p=39&lang=en","title":{"rendered":"Mambocollector \u2013 MySQL -> statsd data collector"},"content":{"rendered":"<p>We love graphs.<\/p>\n<p>Really love them. I think everyone likes graphs to collect data about the current state of their system, and needless to say, why.<\/p>\n<p>Of course, sometimes it is painful to create graphs, but graphite could make this process easier, so we use them.<\/p>\n<p>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 \u2018How can I collect my data to send?\u2019<\/p>\n<p>Well, I\u2019ve checked many ways to solve this problem, but I didn\u2019t find anything simple enough.<\/p>\n<p>So, I wrote a daemon called \u2018Mambocollector\u2019 to deal with this problem. It is far from perfect, it has bugs, and I am not sure if it isn\u2019t 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 <a href=\"https:\/\/github.com\/banyek\/Mambo-collector\">GitHub<\/a>, feel free to use it, or participate in that.<br \/>\nUPDATE: This version was bugging badly, I rewrote it in Go.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[134],"tags":[144,126,224,226],"class_list":["post-39","post","type-post","status-publish","format-standard","hentry","category-tech-en","tag-mysql-en","tag-oldblog-en","tag-pyton-en","tag-statsd-en"],"_links":{"self":[{"href":"https:\/\/banyek.net\/index.php?rest_route=\/wp\/v2\/posts\/39","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/banyek.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/banyek.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/banyek.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/banyek.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=39"}],"version-history":[{"count":1,"href":"https:\/\/banyek.net\/index.php?rest_route=\/wp\/v2\/posts\/39\/revisions"}],"predecessor-version":[{"id":437,"href":"https:\/\/banyek.net\/index.php?rest_route=\/wp\/v2\/posts\/39\/revisions\/437"}],"wp:attachment":[{"href":"https:\/\/banyek.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=39"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/banyek.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=39"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/banyek.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=39"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}