We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eda3874 commit 276b424Copy full SHA for 276b424
README.md
@@ -15,13 +15,17 @@ var Falcon = require('node-open-falcon');
15
var falcon = new Falcon({
16
endpoint: os.hostname()
17
});
18
+
19
//
-var usage = process.memoryUsage();
20
-for(var key in usage){
21
- falcon.metric('memory.' + key, usage[key]).end();
22
-}
+setInterval(function(){
+ var usage = process.memoryUsage();
23
+ for(var key in usage){
24
+ falcon.metric('memory.' + key, usage[key]).end();
25
+ }
26
+ falcon.send();
27
-falcon.send();
28
+});
29
```
30
31
### API
package.json
@@ -1,5 +1,5 @@
1
{
2
- "name": "node-open-falcon",
+ "name": "@myfe/open-falcon",
3
"version": "1.0.1",
4
"description": "open-falcon",
5
"main": "index.js",
0 commit comments