[master] 880bafc Correct timeout matching examples.

Lasse Karstensen lkarsten at varnish-software.com
Tue Mar 17 13:07:11 CET 2015


commit 880bafc9a2823fc6c78a32e62cd7362008006ad1
Author: Lasse Karstensen <lkarsten at varnish-software.com>
Date:   Tue Mar 17 13:06:43 2015 +0100

    Correct timeout matching examples.

diff --git a/doc/sphinx/reference/vsl-query.rst b/doc/sphinx/reference/vsl-query.rst
index 244a284..11b40bd 100644
--- a/doc/sphinx/reference/vsl-query.rst
+++ b/doc/sphinx/reference/vsl-query.rst
@@ -222,10 +222,14 @@ QUERY EXPRESSION EXAMPLES
 
     not ReqHeader:cookie
 
+* Client request where internal handling took more than 800ms.::
+
+    Timestamp:Process[2] > 0.8
+
 * Transaction group contains a request user-agent header that contains
   "iPod" and the request delivery time exceeds 1 second ::
 
-    ReqHeader:user-agent ~ "iPod" and ReqEnd[5] > 1.
+    ReqHeader:user-agent ~ "iPod" and Timestamp:Resp[2] > 1.
 
 * Transaction group contains a backend response status larger than or
   equal to 500 ::
@@ -240,7 +244,7 @@ QUERY EXPRESSION EXAMPLES
 * Transactions that have had backend failures or long delivery time on
   their ESI subrequests. (Assumes request grouping mode). ::
 
-    BerespStatus >= 500 or {2+}ReqEnd[5] > 1.
+    BerespStatus >= 500 or {2+}Timestamp:Process[2] > 1.
 
 HISTORY
 =======



More information about the varnish-commit mailing list