Dashboard for matrics.io
Dashboard for visualize and correlate metrics tracked via metrics.io.
There are few ways you can access the dashboard.
npm install metrics-io-dashboard -g
metrics-io-dashboard -m <mongodb url>
You can deploy dashboard into popular cloud providers in few minutes. First download or clone this repository into your local machine.
mongo-urland configure it with
This repository is a deployable nodejs app and can be deployed as a typical
By default dashboard runs with
basic-auth and can be configured at
But it is recommend to run dashboard behind
You can configure
After that run
start-dashboard.js with nodejs
var express = require'express';var dashboard = require'metrics-io-dashboard';var webapp = express;var MONGO_URL = "mongodb://localhost/test";dashboardlistenMONGO_URL webapp prefix: '/metrics';webapplisten5005;
Inside the Dashboard you can create as many graphs as you need. You can correlate metrics too. (use area chart type)
There is no UI for defining graphs. But we have simple and flexible syntax to define them.
We simply did no use JSON since, it is too heavy for taking user inputs
Here is how you define a graph.
<title for graph> | <graph-type> | <metric-name> | <value-aggregator>, <source-aggregator> | <resolution> | <time-length>
CPU Usage | area | cpu | avg, sum | five_secs | 1000 * 60 * 15
value-aggregator: sum, avg, min, max
source-aggregator: sum, avg, min, max
resolution: five_secs, minute, hour, day