<div dir="ltr"><pre>Hi all Kamailio developers,

I would like to propose a new module that I've written recently, that provide native integration with statsd[0]/graphite[1].

The module provides the ability to send information to statsd (You can use InfluxDB too) with different kind of information. I wrote small post in my blog[2] and doc are in the repo [3]. 

The typical scenario for this module is for monitoring features into kamailio. For example: 
  - Monitor how long we need to reply a new request. 
  - Store how many errors send our providers. 
  - Check how long take one sqlquery. 
  - Check how many times are using the new feature
  
Nowadays we[4]are using kamailio-statsd and we track in simple dashboard[5][6] all information that we get from kamailio, and other software (Asterisk, Django Backend, Diamond[7]) and we have in simple click all the information that we want. 

The module doesn't have any special deps, it's a simple socket that connect to Graphite. For timing function I'm using avp to set init_time. 

I hope that this contribution could be useful for the community and I look forward to hearing your feedback, thoughts, suggestions.

Best regards,
Eloy Coto. 

[0] <a href="https://github.com/etsy/statsd/">https://github.com/etsy/statsd/</a>
[1] <a href="http://graphite.wikidot.com/">http://graphite.wikidot.com/</a>
[2] <a href="http://acalustra.com/kamailio-statsd-better-statistics-in-your-voip-platform.html">http://acalustra.com/kamailio-statsd-better-statistics-in-your-voip-platform.html</a>
[3] <a href="https://github.com/eloycoto/statsd">https://github.com/eloycoto/statsd</a>
[4] <a href="http://www.foehn.co.uk">http://www.foehn.co.uk</a>
[5] <a href="http://grafana.org">http://grafana.org</a>
[6] <a href="http://play.grafana.org/#/dashboard/db/new-features-in-v19">http://play.grafana.org/#/dashboard/db/new-features-in-v19</a>
[7] <a href="https://github.com/BrightcoveOS/Diamond">https://github.com/BrightcoveOS/Diamond</a></pre></div>