logging upstream server addr and timings
    Igor Sysoev 
    is at rambler-co.ru
       
    Tue Sep 25 08:43:10 MSD 2007
    
    
  
On Mon, Sep 24, 2007 at 04:11:16PM -0400, Calvin Hendryx-Parker wrote:
> I would like to log the response times for each of my upstream servers 
> in a load balanced configuration.  Currently the upstream variables for 
> the reponse time work, but I can't get the address of the upstream 
> server that was used for the request.
> 
> I have tried to use $upstream_http_server_addr and $proxy_host, but the 
> first one doesn't return a value and the second one returns the name of 
> the upstream cluser and not a specific host that handled the request.
> 
> I'm using nginx version: nginx/0.5.30.  Is this a bug or am I using the 
> wrong variable?
$upstream_addr and $upstream_status
-- 
Igor Sysoev
http://sysoev.ru/en/
    
    
More information about the nginx
mailing list