# HG changeset patch # User Ruslan Ermilov # Date 1382520977 -14400 # Node ID dd64ce140de23fd3ab9bba526fe15b0877509d94 # Parent 3056640d5022c54fa1b27f90b163a8a1c3831c1e Status: virtual servers, caches, load_timestamp. diff -r 3056640d5022 -r dd64ce140de2 xml/en/docs/http/ngx_http_status_module.xml --- a/xml/en/docs/http/ngx_http_status_module.xml Wed Oct 23 15:19:38 2013 +0400 +++ b/xml/en/docs/http/ngx_http_status_module.xml Wed Oct 23 13:36:17 2013 +0400 @@ -31,8 +31,12 @@ -location = /status { - status; +server { + location = /status { + status; + } + + status_zone example_server; } @@ -83,6 +87,21 @@ + + +zone + +server + + +Enables collection of virtual + +status information in the specified zone. +Several virtual servers may share the same zone. + + + + @@ -95,7 +114,7 @@ version Version of the provided data set. -The current version is 1. +The current version is 2. nginx_version @@ -105,7 +124,12 @@ address -An address of the server that accepted status request. +The address of the server that accepted status request. + + +load_timestamp + +Time of the last reload of configuration, in milliseconds since Epoch. timestamp @@ -157,6 +181,60 @@ +server_zones + +For each : + + +processing + +The number of +client requests that are currently being processed. + + +requests + +The total number of +client requests received from clients. + + +responses + + + +total + +The total number of +responses sent to clients. + + + +1xx, +2xx, +3xx, +4xx, +5xx + + +The number of responses with status codes 1xx, 2xx, 3xx, 4xx, and 5xx. + + + + + +received + +The total number of bytes received from clients. + + +sent + +The total number of bytes sent to clients. + + + + + upstreams For each @@ -176,7 +254,8 @@ backup -Boolean indicating if the server is a backup server. +A boolean value indicating whether the “cache loader” process is still loading +data from disk into the cache. weight @@ -238,12 +317,12 @@ sent -The total bytes sent to this server. +The total number of bytes sent to this server. received -The total bytes received from this server. +The total number of bytes received from this server. fails @@ -311,6 +390,87 @@ +caches + +For each cache (configured by + and the likes): + + +size + +The current size of the cache. + + +max_size + +The limit on the maximum size of the cache specified in the configuration. + + +cold + +Boolean indicating if “cache loader” is still loading data into the cache. + + + + hits, + stale, + updating + + + + +responses + +The total number of responses read from the cache (hits, or stale responses +due to +and the likes). + + +bytes + +The total number of bytes read from the cache. + + + + + + + miss, + expired, + bypass + + + + +responses + +The total number of responses not taken from the cache (misses, expires, or +bypasses due to + +and the likes). + + +bytes + +The total number of bytes read from the proxied server. + + +responses_written + +The total number of responses written to the cache. + + +bytes_written + +The total number of bytes written to the cache. + + + + + + + +