Files
weave-scope/client
David Kaltschmidt 7d73590ced Enable metric feeder also for health overflow items
* tried activating it for child tables too, but that became quite CPU
  intensive, and feed intervals became out of sync (host CPU < container
  CPU, which is hard to believe)
2016-02-04 17:17:11 +01:00
..
2015-12-16 13:45:37 +01:00
2015-12-10 12:52:44 +00:00
2016-01-19 16:47:05 +01:00

Scope UI

Getting Started

  • Setup: npm install
  • Build: npm run build, output will be in build/
  • Develop: npm start and then open http://localhost:4042/

To see a topology, ../app/app needs to be running, as well as a probe.

Coding

This directory has a .eslintrc, make sure your editor supports linter hints. To run a linter, you also run npm run lint.

Logging

The Scope UI uses debug for logging, e.g.,:

const debug = require('debug')('scope:app-store');
debug('Store log message');

To enable logging in the console, activate it via localStorage in the dev tools console:

localStorage["debug"] = "scope:*"