Add extended flag to CPU collector#577
Add extended flag to CPU collector#577scottcunningham wants to merge 4 commits intopython-diamond:masterfrom
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
2bede02
Compare
|
This should be documented and tests updated |
|
@shortdudey123 I've added docs (I ran They seem to be legitimate errors (eg. |
|
Travis shows all tests passing currently so that means you are missing a needed library i your dev environment |
|
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? |
|
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
c810a9a
Compare
|
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. |
|
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)