Redis Monitoring Server
It’s been quite some time since my last post – but as I decided recently to refresh the sites template I thought I would celebrate with a new post on a recent release I made.
Redis Monitoring Server is a small python server which monitors and logs one or more redis instances, the server can then be queried in a number of ways to retrieve the commands run on the observed instances
The requirement came from the need to perform automated, external tests on a number of different applications, all of which are written in different languages. When testing the applications it is required to assert the commands being run on the server. This necessitated the stand alone server, for the queryable interface to the server I chose to use the excellent ØMQ, this enables anyone to communicate with the server rapidly without the need for redundent boilerplate (or me writing specific)
See below for a couple of examples of querying the monitoring server:
1 2 3 4 5 6 7 |
|
1 2 3 4 5 6 7 |
|
Even in PHP!
1 2 3 4 5 6 |
|
I’ve included a very basic python interface wrapper for the tool, mainly as means of an example, which i’m currently using in a number of different projects
It can be used in the following way:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
|
For more information on the tool checkout the GitHub Page
/Matt