Giter Site home page Giter Site logo

sidekiq-monitor-tenant-extension's Introduction

Dependency Status

Build Status sidekiq patch already merged to fix build failing status. Later today as you can see at mperham'scomment

Sidekiq Monitor Extension

We have many services and almost all of them are using sidekiq for background jobs.
How to monitor every sidekiq instance in one place ?

This extension will enable you to monitor all sidekiq datasource (redis) in just one place.

Installation

This project is a rack application that is ready to be deployed.

  git clone [email protected]:tdantas/sidekiq-monitor-tenant-extension.git
  cd sidekiq-monitor-tenant-extension
  bundle install
  
  bundle exec rackup
    or
  passenger start -p 3000 --min-instances 4

Deploy

Ready to deploy using capistrano config/deploy.rb
You must only edit the environment file inside [config/deploy] (https://github.com/tdantas/sidekiq-monitor-tenant-extension/tree/master/config/deploy) folder and create the app/config/config.yml with your sidekiqs machines.

  cap deploy

Configurations

All configurations is placed in app/config/config.yml

config.sample.yml


# local means your local database to persist your authorized users
local:
  url: redis://127.0.0.1:6379/0

# session secret that you must replace
secret: 'super awesome secret key must be placed here, do not forget'

# all sidekiqs that your system have
sidekiqs:
  - 
    name: prolinked-prd
    redis:
      url: redis://127.0.0.1:6379/0
      namespace: prolinkedcare
  - 
    name: mylinkedcare-prd
    redis: 
      url: redis://127.0.0.1:6379/1
      namespace: mylinkedcare
  - 
    name: uid-prd
    redis: 
      url: redis://127.0.0.1:6379/5

New User

  # will ask you for username and password.
  bundle exec rake user:register

TODO

  • (Doing on my rest days) Extract all sidekiq monitor from sidekiq gem. We are decorating the original sidekiq web, whatever changes made in the original could brake our extension.

  • Finalize my extensions tests and publish.

sidekiq-monitor-tenant-extension's People

Contributors

tdantas avatar mtpereira avatar

Stargazers

 avatar Joao Goncalves avatar  avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.