virt plugin: Add physical cpu reporting
authorFrancesco Romani <fromani@redhat.com>
Mon, 9 Jan 2017 11:31:17 +0000 (12:31 +0100)
committerFrancesco Romani <fromani@redhat.com>
Tue, 14 Feb 2017 14:30:19 +0000 (15:30 +0100)
commitc7f23810d1f09f45cb4016da6eca6021d56bb0f7
treeff510db22ddd0137d4ae7d24ed2b7b16fc311702
parent9a34b411b95a342e7e964578db8feb252e53fd84
virt plugin: Add physical cpu reporting

Add a metric to report physical cpu consumed by the hypervisor,
split per user/system time. This is provided by libvirt since version
0.9.11, and used by oVirt.

We also extend the newly-added 'ExtraStats' option to allow
users to toggle on/off the new metric. Default is off.

Signed-off-by: Francesco Romani <fromani@redhat.com>
src/collectd.conf.in
src/collectd.conf.pod
src/virt.c