ringoteam/phpredmon-bundle

Redis monitoring bundle

Installs: 6

Dependents: 0

Stars: 1

Watchers: 4

Forks: 1

Language: PHP

v1.0-alpha 2013-05-05 19:14 UTC

README

Redis monitoring Bundle

Scrutinizer Quality Score

Installation

Using composer

{
    "require": {
        "ringoteam/phpredmon-bundle": "dev-master"
    }
}

Dependencies

  • knplabs/knp-gaufrette-bundle
  • predis/predis

Configuration

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

Usage

TODO

Log command

TODO