Uh oh!
There was an error while loading. Please reload this page.
Add extended flag to CPU collector - #577
Conversation
This allows us to produce both simple and complex metrics - this way, simple metrics can be aggregated, but we still have the option to drill-down into per-host metrics in situations that require them (eg. checking steal on an individual VM)
1de5dd5 to
2bede02Comparecoveralls
commented
Jan 13, 2017
shortdudey123
commented
Jan 13, 2017
This should be documented and tests updated |
coveralls
commented
Jan 16, 2017
scottcunningham
commented
Jan 16, 2017
@shortdudey123 I've added docs (I ran They seem to be legitimate errors (eg. |
shortdudey123
commented
Jan 16, 2017
Travis shows all tests passing currently so that means you are missing a needed library i your dev environment |
scottcunningham
commented
Jan 16, 2017
Thanks @shortdudey123, will give it a go tomorrow and hopefully return with some tests! Are there any docs about this, or general dev setup, or a CONTRIBUTING.md with details about requirements for PRs? I couldn't find any when I looked but I might be missing something obvious. If not, I'm more than happy to contribute docs or instructions. Should I open a new issue for this? |
shortdudey123
commented
Jan 16, 2017
There really only is 1 doc file for development and it isn't too large: A while back i added a vagrant box that does most of the setup and testing: |
dc29a53 to
c810a9aComparecoveralls
commented
Jan 17, 2017
coveralls
commented
Jan 17, 2017
scottcunningham
commented
Jan 17, 2017
Thanks for the info @shortdudey123. I've added tests for the extended flag, and also the simple flag (since I needed something to base the extended flag tests on and there were none). Not sure why coveralls think the coverage has decreased so drastically, I'll take a look at that. |
kormoc
commented
Jan 21, 2017
Would it make more sense to add two new flags:
and having simple be an alias for aggregate true and individual false? |
This allows us to produce both simple and complex metrics - this way, simple metrics can be aggregated, but we still have the option to drill-down into per-host metrics in situations that require them (eg. checking steal on an individual VM)