Plack::Middleware::Debug::Redis - Extend Plack::Middleware::Debug with Redis panels
version 0.02
# inside your psgi app use Plack::Builder; my $app = sub {[ 200, [ 'Content-Type' => 'text/html' ], [ '<html><body>OK</body></html>' ] ]}; my $redis_host = 'redi.example.com:6379'; builder { mount '/' => builder { enable 'Debug', panels => [ [ 'Redis::Info', server => $redis_host ], [ 'Redis::Keys', server => $redis_host, db => 3 ], ]; $app; }; };
This distribution extends Plack::Middleware::Debug with some Redis panels. At the moment, the following panels available:
Diplay panel with generic Redis server information which is available by the command INFO. See Plack::Middleware::Debug::Redis::Info for additional information.
Diplay panel with keys Redis server information. See Plack::Middleware::Debug::Redis::Keys for additional information.
Please report any bugs or feature requests through the web interface at https://github.com/Wu-Wu/Plack-Middleware-Debug-Redis/issues
Plack::Middleware::Debug::Redis::Info
Plack::Middleware::Debug::Redis::Keys
Plack::Middleware::Debug
Redis
Anton Gerasimov, <chim@cpan.org>
Copyright (C) 2013 by Anton Gerasimov
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Plack::Middleware::Debug::Redis, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack::Middleware::Debug::Redis
CPAN shell
perl -MCPAN -e shell install Plack::Middleware::Debug::Redis
For more information on module installation, please visit the detailed CPAN module installation guide.