项目作者: ylogx

项目描述 :
Redis Queue Monitor and Hipchat Logger
高级语言: Python
项目地址: git://github.com/ylogx/qmon.git
创建时间: 2017-05-12T07:02:28Z
项目社区:https://github.com/ylogx/qmon

开源协议:GNU General Public License v3.0

下载


qmon - Redis Monitor

Join the chat at https://gitter.im/shubhamchaudhary/qmon

PyPI Version PyPI Monthly Downloads PyPI License GitHub tag GitHub release

Build Status Travis-CI Coverage Status Circle CI Requirements Status

GitHub issues Stories in Ready

QMon is a redis queue monitor

Installation

  1. pip3 install qmon

Usage:

  1. > export HIP_TOKEN=MyHipChatToken
  2. > qmon --host localhost --port 6379 --queue-name a_key_in_redis --room RoomInHipChat
  3. [qmon.monitor] [2017-05-12 12:36:45,248] INFO : Connecting to hipchat
  4. [qmon.monitor] [2017-05-12 12:36:47,292] INFO : a_key_in_redis queue status: 6. Items: 6. Last Notify: 0
  5. [qmon.monitor] [2017-05-12 12:37:07,754] INFO : a_key_in_redis queue status: 11. Items: 11. Last Notify: 0
  6. [qmon.monitor] [2017-05-12 12:37:20,237] INFO : a_key_in_redis queue status: 16. Items: 16. Last Notify: 0
  7. [qmon.monitor] [2017-05-12 12:37:38,235] INFO : a_key_in_redis queue status: 10. Items: 10. Last Notify: 0

This is how it’ll appear in hipchat:

hipchat_window

Find us: