798f0645 by Julien Breux

Improve Readme doc

1 parent 10bbaf56
...@@ -23,15 +23,16 @@ Monitor can be configured by passing options object into `expressMonitor` constr ...@@ -23,15 +23,16 @@ Monitor can be configured by passing options object into `expressMonitor` constr
23 23
24 Default config: 24 Default config:
25 ``` 25 ```
26 title: 'Express Status', // Default title
26 path: '/status', 27 path: '/status',
27 spans: [{ 28 spans: [{
28 interval: 1, // Every second 29 interval: 1, // Every second
29 retention: 60 // Keep 60 datapoints in memory 30 retention: 60 // Keep 60 datapoints in memory
30 }, { 31 }, {
31 interval: 5, // Every 5 seconds 32 interval: 5, // Every 5 seconds
32 retention: 60 33 retention: 60
33 }, { 34 }, {
34 interval: 15, // Every 15 seconds 35 interval: 15, // Every 15 seconds
35 retention: 60 36 retention: 60
36 }] 37 }]
37 38
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!