changeset 1481:f29398a167d0

Documented the upstream_connect_time variable.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 19 May 2015 10:48:28 +0300
parents d1e1a8d34bce
children f595fb427509
files xml/en/docs/http/ngx_http_upstream_module.xml xml/ru/docs/http/ngx_http_upstream_module.xml
diffstat 2 files changed, 24 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_upstream_module.xml
+++ b/xml/en/docs/http/ngx_http_upstream_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_upstream_module"
         link="/en/docs/http/ngx_http_upstream_module.html"
         lang="en"
-        rev="37">
+        rev="38">
 
 <section id="summary">
 
@@ -1110,6 +1110,17 @@ The status can be either “<literal>MISS</literal>”,
 “<literal>REVALIDATED</literal>”, or “<literal>HIT</literal>”.
 </tag-desc>
 
+<tag-name id="var_upstream_connect_time"><var>$upstream_connect_time</var>
+</tag-name>
+<tag-desc>
+keeps time spent on establishing a connection with the upstream server (1.9.1);
+the time is kept in seconds with millisecond resolution.
+In case of SSL, includes time spent on handshake.
+Times of several connections
+are separated by commas and colons like addresses in the
+<link id="var_upstream_addr">$upstream_addr</link> variable.
+</tag-desc>
+
 <tag-name id="var_upstream_cookie_"><var>$upstream_cookie_</var><value>name</value>
 </tag-name>
 <tag-desc>
--- a/xml/ru/docs/http/ngx_http_upstream_module.xml
+++ b/xml/ru/docs/http/ngx_http_upstream_module.xml
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_upstream_module"
         link="/ru/docs/http/ngx_http_upstream_module.html"
         lang="ru"
-        rev="37">
+        rev="38">
 
 <section id="summary">
 
@@ -1114,6 +1114,17 @@ upstream backend {
 “<literal>REVALIDATED</literal>” или “<literal>HIT</literal>”.
 </tag-desc>
 
+<tag-name id="var_upstream_connect_time"><var>$upstream_connect_time</var>
+</tag-name>
+<tag-desc>
+хранит время, затраченное на установление соединения с сервером группы (1.9.1);
+время хранится в секундах с точностью до миллисекунд.
+В случае SSL, включает в себя время, потраченное на handshake.
+Времена нескольких соединений
+разделяются запятыми и двоеточиями подобно адресам в переменной
+<link id="var_upstream_addr">$upstream_addr</link>.
+</tag-desc>
+
 <tag-name id="var_upstream_cookie_"><var>$upstream_cookie_</var><value>имя</value>
 </tag-name>
 <tag-desc>