From: Marc Fournier Date: Fri, 29 Aug 2014 15:07:18 +0000 (+0200) Subject: improve CollectInternalStats's documentation X-Git-Tag: collectd-5.5.0~204^2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=be0a3a6eeb3655d5559abe768c4027889d1ae979;p=collectd.git improve CollectInternalStats's documentation --- diff --git a/src/collectd.conf.in b/src/collectd.conf.in index 0875d50e..7c9860f0 100644 --- a/src/collectd.conf.in +++ b/src/collectd.conf.in @@ -25,7 +25,8 @@ #AutoLoadPlugin false #----------------------------------------------------------------------------# -# When enabled, some internal statistics are recorded as values # +# When enabled, internal statistics are collected, using "collectd" as the # +# plugin name. # # Disabled by default. # #----------------------------------------------------------------------------# #CollectInternalStats false diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 2f75c148..cabbb526 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -146,6 +146,18 @@ BPluginE...E> block acts as if it was immediately preceded by a B statement. B statements are still required for plugins that don't provide any configuration, e.g. the I. +=item B B|B + +When set to B, various statistics about the I daemon will be +collected, with "collectd" as the I. Defaults to B. + +The "write_queue" I reports the number of elements currently +queued and the number of elements dropped off the queue by the +B/B mechanism. + +The "cache" I reports the number of elements in the value list +cache (the cache you can interact with using L). + =item B I [I] If I points to a file, includes that file. If I points to a @@ -236,11 +248,6 @@ on the I information contained in each value list. This is used in the I configuration to dispatch notifications about missing values, see L for details. -=item B I - -Some internal statistics can be recorded to monitor Collectd itself. -Default value : false. - =item B I Number of threads to start for reading plugins. The default value is B<5>, but @@ -281,8 +288,11 @@ If B is set to non-zero and B is unset, the latter will default to half of B. If you do not want to randomly drop values when the queue size is between -I and I, set If B and -B to same value. +I and I, set B and B +to the same value. + +Enabling the B option is of great help to figure out the +values to set B and B to. =item B I