]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: minor fix on {sc,src}_kbytes_{in,out}
authorWilly Tarreau <w@1wt.eu>
Thu, 10 Jul 2014 13:29:24 +0000 (15:29 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 10 Jul 2014 14:43:44 +0000 (16:43 +0200)
These ones report total amount of bytes, not byte rates.
This fix should be backported into 1.5 which has the same error.

doc/configuration.txt

index a65474ba190c4cfe7708ccd501a1f1c4af9914b7..215a35feff9c2798cc8ecc1ca80c64f22ecf39d4 100644 (file)
@@ -10457,19 +10457,17 @@ sc_kbytes_in(<ctr>[,<table>]) : integer
 sc0_kbytes_in([<table>]) : integer
 sc1_kbytes_in([<table>]) : integer
 sc2_kbytes_in([<table>]) : integer
-  Returns the amount of client-to-server data from the currently tracked
-  counters, measured in kilobytes over the period configured in the table. The
-  test is currently performed on 32-bit integers, which limits values to 4
-  terabytes. See also src_kbytes_in.
+  Returns the total amount of client-to-server data from the currently tracked
+  counters, measured in kilobytes. The test is currently performed on 32-bit
+  integers, which limits values to 4 terabytes. See also src_kbytes_in.
 
 sc_kbytes_out(<ctr>[,<table>]) : integer
 sc0_kbytes_out([<table>]) : integer
 sc1_kbytes_out([<table>]) : integer
 sc2_kbytes_out([<table>]) : integer
-  Returns the amount of server-to-client data from the currently tracked
-  counters, measured in kilobytes over the period configured in the table. The
-  test is currently performed on 32-bit integers, which limits values to 4
-  terabytes. See also src_kbytes_out.
+  Returns the total amount of server-to-client data from the currently tracked
+  counters, measured in kilobytes. The test is currently performed on 32-bit
+  integers, which limits values to 4 terabytes. See also src_kbytes_out.
 
 sc_sess_cnt(<ctr>[,<table>]) : integer
 sc0_sess_cnt([<table>]) : integer
@@ -10633,19 +10631,18 @@ src_inc_gpc0([<table>]) : integer
         tcp-request connection reject if abuse kill
 
 src_kbytes_in([<table>]) : integer
-  Returns the amount of data received from the incoming connection's source
-  address in the current proxy's stick-table or in the designated stick-table,
-  measured in kilobytes over the period configured in the table. If the address
-  is not found, zero is returned. The test is currently performed on 32-bit
-  integers, which limits values to 4 terabytes. See also
-  sc/sc0/sc1/sc2_kbytes_in.
+  Returns the total amount of data received from the incoming connection's
+  source address in the current proxy's stick-table or in the designated
+  stick-table, measured in kilobytes. If the address is not found, zero is
+  returned. The test is currently performed on 32-bit integers, which limits
+  values to 4 terabytes. See also sc/sc0/sc1/sc2_kbytes_in.
 
 src_kbytes_out([<table>]) : integer
-  Returns the amount of data sent to the incoming connection's source address
-  in the current proxy's stick-table or in the designated stick-table, measured
-  in kilobytes over the period configured in the table. If the address is not
-  found, zero is returned. The test is currently performed on 32-bit integers,
-  which limits values to 4 terabytes. See also sc/sc0/sc1/sc2_kbytes_out.
+  Returns the total amount of data sent to the incoming connection's source
+  address in the current proxy's stick-table or in the designated stick-table,
+  measured in kilobytes. If the address is not found, zero is returned. The
+  test is currently performed on 32-bit integers, which limits values to 4
+  terabytes. See also sc/sc0/sc1/sc2_kbytes_out.
 
 src_port : integer
   Returns an integer value corresponding to the TCP source port of the