<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Great stuff! Very useful functions.</div><div><br></div>Some notes:<div>- The documentation needs to be in xml format, not a text file</div><div><br></div><div>- we already have to modules handling one set of counters/stats objects in the core. Maybe you should look into</div><div>  using those counters instead of adding a new set. These counters are also exposed in kamcmd and some in</div><div>  snmpagent automatically, so you gain a lot by using them.</div><div><br></div><div>- I wonder if this module should be focused on the connection to statsd and the timing functions</div><div>  should be somewhere else. I can't point to where now... </div><div><br></div><div>/O</div><div><br><div><div>On 21 Nov 2014, at 21:26, Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
  
    <meta content="text/html; charset=windows-1252" http-equiv="Content-Type">
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    thanks for the contribution, we will grant you git access to push
    the module in the official repository. I will send you another email
    asking the afferent details.<br>
    <br>
    Meanwhile I will do a bit of a review just in case some exiting
    parts worth to be re-used.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 19/11/14 21:08, Eloy Coto Pereiro
      wrote:<br>
    </div>
    <blockquote cite="mid:CAFZDoUAu_z8HOvr+YS9b78MCpVZJ4jaqVUT4w_HA17TpM+eZVQ@mail.gmail.com" type="cite">
      <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 moz-do-not-send="true" href="https://github.com/etsy/statsd/">https://github.com/etsy/statsd/</a>
[1] <a moz-do-not-send="true" href="http://graphite.wikidot.com/">http://graphite.wikidot.com/</a>
[2] <a moz-do-not-send="true" 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 moz-do-not-send="true" href="https://github.com/eloycoto/statsd">https://github.com/eloycoto/statsd</a>
[4] <a moz-do-not-send="true" href="http://www.foehn.co.uk/">http://www.foehn.co.uk</a>
[5] <a moz-do-not-send="true" href="http://grafana.org/">http://grafana.org</a>
[6] <a moz-do-not-send="true" href="http://play.grafana.org/#/dashboard/db/new-features-in-v19">http://play.grafana.org/#/dashboard/db/new-features-in-v19</a>
[7] <a moz-do-not-send="true" href="https://github.com/BrightcoveOS/Diamond">https://github.com/BrightcoveOS/Diamond</a></pre>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
sr-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
  </div>

_______________________________________________<br>sr-dev mailing list<br><a href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a><br>http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev<br></blockquote></div><br></div></body></html>