ringoteam/phpredmon-bundle

Redis monitoring bundle

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

This package is not auto-updated.

Last update: 2024-11-18 11:49:37 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