Redis monitoring Bundle
{
"require": {
"ringoteam/phpredmon-bundle": "dev-master"
}
}
- knplabs/knp-gaufrette-bundle
- predis/predis
First, define a gaufrette adapter named "phpredmon" like this (to store data)
knp_gaufrette:
adapters:
phpredmon:
local:
directory: "%kernel.root_dir%/Resources/phpredmon/datas"
create: true
filesystems:
phpredmon:
adapter: phpredmon
alias: phpredmon_filesystem
Then you can define log retention :
ringo_php_redmon:
log:
days: 30
TODO
TODO