virt: Add block info statistics for block devices
authorRadoslaw Jablonski <radoslawx.jablonski@intel.com>
Mon, 25 Jun 2018 12:30:57 +0000 (13:30 +0100)
committerRadoslaw Jablonski <radoslawx.jablonski@intel.com>
Wed, 23 Jan 2019 13:33:31 +0000 (13:33 +0000)
commit04d9e221d31f38d80acfff48c611b1fee5f830f4
tree27daedbaacbaaf39a8328fa49d7645e8375d8dd3
parent68d50bdd34cb005b1ee23ab81abbf34fefdfca41
virt: Add block info statistics for block devices

virDomainBlockInfo statistics are now exposed through virt
plugin as:
-disk_allocation
-disk_capacity
-disk_physical

Those statistics are optional. They can be enabled by adding
corresponding entries to ExtraStats section in virt plugin
configuration in collectd.conf.

New ExtraStats are:
-'disk_allocation'
-'disk_capacity'
-'disk_physical'

Change-Id: I75475eca8b9eb402a894e2ae3c70c8b09b0eed9a
Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
src/collectd.conf.in
src/collectd.conf.pod
src/types.db
src/virt.c