Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
dependencies
monitor.js
readme.md

readme.md

Support Donate

Simple monitoring of total.js applications

This module can track behaviour of Total.js application. If your web application contains this module, open website https://monitor.totaljs.com and register your app.

Settings

  • url a relative URL address, default: /$monitor/
  • token a simple security token - default: undefined, this token has to be used as query string in URL address e.g. /$monitor/?token=123456 otherwise framework responds via 404 status.
INSTALL('module', 'https://cdn.totaljs.com/monitor.js', { url: '/$monitor/', token: '123456' });

Installation

1.

  • download the file dependencies
  • add it into your application root like this:
/your-application-directory/config
/your-application-directory/release.js
/your-application-directory/debug.js
/your-application-directory/dependencies

IMPORTANT: the file dependencies contains links to other modules: webcounter for tracking visitors and reqstats for tracking traffic.


2. or (alternative)

  • download the module monitor.js
  • add it into the modules in your application directory
/your-application-directory/modules/monitor.js

IMPORTANT: download other modules too: webcounter (for tracking visitors) and reqstats (for tracking traffic).


3. or (alternative)

  • create some definition file e.g. /definitions/modules.js
  • put into the file below text
// WebCounter module
INSTALL('module', 'https://cdn.totaljs.com/webcounter.js');

// Request stats module
INSTALL('module', 'https://cdn.totaljs.com/reqstats.js');

// Total.js monitoring
INSTALL('module', 'https://cdn.totaljs.com/monitor.js');

What's next?

  • open total.js monitor console https://monitor.totaljs.com
  • add your web application into the console (full hostname with protocol (http/https))

Questions?

Contact me: petersirka@gmail.com