pmrep: improve metrics collection via extend_indom
commitede27b696192fc95908f50ae25f08360f6f41fcc
authorMarko Myllynen <myllynen@redhat.com>
Wed, 28 Sep 2016 07:46:08 +0000 (28 17:46 +1000)
committerNathan Scott <nathans@redhat.com>
Wed, 28 Sep 2016 07:46:34 +0000 (28 17:46 +1000)
tree961fd476b879178cdbd0823b9fc4a9bcdfdb7696
parent882d38df76a9aa62fbec68aab76d2f80063dfe67
pmrep: improve metrics collection via extend_indom

Switch pmrep to always use extend_indom.  This gives us:
* much shorter time to start up
* ability to report new instances when appropriate (archive/zabbix)
* allows to adjust CSV output a bit, no quotes around empty values
* few unrelated for-loop cleanups as a bonus

Resolves Red Hat BZ #1377464.
qa/1069.out
src/pmrep/pmrep.py