New updated changes
Showing
1 changed file
with
3 additions
and
3 deletions
... | @@ -3,10 +3,10 @@ A module based on Socket.io and Chart.js to report realtime server metrics for E | ... | @@ -3,10 +3,10 @@ A module based on Socket.io and Chart.js to report realtime server metrics for E |
3 | 3 | ||
4 |  | 4 |  |
5 | 5 | ||
6 | ## How to use it (in progress) | 6 | ## Installation & setup |
7 | 1. Add this as a dependency (will be on NPM soon) | 7 | 1. Run `npm install express-status-monitor --save` |
8 | 2. Before any other middleware or router add following line: | 8 | 2. Before any other middleware or router add following line: |
9 | `app.use(expressMonitor());` | 9 | `app.use(require('express-status-monitor')());` |
10 | 3. Run server and to go `/status` | 10 | 3. Run server and to go `/status` |
11 | 11 | ||
12 | ## Options | 12 | ## Options | ... | ... |
-
Please register or sign in to post a comment