X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd.conf.pod;h=27a2d0373b0fb868d9f8465f3d6e42449f3a2c6d;hb=e7081b07d5eceaff5293d87414e991b7bdcc209c;hp=058cd9357e08c94ffc7f993e3afc336abc4b9b56;hpb=5eb1fef6de7e0c8fb99e3d85063d96d7cc785f9b;p=collectd.git diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 058cd935..27a2d037 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -1451,6 +1451,92 @@ number. =back +=head2 cURL Statistics + +All cURL-based plugins support collection of generic, request-based +statistics. These are disabled by default and can be enabled selectively for +each page or URL queried from the curl, curl_json, or curl_xml plugins. See +the documentation of those plugins for specific information. This section +describes the available metrics that can be configured for each plugin. All +options are disabled by default. + +See L for more details. + +=over 4 + +=item B B + +Total time of the transfer, including name resolving, TCP connect, etc. + +=item B B + +Time it took from the start until name resolving was completed. + +=item B B + +Time it took from the start until the connect to the remote host (or proxy) +was completed. + +=item B B + +Time it took from the start until the SSL/SSH connect/handshake to the remote +host was completed. + +=item B B + +Time it took from the start until just before the transfer begins. + +=item B B + +Time it took from the start until the first byte was received. + +=item B B + +Time it took for all redirection steps include name lookup, connect, +pre-transfer and transfer before final transaction was started. + +=item B B + +The total number of redirections that were actually followed. + +=item B B + +The total amount of bytes that were uploaded. + +=item B B + +The total amount of bytes that were downloaded. + +=item B B + +The average download speed that curl measured for the complete download. + +=item B B + +The average upload speed that curl measured for the complete upload. + +=item B B + +The total size of all the headers received. + +=item B B + +The total size of the issued requests. + +=item B B + +The content-length of the download. + +=item B B + +The specified size of the upload. + +=item B B + +The number of new connections that were created to achieve the transfer. + +=back + =head2 Plugin C The curl plugin uses the B (L) to read web pages @@ -1551,11 +1637,21 @@ Beware that requests will get aborted if they take too long to complete. Adjust B accordingly if you expect B to report such slow requests. +This option is similar to enabling the B statistic but it's +measured by collectd instead of cURL. + =item B B|B Measure response code for the request. If this setting is enabled, B blocks (see below) are optional. Disabled by default. +=item BStatisticsE> + +One B block can be used to specify cURL statistics to be collected +for each request to the remote web site. See the section "cURL Statistics" +above for details. If this setting is enabled, B blocks (see below) are +optional. + =item BMatchE> One or more B blocks that define how to match information in the data @@ -1668,6 +1764,12 @@ URL. By default the global B setting will be used. These options behave exactly equivalent to the appropriate options of the I plugin. Please see there for a detailed description. +=item BStatisticsE> + +One B block can be used to specify cURL statistics to be collected +for each request to the remote URL. See the section "cURL Statistics" above +for details. + =back The following options are valid within B blocks: @@ -1770,6 +1872,12 @@ Examples: These options behave exactly equivalent to the appropriate options of the I. Please see there for a detailed description. +=item BStatisticsE> + +One B block can be used to specify cURL statistics to be collected +for each request to the remote URL. See the section "cURL Statistics" above +for details. + =item EB IE Within each B block, there must be one or more B blocks. Each