From: Willy Tarreau Date: Mon, 26 May 2025 07:36:23 +0000 (+0200) Subject: DOC: config: fix alphabetical ordering of internal sample fetch functions X-Git-Tag: v3.2.0~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=083708daf852f362b42524b5c510e1ae6196c39f;p=thirdparty%2Fhaproxy.git DOC: config: fix alphabetical ordering of internal sample fetch functions Some misordering has been accumulating over time, making some of them hard to spot. Also "uptime" was not indexed. --- diff --git a/doc/configuration.txt b/doc/configuration.txt index ff1762e79..112134390 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -21726,8 +21726,8 @@ Summary of sample fetch methods in this section and their respective types: keyword output type -------------------------------------------------+------------- -act_conn integer acl([!][,...]) boolean +act_conn integer always_false boolean always_true boolean avg_queue([]) integer @@ -21757,9 +21757,9 @@ lat_ns_avg integer lat_ns_tot integer meth() method nbsrv([]) integer +pid integer prio_class integer prio_offset integer -pid integer proc integer queue([]) integer quic_enabled boolean @@ -21767,9 +21767,9 @@ rand([]) integer srv_conn([/]) integer srv_conn_free([/]) integer srv_is_up([/]) boolean +srv_iweight([/]) integer srv_queue([/]) integer srv_sess_rate([/]) integer -srv_iweight([/]) integer srv_uweight([/]) integer srv_weight([/]) integer stopping boolean @@ -21780,6 +21780,7 @@ term_events string thread integer txn.id32 integer txn.sess_term_state string +uptime integer uuid([]) string var([,]) undefined wait_end boolean @@ -21788,9 +21789,6 @@ waiting_entity string Detailed list: -act_conn : integer - Returns the total number of active concurrent connections on the process. - acl([!][,...]) : boolean Returns true if the evaluation of all the named ACL(s) is true, otherwise returns false. Up to 12 ACLs may be provided, each delimited by comma. Each @@ -21800,6 +21798,9 @@ acl([!][,...]) : boolean ACLs, such as whether an ACL which uses a http request sample is used in response context. This behavior may be changed in the future. +act_conn : integer + Returns the total number of active concurrent connections on the process. + always_false : boolean Always returns the boolean "false" value. It may be used with ACLs as a temporary replacement for another one when adjusting configurations. @@ -22129,6 +22130,10 @@ nbsrv([]) : integer to handle some load. It is useful to report a failure when combined with "monitor fail". +pid : integer + Return the PID of the current process. In most cases this is the PID of the + worker process. + prio_class : integer Returns the priority class of the current stream for http mode or connection for tcp mode. The value will be that set by the last call to "http-request @@ -22140,10 +22145,6 @@ prio_offset : integer "http-request set-priority-offset" or "tcp-request content set-priority-offset". -pid : integer - Return the PID of the current process. In most cases this is the PID of the - worker process. - proc : integer Always returns value 1 (historically it would return the calling process number). @@ -22200,6 +22201,11 @@ srv_is_up([/]) : boolean using dummy servers as boolean variables that can be enabled or disabled from the CLI, so that rules depending on those ACLs can be tweaked in realtime. +srv_iweight([/]) : integer + Returns an integer corresponding to the server's initial weight. If + is omitted, then the server is looked up in the current backend. See also + "srv_weight" and "srv_uweight". + srv_queue([/]) : integer Returns an integer value corresponding to the number of connections currently pending in the designated server's queue. If is omitted, then the @@ -22223,11 +22229,6 @@ srv_sess_rate([/]) : integer acl srv2_full srv_sess_rate(be1/srv2) gt 50 use_backend be2 if srv1_full or srv2_full -srv_iweight([/]) : integer - Returns an integer corresponding to the server's initial weight. If - is omitted, then the server is looked up in the current backend. See also - "srv_weight" and "srv_uweight". - srv_uweight([/]) : integer Returns an integer corresponding to the user visible server's weight. If is omitted, then the server is looked up in the current