-
-
22 Sep 2021 07:52:18 UTC
- Distribution: Monoceros
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (5)
- Testers (62 / 9 / 0)
- Kwalitee
Bus factor: 1- 66.35% Coverage
- License: perl_5
- Perl: v5.8.5
- Activity
24 month- Tools
- Download (23.31KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 2 contributors-
Michael Kröll
-
Syohei YOSHIDA
NAME
Plack::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
DESCRIPTION
Plack::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
CONFIGURATIONS
- path
-
path => '/server-status',
location that displays server status
- allow
-
allow => '127.0.0.1' allow => ['192.168.0.0/16', '10.0.0.0/8']
host based access control of a page of server status. supports IPv6 address.
AUTHOR
Masahiro Nagano <kazeburo {at} gmail.com>
SEE ALSO
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install Monoceros, copy and paste the appropriate command in to your terminal.
cpanm Monoceros
perl -MCPAN -e shell install Monoceros
For more information on module installation, please visit the detailed CPAN module installation guide.