Skip to content
This repository has been archived by the owner on Feb 28, 2020. It is now read-only.

Commit

Permalink
Merge pull request #8 from ibm-developer/amdash
Browse files Browse the repository at this point in the history
add appmetrics dashboard
  • Loading branch information
cvignola committed Sep 20, 2017
2 parents f9e46a6 + 0eedd6a commit 871a0f7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion generators/core/templates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"test": "nyc mocha"
},
"dependencies": {
"appmetrics": "^3.0.1",
"appmetrics-dash": "^3.3.2",
"body-parser": "^1.17.2",
"express": "^4.15.3",
"log4js": "^1.1.1"
Expand Down
2 changes: 1 addition & 1 deletion generators/core/templates/server/server.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require('appmetrics').monitor();
require('appmetrics-dash').attach();
const appName = require('./../package').name;
const express = require('express');
const log4js = require('log4js');
Expand Down
6 changes: 3 additions & 3 deletions test/integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe('core-node-express:app integration test with custom spec', function ()
"test": "nyc mocha"
},
"dependencies": {
"appmetrics": "^3.0.1",
"appmetrics-dash": "^3.3.2",
"body-parser": "^1.17.2",
"express": "^4.15.3",
"log4js": "^1.1.1"
Expand Down Expand Up @@ -144,7 +144,7 @@ describe('core-node-express:app integration test with custom bluemix', function
"test": "nyc mocha"
},
"dependencies": {
"appmetrics": "^3.0.1",
"appmetrics-dash": "^3.3.2",
"body-parser": "^1.17.2",
"express": "^4.15.3",
"log4js": "^1.1.1"
Expand Down Expand Up @@ -223,7 +223,7 @@ describe('core-node-express:app integration test with custom bluemix and spec',
"test": "nyc mocha"
},
"dependencies": {
"appmetrics": "^3.0.1",
"appmetrics-dash": "^3.3.2",
"body-parser": "^1.17.2",
"express": "^4.15.3",
"log4js": "^1.1.1"
Expand Down

0 comments on commit 871a0f7

Please sign in to comment.