Plack::Middleware::Debug::Redis::Keys - Redis keys debug panel
# inside your psgi app enable 'Debug', panels => [ [ 'Redis::Keys', server => 'redis.example.com:6379', db => 3 ], ];
Plack::Middleware::Debug::Redis::Keys extends Plack::Middleware::Debug by adding redis server keys debug panel. Panel displays available keys in the redis database and its type.
coy:knows:pseudonoise:codes STRING (9000) six:slimy:snails:sailed:silently LIST (35) eleven:benevolent:elephants HASH (17) two:tried:and:true:tridents SET (101) tie:twine:to:three:tree:twigs ZSET (66)
Also in brackets displays key-type specific data. For STRING keys it's key length in bytes; for HASH - number of fields in a hash; for LIST - length of a list (number of items); for SET and ZSET - number of members in a set.
This panel might be added several times for different databases. Just add it again to Plack Debug panels and provide another database number.
Hostname and port of redis server instance. Default value is 'localhost:6379'.
Password to authenticate on redis server instance in case of enabled redis' option requirepass.
Redis database number to get statistic for keys. Default value is 0.
Please report any bugs or feature requests through the web interface at https://github.com/Wu-Wu/Plack-Middleware-Debug-Redis/issues
Anton Gerasimov, <email@example.com>
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.