Skip to content

Commit

Permalink
Updating README to reflect new cpu changes. Bumping version (major) a…
Browse files Browse the repository at this point in the history
…s this will break existing datasets
  • Loading branch information
Alan Moran committed May 11, 2016
1 parent edd2d4c commit 20e885b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var session=require("stats-influxdb").newSession({
}
});

session.cpu(); //collect current cpu usage (during next 100ms) and send to influxdb as 'cpu,unit=unit1,project=myProject core1=40,core2=24,core3=1,core4=80'
session.cpu(); //collect current cpu usage (during next 500ms) and send to influxdb as 'cpu,unit=unit1,project=myProject,name=core1,core=40'. Each core is sent separately so data can be aggregated easily.
session.mem(); //collect current mem usage 'mem,unit=unit1,project=myProject used=2000,used_ratio=70'
session.disk("/"); //collect current disk usage 'disk,unit=unit1,project=myProject used=123456,used_ration=20'
session.pidusage(); //collect current pid usage 'process,pid=<pid> mem=<mem in byte>,cpu=<cpu percent>'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stats-influxdb",
"version": "2.1.0",
"version": "3.0.0",
"description": "statistics lib using influxdbudp module",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 20e885b

Please sign in to comment.