pmrep: handle metrics with no instances
commit044271f02eaf90be4674b902f97ff9c1521dc2ba
authorMarko Myllynen <myllynen@redhat.com>
Fri, 22 Jul 2016 00:21:52 +0000 (22 10:21 +1000)
committerNathan Scott <nathans@redhat.com>
Fri, 22 Jul 2016 00:21:52 +0000 (22 10:21 +1000)
tree98baf8c52d58f28b6acdca2263000c0ba52b29d8
parentf832fff57fd5bc9686f84141bc42560f16e9cbbf
pmrep: handle metrics with no instances

pmfg requires to use extend_indom() with metrics with no current
instances. We allow that so that something like "pmrep proc" works
again. Only the first instance will be reported, that is the same
behavior as with pre-pmfg pmrep.
src/pmrep/pmrep.py