HTTP dashboard for Nodejitsu's godot; A port of riemann-dash
$ sudo npm install godot-dash -g$ godot-dash
Then open http://localhost:1338 in a browser.
Use this if you want to just create a dashboard server with minimal ceremony.
Takes an options hash with the following properties:
- mount: Where to mount the dashboard (defaults to
- config: File location for the config file (defaults to ./godot-dash/config.json )
Returns an HTTP server with an extra method,
Usage looks something like this:
var godot = require'godot'dash = require'godot-dash';var dashboard = dashcreateServerregistergodot;godotcreateServertype: 'tcp'reactors:godotreactordashboardlisten1337;dashboardlisten1338;
Register the dashboard reactor with godot, as "dashboard". Returns
Returns a middleware. Options are the same as those of
can use this if you want to add the godot dashboard to an existing middleware
stack without creating a new server.
Returns a reactor constructor. Pass in an http server to attach
engine.io to. You can use this in conjunction with
dash.middleware to add the
dashboard to an existing middleware stack.
In order to use a third-party godot reactor, one must register it with godot by running something like:
var Dashboard = dashreactorserver; // server is an http servergodotreactorregister'dashboard' Dashboard;