MINOR: sample: Add UUID-fetch
Adds the fetch uuid(int). It returns a UUID following the format of
version 4 in the RFC4122 standard.
New feature, but could be backported.
(cherry picked from commit 8a694b859cf98f8b0855b4aa5a50ebf64b501215)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
diff --git a/doc/configuration.txt b/doc/configuration.txt
index 2e11774..85e8c73 100644
--- a/doc/configuration.txt
+++ b/doc/configuration.txt
@@ -14770,6 +14770,11 @@
needed to take some routing decisions for example, or just for debugging
purposes. This random must not be used for security purposes.
+uuid([<version>]) : string
+ Returns a UUID following the RFC4122 standard. If the version is not
+ specified, a UUID version 4 (fully random) is returned.
+ Currently, only version 4 is supported.
+
srv_conn([<backend>/]<server>) : integer
Returns an integer value corresponding to the number of currently established
connections on the designated server, possibly including the connection being