|
NAMEPlack::Middleware::MonocerosStatus - show Monoceros connection manager status SYNOPSIS use Plack::Builder;
builder {
enable "MonocerosStatus",
path => '/monoceros-status',
allow => [ '127.0.0.1', '192.168.0.0/16' ],
$app;
};
% curl http://server:port/monoceros-status
Total: 100
Waiting: 98
Processing: 2
DESCRIPTIONPlack::Middleware::MonocerosStatus is a middleware to display Monoceros manager status. Waiting - a number of keepalive socket, waiting to next request Processing - a number of request arrived socket, sockets are queued or processed by worker Total - Waiting + Processing CONFIGURATIONSAUTHORMasahiro Nagano <kazeburo {at} gmail.com> SEE ALSOMonoceros LICENSEThis library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|