NAME
Plack::Middleware::Debug::Redis::Info - Redis info debug panel
VERSION
version 0.03
SYNOPSIS
# inside your psgi app
enable 'Debug',
panels => [
[ 'Redis::Info', instance => 'redis.example.com:6379' ],
];
DESCRIPTION
Plack::Middleware::Debug::Redis::Info extends Plack::Middleware::Debug by adding redis server info debug panel. Panel displays data which available through INFO command issued in redis-cli. Before displaying info some tweaks were processed. Normally INFO command shows total and expires keys in one line such as
db0 => 'keys=167,expires=145',
db1 => 'keys=75,expires=0',
This module turn in to
db0_expires => '145',
db0_keys => '167',
db1_expires => '0',
db1_keys => '75',
METHODS
prepare_app
run
redis_connect
See Plack::Middleware::Debug::Redis
redis
See Plack::Middleware::Debug::Redis
flatten_db
Flatten some complex data structures got from redis' INFO command. At the moment this is keys' composition of the database.
BUGS
Please report any bugs or feature requests through the web interface at https://github.com/Wu-Wu/Plack-Middleware-Debug-Redis/issues
SEE ALSO
Plack::Middleware::Debug::Redis
AUTHOR
Anton Gerasimov <chim@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by Anton Gerasimov.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.