X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd.conf.pod;h=49dfe1936efcc294df85a7763141d39c6124cb12;hb=5444a566682f35349b0c89643ba09f549e5b764b;hp=1b73c417d9ebfc54211eefc252116d733a0b9c96;hpb=ba0be16485d017e2060bc3a1fef2cb0587a5336d;p=collectd.git diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 1b73c417..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.