Improve Readme doc
Showing
1 changed file
with
5 additions
and
4 deletions
... | @@ -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 | ... | ... |
-
Please register or sign in to post a comment