X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd.conf.pod;h=49dfe1936efcc294df85a7763141d39c6124cb12;hb=5444a566682f35349b0c89643ba09f549e5b764b;hp=7b9a5598b77c65fae169edc835295c0d2801b15a;hpb=f47430fa93cc9fd374dbb998a4b68c3e3f454c95;p=collectd.git diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 7b9a5598..49dfe193 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -1072,13 +1072,15 @@ is set to B, B blocks are optional. =head2 Plugin C -The B uses B (L) and -B (L) to retrieve JSON data -via cURL. This can be used to collect values from CouchDB documents (which are -stored JSON notation), for example. - -The following example will collect several values from the built-in `_stats' -runtime statistics module of CouchDB +The B collects values from JSON data to be parsed by +B (L) retrieved via +either B (L) or read directly from a +unix socket. The former can be used, for example, to collect values +from CouchDB documents (which are stored JSON notation), and the +latter to collect values from a uWSGI stats socket. + +The following example will collect several values from the built-in +`_stats' runtime statistics module of CouchDB (L). @@ -1098,8 +1100,23 @@ runtime statistics module of CouchDB -In the B block, there may be one or more B blocks, each defining -a URL to be fetched via HTTP (using libcurl) and one or more B blocks. +This example will collect data directly from a uWSGI Stats Server +socket. + + + + Instance "uwsgi" + + Type "http_requests" + + + + +In the B block, there may be one or more B blocks, each +defining a URL to be fetched via HTTP (using libcurl) or B +blocks defining a unix socket to read JSON from directly. Each of +these blocks may have one or more B blocks. + The B string argument must be in a path format, which is used to collect a value from a JSON map object. If a path element of B is the I<*>Ewildcard, the values for all keys will be collectd. @@ -5222,6 +5239,55 @@ Since the configuration of the C is a little more complicated than other plugins, its documentation has been moved to an own manpage, L. Please see there for details. +=head2 Plugin C + +The I listens to a UDP socket, reads "events" in the statsd +protocol and dispatches rates or other aggregates of these numbers +periodically. + +The plugin implements the I, I, I and I types which +are dispatched as the I types C, C, C and +C respectively. + +The following configuration options are valid: + +=over 4 + +=item B I + +Bind to the hostname / address I. By default, the plugin will bind to the +"any" address, i.e. accept packets sent to any of the hosts addresses. + +=item B I + +UDP port to listen to. This can be either a service name or a port number. +Defaults to C<8125>. + +=item B B|B + +=item B B|B + +=item B B|B + +=item B B|B + +These options control what happens if metrics are not updated in an interval. +If set to B, the default, metrics are dispatched unchanged, i.e. the +rate of counters and size of sets will be zero, timers report C and gauges +are unchanged. If set to B, the such metrics are not dispatched and +removed from the internal cache. + +=item B I + +Calculate and dispatch the configured percentile, i.e. compute the latency, so +that I of all reported timers are smaller than or equal to the +computed latency. This is useful for cutting off the long tail latency, as it's +often done in I (SLAs). + +If not specified, no percentile is calculated / dispatched. + +=back + =head2 Plugin C The I collects information about used and available swap space. On