BrightcoveOS / Diamond

1.18k stars 384 forks source link

Added a metric under cpu total "ncores" #834

Closed thardie closed 7 years ago

thardie commented 9 years ago

This records the number of cores on this machine. This is useful if trying to divide any total values by the number of CPU cores to get an actual percentage

jaingaurav commented 9 years ago

Thanks, could you add similar functionality to the psutils code path? Also a unit test for this would be appreciated.

jaingaurav commented 9 years ago

Also please note that Diamond development has moved to python-diamond/Diamond. Please submit your PR there.

kormoc commented 7 years ago

This repo has moved to https://github.com/python-diamond/Diamond

Please open a new pull request there if this issue is not resolved with the current code there.

Thanks!