RedisMonitor
Installation
Execute:
$ gem install redis_monitor
Usage
$ redis_monitor --http-port http_port --host redis-host --port redis-port
Then browse http://localhost:http_port
--editable or --not-editable can be use to indicate if the user should be able to edit the database content. --credentials user:password if only users with credentials can access the application.
If no database config is specified a sqlite3 database will be created inside the gem. To define database configuration you can use --database-adapter, --database-host, --database-port, --database-name
For example:
$ redis_monitor --database-adapter mysql2 --database-name redis_monitor --database-host localhost --database-port 3306
For more information about the parameters:
$ redis_monitor --help
You can define tasks in 'Task' tab and they will be running in background. There is two type of task availables at the moment:
Watch key, it will watch key introduced in 'trigger' field and it will create notifications if the value change.
Watch query, it will watch the query introduced in 'trigger' field and in the result of the query changes it will create a notification. Be careful with this one, don't watch queries too generic because it can affect to the performance of your database.
Screenshots
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Please write meaningful test, if you need to execute them:
$ rake spec