Skip to content

Provides a Sinatra app web interface for monitoring emque-consuming services

License

Notifications You must be signed in to change notification settings

emque/emque-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emque::Web

A simple administration / monitoring app for emque-consuming applications.

Installation

Add this lines to your application's Gemfile:

gem 'emque-web'

# if you require 'sinatra' you get the DSL extended to Object
gem 'sinatra', '~> 1.3', :require => nil

And then execute:

$ bundle

Usage

Add the following to your config/routes.rb:

require "emque/web"
mount Emque::Web => "/emque"

Then configure it to point at the status address for your emque-consuming app(s)

# config/initializers/emque_web.rb
require "emque/web"

Emque::Web.configure do
  config.sources = ["localhost:9292", "localhost:10000"]
  # ...
end

Authentication

Basic auth (via Rack::Auth::Basic) is included, but turned off by default. You can enable it in your initializer:

# config/initializers/emque_web.rb
require "emque/web"

Emque::Web.configure do
  # ...
  config.authentication = true
  # defaults shown, please change them
  config.username = ""
  config.password = "password"
  # ...
end

Contributing

  1. Fork it ( https://github.com/[my-github-username]/emque-web/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

Provides a Sinatra app web interface for monitoring emque-consuming services

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •