No description
Find a file
Marc Fournier f1f131a06b remove expired events no longer matching query
Every clock tick, check if the lowest priority item in the priority
queue is in the past, and possibly expire it.

This prevents events from stalling in the dashboard forever when they
don't receive any more updates from riemann because thoses updates don't
match the query used.
2013-12-08 22:22:12 +01:00
bin rename Riemann::Dash -> Riemann::Dash::App + move sinatra app to app.rb 2013-03-11 13:10:19 +02:00
example moving config back to previous location for backward compatibility 2013-03-15 03:24:18 +00:00
lib/riemann remove expired events no longer matching query 2013-12-08 22:22:12 +01:00
sh readme for tests 2013-03-11 13:32:53 +02:00
test moving config back to previous location for backward compatibility 2013-03-15 03:24:18 +00:00
.gitignore moving config back to previous location for backward compatibility 2013-03-15 03:24:18 +00:00
Gemfile moving config back to previous location for backward compatibility 2013-03-15 03:24:18 +00:00
Gemfile.lock Add options to the flot graph to allow building stacked graphs and bar graphs 2013-09-20 11:00:08 -04:00
LICENSE Initial commit: version 0.0.3 2012-02-18 15:22:24 -08:00
Rakefile.rb rake test task 2013-03-11 13:29:21 +02:00
README.markdown s/:host/:bind/ 2013-09-27 10:58:31 -05:00
riemann-dash.gemspec Fix gemspec package name. "Reslike"? 2013-04-16 17:11:29 -07:00

Riemann-Dash

A javascript, websockets-powered dashboard for Riemann.

Get started

    $ gem install riemann-dash
    $ riemann-dash

Then open http://localhost:4567 in a browser. Riemann-dash will connect to the local host (relative to your browser) by default, and show you a small manual.

Configuring

Riemann-dash takes an optional config file, which you can specify as the first command-line argument. If none is given, it looks for a file in the local directory: config.rb. That file can override any configuration options on the Dash class, and hence, all Sinatra configuration.

set :port, 6000      # HTTP server on port 6000
set :bind, "1.2.3.4" # Bind to a different interface
config[:ws_config] = 'custom/config.json' # Specify custom workspace config

Development

$ git clone git://github.com/aphyr/riemann-dash.git
$ cd riemann-dash
$ bundle

Testing

# run tests
$ sh/test

Releasing

$ rake build
$ rake release

REPL

$ sh/c
> irb :001 > Riemann::Dash::VERSION
> => "0.2.2"