Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve massive CPU metrics #116

Merged
merged 1 commit into from
Aug 16, 2016

Conversation

marminthibaut
Copy link
Member

Should resolve the #112

@marminthibaut marminthibaut added this to the 1.0.0-rc3 milestone Aug 5, 2016
@marminthibaut marminthibaut self-assigned this Aug 5, 2016
@codecov-io
Copy link

codecov-io commented Aug 5, 2016

Current coverage is 62.81% (diff: 100%)

Merging #116 into develop will increase coverage by 0.21%

@@            develop       #116   diff @@
==========================================
  Files             7          7          
  Lines           508        511     +3   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits            318        321     +3   
  Misses          183        183          
  Partials          7          7          

Powered by Codecov. Last update eba8d78...96e1888

@marminthibaut marminthibaut merged commit 2cd7a63 into Ingensi:develop Aug 16, 2016
@marminthibaut marminthibaut deleted the massive-cpu branch August 16, 2016 12:15
// value is the count of CPU nanosecond in 1sec
// TODO save the old stat timestamp and reuse here in case of docker read time changes...
// 1s = 1000000000 ns
// value / 1000000000

value := int64(oldValue - newValue)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@marminthibaut Are you sure it's oldValue- newValue and not the inverse?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants