April 13, 2010 02:00PM
On Apr 12, Maxim Dounin wrote:
>Hello!
>
>On Mon, Apr 12, 2010 at 10:18:33PM +0530, Arvind Jayaprakash wrote:
>
>> This module provides a handler called upstream_status that can be used
>> as follows:
>>
>> location /foo {
>> upstream_status;
>> }
>>
>>
>> It reports all the upstream blocks configured for this server. For
>> upstreams managed using the round robin (default upstream), it lists all
>> the backends configured in a block and indicates the current status
>> (up/down)
>>
>> http://github.com/anomalizer/ngx_upstream_status
>>
>>
>> Improvements are welcome.
>
>Most important improvement is to document that it actually shows
>configuration and status of upstreams in one particular worker
>process which status request happened to hit.

Done. I did not realize this until pointed it out but it now seems
obvious.

>And, uhm, number of allocs you use to produce simple answer is
>really outstanding. ;)

I completely hated it during the development. If there is an equivalent
of asprinf() in the nginx API, or a better way, do let me know.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Announcing the upstream status module

anomalizer April 12, 2010 12:56PM

Re: Announcing the upstream status module

Maxim Dounin April 12, 2010 02:28PM

Re: Announcing the upstream status module

Weibin Yao April 12, 2010 10:16PM

Re: Announcing the upstream status module

Maxim Dounin April 13, 2010 05:34AM

Re: Announcing the upstream status module

anomalizer April 13, 2010 02:00PM

Re: Announcing the upstream status module

Maxim Dounin April 13, 2010 04:30PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 250
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready