]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: Add dns as an available domain to show stat
authorDaniel Corbett <dcorbett@haproxy.com>
Sun, 1 Nov 2020 15:54:17 +0000 (10:54 -0500)
committerWilly Tarreau <w@1wt.eu>
Thu, 5 Nov 2020 15:46:24 +0000 (16:46 +0100)
Within management.txt, proxy was listed as the only available option. "dns"
is now supported so let's add that. This change also updates the command to list
the available options <dns|proxy> for "domain" as previously it only specified
<domain>, which could be confusing as a user may think this field accepts
dynamic options when it actually requires a specific keyword.

doc/management.txt

index 308e725d46603d1168fd6d4a750361dbc9c1a575..1ca5f7bef22879b86032099b1af15a36f8705f98 100644 (file)
@@ -2438,10 +2438,10 @@ show sess <id>
   The special id "all" dumps the states of all sessions, which must be avoided
   as much as possible as it is highly CPU intensive and can take a lot of time.
 
-show stat [domain <domain>] [{<iid>|<proxy>} <type> <sid>] [typed|json] \
+show stat [domain <dns|proxy>] [{<iid>|<proxy>} <type> <sid>] [typed|json] \
           [desc] [up|no-maint]
-  Dump statistics. The domain is used to select which statistics to print; only
-  proxy is available for now. By default, the CSV format is used; you can
+  Dump statistics. The domain is used to select which statistics to print; dns
+  and proxy are available for now. By default, the CSV format is used; you can
   activate the extended typed output format described in the section above if
   "typed" is passed after the other arguments; or in JSON if "json" is passed
   after the other arguments. By passing <id>, <type> and <sid>, it is possible