项目作者: abdatta

项目描述 :
A reactive UI for bull queue with sockets for realtime updates.
高级语言: TypeScript
项目地址: git://github.com/abdatta/bulls-eye.git
创建时间: 2020-04-28T19:30:03Z
项目社区:https://github.com/abdatta/bulls-eye

开源协议:

下载


" class="reference-link">Bulls Eye logo

A reactive admin panel for monitoring bull queues, using sockets for realtime updates!

Installation

  1. npm i -g @abdatta/bulls-eye

Create a json file (say config.json) of the following format having your bull queue configarations.

  1. /* config.json */
  2. {
  3. "<some-host-name>": [
  4. {
  5. "name": "<queue-name>",
  6. "url": "<redis-url>(optional)",
  7. "options": { <bull-queue-options> }
  8. },
  9. {
  10. ...
  11. }
  12. ],
  13. "<another-host-name>": [
  14. ...
  15. ]
  16. }

Here:

  • <some-host-name> can be any string, helpful for namespacing same named queues from different machines
  • <queue-name>, <redis-url> and {<bull-queue-options>} are the same params that you provide to bull when creating your queue using: new bull(name, url?, options?)

Now simply open the terminal in the directory where your config.json file is and execute:

  1. bulls-eye --config config.json --port 4869

That’s it! Now go to localhost:4869 and you can see your jobs and queues! :smile:

Screenshots

  • List of jobs in a queue
    SS1

  • Details of a particular job
    SS2