root/src/modules/statsd.xml

Revision 76bc8e8991f5ed9e8336b0130c92de4d48def93c, 1.4 kB (checked in by Theo Schlossnagle <jesus@omniti.com>, 2 years ago)

fix ntp default port in docs and do sweeping docs update

  • Property mode set to 100644
Line 
1 <module>
2   <name>statsd</name>
3   <description><para>The statsd module provides a simple way to push data into reconnoiter from other applications.  See https://github.com/etsy/statsd for more details.</para></description>
4   <loader>C</loader>
5   <image>statsd.so</image>
6   <moduleconfig>
7     <parameter name="port"
8                required="optional"
9                default="8125"
10                allowed="^\d+$">The port on which to listen for statsd packets.</parameter>
11     <parameter name="packets_per_cycle"
12                required="optional"
13                default="100"
14                allowed="^\d+$">The number of packets to recv() during each eventer cycle.</parameter>
15     <parameter name="check"
16                required="optional"
17                allowed="^[0-9a-fA-F]{4}(?:[0-9a-fA-F]{4}-){4}[0-9a-fA-F]{12}$">A specific check to which all statsd data will be delegated.</parameter>
18   </moduleconfig>
19   <examples>
20     <example>
21       <title>A sample statsd configuration.</title>
22       <programlisting><![CDATA[
23       <noit>
24         <modules>
25           <module image="statsd" name="statsd"/>
26         </modules>
27         <checks>
28           <check uuid="1b4e28ba-2fa1-11d2-893f-e9b761bde3fb" module="statsd"
29             target="127.0.0.1" period="60000" timeout="30000">
30             <config><port>8125</port></config>
31           </check>
32         </checks>
33       </noit>
34       ]]></programlisting>
35     </example>
36   </examples>
37 </module>
Note: See TracBrowser for help on using the browser.