Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Plack::Middleware::MonUseroContributed PePlack::Middleware::MonocerosStatus(3)

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
       Monoceros

LICENSE
       This library is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself.

perl v5.32.0			  2020-08Plack::Middleware::MonocerosStatus(3)

NAME | SYNOPSIS | DESCRIPTION | CONFIGURATIONS | AUTHOR | SEE ALSO | LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Plack::Middleware::MonocerosStatus&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help