GithubHelp home page GithubHelp logo

popul / appmetrics-dash Goto Github PK

View Code? Open in Web Editor NEW

This project forked from runtimetools/appmetrics-dash

0.0 2.0 0.0 53 KB

A data visualizer that uses " Node Application Metrics" (appmetrics) to monitor and display Node.js application data as a html web application.

License: Apache License 2.0

HTML 90.28% JavaScript 9.72%

appmetrics-dash's Introduction

Node Application Metrics Dashboard

A data visualizer that uses " Node Application Metrics" (appmetrics) to monitor and display Node.js application data as a html web application.

Prerequisites

The Node Application Metrics Dashboard supports all versions of Node.js and io.js supported by 'appmetrics'.

Install

npm install appmetrics-dash-eventloop

Configuration

In order to configure an application to be monitored by appmetrics-dash-eventloop, the following line of code must be added to the application.

var app = require('appmetrics-dash-eventloop').start(config);  

Where the optional config parameter is an options hash as follows:

  • server: A pre-existing http server to use. If not specified one is created.
  • port: The port to use if creating a http server, with default: 3000
  • url: The url for the dashboard, with default: /admin
  • uid: The User ID used to log into the dashboard, with default: 'admin'
  • password: The password used to log into the dashboard, with default 'admin'

This line will do one of 2 things, depending on the monitored application:

  1. If no config is provided, or no server is specified in the config, appmetrics-dash-eventloop will create its own HTTP server (default port 3000).
  2. If a server is provided in the config, appmetrics-dash-eventloop will reuse that server.

Data Visualisation

The data from Node Applicaiton Metrics is visualized in the browser using the following steps:

  1. Run the application you wish to monitor.
  2. Connect to your application via a web browser (default port 3000).
  3. Add the dashboard URL (default '/admin') to the end of the address of the connected application and input the id and password (default: 'admin', 'admin') when prompted.
  4. A set of visual representations such as charts will display realtime and historical data (cpu usage, memory usage and garbage collection data) that has been generated by the application.
  5. You can then select and deselect certain types of information using the Options Menu and clicking Display Selected Information to update the display.

License

The Node Application Metrics Dashboard is licensed using an Apache v2.0 License.

appmetrics-dash's People

Contributors

popul avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.